calumk/editorjs-columns

Toggle readonly error

yswang0927 opened this issue · 2 comments

Toggle readonly state occurs error:

Edit mode -> Readonly mode is ok
Readonly mode -> Edit mode is error:

Saving failed due to the Error Error: Editor's content can not be saved in read-only mode
    at o.value (editorjs@latest:8:122627)
    at t.save (editorjs@latest:8:122742)
    at EditorJsColumns.save (editorjs-columns.js:283:49)
    at S.<anonymous> (editorjs@latest:8:46865)
    at l (editorjs@latest:8:97116)
    at Generator._invoke (editorjs@latest:8:96869)
    at Generator.forEach.t.<computed> [as next] (editorjs@latest:8:97473)
    at n (editorjs@latest:8:21104)
    at s (editorjs@latest:8:21315)
    at editorjs@latest:8:21374 %o

Thanks,

Should now be fixed

8022942

@calumk Thanks, I test the latest code, it's ok o( ̄︶ ̄)o