Skip to content

Can't set value by value prop #200

@pisacode

Description

@pisacode

Environment

  • react-editor-js version:2.24.3

Describe

When setting value editor throws an error => this._editorJS.render is not a function at ClientEditorCore.<anonymous>

I also tried added via data prop but the value is not passing by that either.

<ReactEditorJS
        tools={EDITOR_JS_TOOLS}
        readOnly={isReadOnly}
        onInitialize={handleInitialize}
        enableReInitialize
        value={editorCore.current ? content : null}
      />

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions