You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do a quick search and make sure the bug has not been reported yet.
Please disclose security vulnerabilities privately at oss@kommit.co.
Finally, be nice and have fun!.
Description
When using multiple editorjs on a single page, when changing the readonly setting of some editors, an error is returned saying that it cannot be saved in read-only mode.
Environment
Editor.js version: 2.26.5
Plugins you use with their versions: 2.0.20
Device, Browser, OS:
Current behavior
The operation is find, but the error is reported in the console.
Editor.js:2Uncaught(inpromise)Error: Editor's content can not be saved in read-only mode
at n.value (editor.js:2:1)
at e.save (editor.js:2:1)
at Undo.registerChange (index.js:128:1)
at index.js:54:1
at Observer.<anonymous> (observer.js:21:1)
at observer.js:87:1
Expected behavior
Check the editor's read mode and do not request save in read mode.
Additional context
The text was updated successfully, but these errors were encountered:
Precheck
Description
When using multiple editorjs on a single page, when changing the readonly setting of some editors, an error is returned saying that it cannot be saved in read-only mode.
Environment
Current behavior
The operation is find, but the error is reported in the console.
Expected behavior
Check the editor's read mode and do not request save in read mode.
Additional context
The text was updated successfully, but these errors were encountered: