You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pressing Enter in that text node causes an infinite loop.
lexical-list-item-issue.mp4
On Firefox the page freezes indefinitely. On Chrome, it throws this error after a while of freezing:
The expected behavior
It should correctly split the item (or create a new item if pressed Enter at the end)
Impact of fix
This makes it effectively impossible to add something new to the document if the list item is at the end of the document. Even if it is not at the end of the document, this makes the document uneditable until you refresh the page.
Lexical version: 0.18.0 and above
Steps To Reproduce
selection.insertParagraph()from that text node)Link to code example: https://playground.lexical.dev
The current behavior
Pressing Enter in that text node causes an infinite loop.
lexical-list-item-issue.mp4
On Firefox the page freezes indefinitely. On Chrome, it throws this error after a while of freezing:
The expected behavior
It should correctly split the item (or create a new item if pressed Enter at the end)
Impact of fix
This makes it effectively impossible to add something new to the document if the list item is at the end of the document. Even if it is not at the end of the document, this makes the document uneditable until you refresh the page.