Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: parseEditorState: type "heading" + not found #63

Open
lwelcom opened this issue Oct 18, 2023 · 0 comments
Open

Error: parseEditorState: type "heading" + not found #63

lwelcom opened this issue Oct 18, 2023 · 0 comments

Comments

@lwelcom
Copy link

lwelcom commented Oct 18, 2023

Describe the bug
Error: parseEditorState: type "heading" + not found

const state = '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"color: #000000;background-color: #ffffff;","text":"333888","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h1"}],"direction":null,"format":"","indent":0,"type":"root","version":1}}'
 const newEditorState = newEditor.parseEditorState(state);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant