Closed potatowagon closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
lexical | ❌ Failed (Inspect) | Apr 5, 2024 10:49am | ||
lexical-playground | ❌ Failed (Inspect) | Apr 5, 2024 10:49am |
<ol>
<li>
1
<div>
2
</div>
3
</li>
<li>
A
<div>
B
</div>
3
</li>
</ol>
draft only
see issue #4465
test case:
https://github.com/facebook/lexical/assets/19604232/29addc46-ce88-4477-b8e7-30209ad481f5
This will break nested block nodes like list nodes, because we are flattening them
fixed in commit a1f17f6db537f24146fbd53bb4eaf9ef72158fed which only limits the unnesting to block nodes in para nodes
test case
in codepen:
in lexical:
after a1f17f6db537f24146fbd53bb4eaf9ef72158fed fix
table in a div
test case:
codepen:
lexical:
handle divs in li