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

2.0.6 is breaking things working on 2.0.5 ( error with read only and focusing ) #198

Open
StitiFatah opened this issue May 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@StitiFatah
Copy link

StitiFatah commented May 14, 2022

Environment

  • @editorjs/editorjs version: 2.24.3
  • react-editor-js version: 2.0.6
  • react 18.0.0
  • next : 12.1.5

Describe

Hi,

as per the example naming editorCore.current.focus(); throws editorCore.current.focus is not a function

and

editorCore.current.readOnly.toggle(); throws Cannot read properties of undefined (reading 'toggle')

Both are working fine with 2.0.5 and same React/NextJS and editorjs version

@StitiFatah StitiFatah added the bug Something isn't working label May 14, 2022
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