Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can not find a Block from this child Node #761

Closed
aromero86 opened this issue May 8, 2019 · 3 comments
Closed

Can not find a Block from this child Node #761

aromero86 opened this issue May 8, 2019 · 3 comments
Assignees
Labels

Comments

@aromero86
Copy link

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

@aromero86
Copy link
Author

Hi again guys, I change something in my code and error disappeared. Sorry for the lack of information :(

@tanepiper
Copy link

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?

@neSpecc
Copy link
Member

neSpecc commented Jun 5, 2019

@tanepiper yes, release is coming in next few days.

@neSpecc neSpecc closed this as completed Jun 12, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants