We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On version 2.23.1 when we create a new EditorJs instance with readOnly: true the editor crashes with the following error:
readOnly: true
Cannot read properties of undefined (reading 'destroy')
This crash does not happen on v2.23.0
Steps to reproduce:
@editorjs/editorjs
I've created a reproducable example in codesandbox where you can toggle between readOnly true/false: https://codesandbox.io/s/editorjs-readonly-crash-myw3o?file=/src/App.js
When readOnly is toggled to true you can observe the crash.
NOTE: This crash does not happen on v2.23.0
Expected behavior: Not crashing
Screenshots:
Device, Browser, OS: Chrome Version 98.0.4758.80 (Official Build) (arm64)
Editor.js version: 2.23.1
Plugins you use with their versions: None
The text was updated successfully, but these errors were encountered:
fix(readonly): fix readonly property
76c1403
Resolves #1968
fix(readonly): crash with readonly property (#1969)
640b1a2
* fix(readonly): fix readonly property Resolves #1968 * changelog added * Update CHANGELOG.md
Sorry. Fix was shipped with 2.23.2
Sorry, something went wrong.
@neSpecc Hello, I have the same error on 2.23.0-rc.2, it seems the fix wasn't applied on that branch can you please check?
2.23.0-rc.2
neSpecc
Successfully merging a pull request may close this issue.
On version 2.23.1 when we create a new EditorJs instance with
readOnly: true
the editor crashes with the following error:This crash does not happen on v2.23.0
Steps to reproduce:
@editorjs/editorjs
I've created a reproducable example in codesandbox where you can toggle between readOnly true/false:
https://codesandbox.io/s/editorjs-readonly-crash-myw3o?file=/src/App.js
When readOnly is toggled to true you can observe the crash.
NOTE: This crash does not happen on v2.23.0
Expected behavior:
Not crashing
Screenshots:
Device, Browser, OS:
Chrome Version 98.0.4758.80 (Official Build) (arm64)
Editor.js version:
2.23.1
Plugins you use with their versions:
None
The text was updated successfully, but these errors were encountered: