-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bug: TabNode does not support setMode when parsing state #7030
Copy link
Copy link
Closed
Description
Lexical version: 0.23.0
Steps To Reproduce
Easiest way:
- Go to https://playground.lexical.dev
- Add a
TabNodeby pressing tab. - Download the state
- Upload the downloaded state
- Check the console:
Uncaught Error: TabNode does not support setMode
at TabNode.setMode (main-CzNdJir7.js:48:2776)
at TabNode.updateFromJSON (main-CzNdJir7.js:46:5856)
at TabNode.importJSON (main-CzNdJir7.js:48:2502)
at $parseSerializedNodeImpl (main-CzNdJir7.js:51:29484)
at $parseSerializedNodeImpl (main-CzNdJir7.js:51:29599)
at $parseSerializedNodeImpl (main-CzNdJir7.js:51:29599)
at parseEditorState (main-CzNdJir7.js:51:30019)
at LexicalEditor.parseEditorState (main-CzNdJir7.js:51:59785)
at editorStateFromSerializedDocument (main-CzNdJir7.js:74:7631)
at main-CzNdJir7.js:74:7730
Looks to be related to this change #6970
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels