editor.js
editor.js copied to clipboard
Can not find a Block from this child Node
Hi guys, sometimes I get this error:
core.js:14597 ERROR Error: Can not find a Block from this child Node
at e.value (editor.js:12)
at e.value (editor.js:22)
at HTMLDocument.<anonymous> (editor.js:22)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:16147)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
at invokeTask (zone.js:1744)
at HTMLDocument.globalZoneAwareCaptureCallback (zone.js:1802)
I don't understand how avoid it.
Thank you
Hi again guys, I change something in my code and error disappeared. Sorry for the lack of information :(
Looks like the bug is resolved in this PR?
I do get this error on https://tinynodes-ngx.firebaseapp.com/ngx-editorjs-demo/angular-form
I can reproduce it by clearing a form and then calling save, if the editor was not focused it throws this. Focus the editor and it fixes the issue.
Could this be fixed for the next release @khaydarov @neSpecc?
@tanepiper yes, release is coming in next few days.