Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
a1671b6
[lexical][lexical-html] Feature: Parameterize createDOM/updateDOM/exp…
etrepum Sep 28, 2025
148c158
[WIP][lexical][lexical-html] Feature: Extensible DOM create/update/ex…
etrepum Sep 29, 2025
6c73d89
WIP
etrepum Oct 1, 2025
f6e049d
WIP
etrepum Oct 1, 2025
375b58b
WIP
etrepum Oct 2, 2025
ddfd1a5
update-packages
etrepum Oct 2, 2025
ee8a2c8
add extension to @lexical/html
etrepum Oct 2, 2025
b3414dd
WIP
etrepum Oct 2, 2025
f3d97f9
hook into clipboard export
etrepum Oct 3, 2025
24485af
add some DOMExtension create/update/export tests
etrepum Oct 3, 2025
da2de65
add some DOMExtension create/update/export tests
etrepum Oct 3, 2025
038bc20
$prefixes and more hooks
etrepum Oct 3, 2025
e7fdfc9
use after only if necessary
etrepum Oct 4, 2025
dc45923
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 6, 2025
c70706c
$getDOMSlot
etrepum Oct 6, 2025
157e70a
$getDOMSlot
etrepum Oct 6, 2025
5821b51
pass editor to getEditorState().read()
etrepum Oct 6, 2025
c01d2bb
Add another hint to the getActiveEditor invariant
etrepum Oct 6, 2025
b1ca967
tsc compliance
etrepum Oct 7, 2025
aacbc2f
WIP import
etrepum Oct 7, 2025
200d0c3
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 7, 2025
43f6958
modularize lexical-html source
etrepum Oct 7, 2025
d48f946
more import madness
etrepum Oct 8, 2025
9bb0542
more tests (one failing)
etrepum Oct 8, 2025
9ad6b0d
unify createNodesFromDOM
etrepum Oct 8, 2025
51f4c87
debug test case, there is still too much nesting
etrepum Oct 8, 2025
193eb71
add a simpler failing case
etrepum Oct 8, 2025
8b3558c
$wrapContinuousInlinesInPlace
etrepum Oct 8, 2025
012f7a9
debug $unwrapArtificialNodes
etrepum Oct 9, 2025
5152790
fix unwrap
etrepum Oct 9, 2025
cf5474d
make legacy support optional
etrepum Oct 9, 2025
fa33e9f
prototype import without legacy
etrepum Oct 10, 2025
2df0682
ContextRecord refactor
etrepum Oct 13, 2025
0124dd7
WIP
etrepum Oct 13, 2025
315cc2a
refine export example
etrepum Oct 15, 2025
ff9a8f0
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 15, 2025
4ef40d1
fix annotations
etrepum Oct 15, 2025
6b382c8
fix merge
etrepum Oct 15, 2025
620779f
list importers
etrepum Oct 15, 2025
6693209
Proactive wrapping
etrepum Oct 15, 2025
779b52a
fix $unwrapArtificialNodes
etrepum Oct 16, 2025
03ffe8c
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 19, 2025
05cc1d0
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 21, 2025
951e304
render compilation
etrepum Oct 24, 2025
c346feb
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 24, 2025
e48b190
more render testing
etrepum Oct 24, 2025
e1db3c7
ContextRecord refactoring
etrepum Oct 24, 2025
e81b6ca
more refactoring
etrepum Oct 25, 2025
5135fab
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 25, 2025
a9d48af
Change pair API to contextValue
etrepum Oct 25, 2025
7dd4c4b
$applyTextFormatsFromContext
etrepum Oct 25, 2025
f7cc543
more import refactor
etrepum Oct 26, 2025
5fef8e4
Merge remote-tracking branch 'origin/main' into extensible-dom-export
etrepum Oct 26, 2025
6ce7320
move finalizers to context
etrepum Oct 26, 2025
88645e3
cleanup DOMImportNext
etrepum Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions examples/dev-node-state-style/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# DEV Node State Style example

Here we have an example that demonstrates how NodeState can be used with a
DOMRenderExtension to override create and export behavior of any node.

This example currently depends on unreleased features (v0.37+) and will not
work outside of the monorepo.

**Run it locally:** `npm i && npm run dev`

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/facebook/lexical/tree/main?file=examples/dev-node-state-style/src/main.tsx&startCommand=npm%20run%20start:example%20dev-node-state-style)

[![Open in StackBlitz-PR](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/etrepum/lexical/tree/extensible-dom-export?file=examples/dev-node-state-style/src/main.tsx&startCommand=npm%20run%20start:example%20dev-node-state-style)
12 changes: 12 additions & 0 deletions examples/dev-node-state-style/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lexical Node State Example</title>
</head>
<body>
<div id="root"></div>
<script src="/src/main.tsx" type="module"></script>
</body>
</html>
Loading