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

Unable to toggle readonly on 2.1.0 #229

Open
Jtfinlay opened this issue Mar 17, 2023 · 0 comments
Open

Unable to toggle readonly on 2.1.0 #229

Jtfinlay opened this issue Mar 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Jtfinlay
Copy link

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 Jtfinlay added the bug Something isn't working label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant