react-editor-js icon indicating copy to clipboard operation
react-editor-js copied to clipboard

Unable to toggle readonly on 2.1.0

Open Jtfinlay opened this issue 2 years ago • 1 comments

Environment

  • @editorjs/editorjs version: 2.26.5
  • react-editor-js version: 2.1.0

Describe

I am unable to toggle readonly on 2.1.0. In this codesandbox I have tried to:

  • change the input readOnly param
  • using editorJsRef.current.readOnly.toggle(), but the editorJsRef.current.readOnly is undefined

Looking for any help here, thank you!

Jtfinlay avatar Mar 17 '23 03:03 Jtfinlay