facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
19.95k stars 1.7k forks source link

[lexical-link] Test: Appending inline element nodes to ListNode #6826

Closed Shopiley closed 2 days ago

Shopiley commented 1 week ago

Description

Unit test for the recently updated ListNode.append() method, to verify that inline nodes (such as LinkNode) are wrapped in a ListItemNode without being converted to TextNode.

Test Plan

Test: Adds a test case to append a LinkNode to a ListNode:

Assertions:

Closes #6815

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2024 0:27am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2024 0:27am
github-actions[bot] commented 1 week ago

size-limit report 📦

Path Size
lexical - cjs 30.85 KB (0%)
lexical - esm 30.73 KB (0%)
@lexical/rich-text - cjs 39.58 KB (0%)
@lexical/rich-text - esm 32.67 KB (0%)
@lexical/plain-text - cjs 38.22 KB (0%)
@lexical/plain-text - esm 29.93 KB (0%)
@lexical/react - cjs 41.35 KB (0%)
@lexical/react - esm 34.03 KB (0%)