We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
I've followed these steps and couldn't reproduce a problem: error triggered in every changing
Sorry, something went wrong.
Error should be in the save method to reproduce
No branches or pull requests
Describe a bug.
Steps to reproduce:
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.
The text was updated successfully, but these errors were encountered: