Describe a bug.
Steps to reproduce:
onChange: () => {
throw new Error();
}
Modify anywhere and dispatch onChange.
Throws an exception.
onChange can't be dispatched next time.
Expected behavior:
onChange is dispatched after onChange callback throws an exception
Editor.js version: 2.18.0
It seems that modificationObserver is disabled after onChange callback throws an exception.
It can be resolved by using try {} finally {} sentence.
I've followed these steps and couldn't reproduce a problem: error triggered in every changing

Error should be in the save method to reproduce
Most helpful comment
I've followed these steps and couldn't reproduce a problem: error triggered in every changing
