Skip to content

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

@lwelcom

Description

@lwelcom

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions