-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
renderFromHTML is not awaiting clear() method #2575
Labels
Comments
Hey @mrigne, Does this fix the issue for you in the following situation ->
I've been testing this one locally and I believe the issue stems further than this function. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
renderFromHTML is not awaiting clear() method.
So rendering is started during async clear execution that can cause incorrect results.
Steps to reproduce:
await this.api.renderFromHTML(<some_big_html>);
Expected behavior:
Internal logic should await clear() method before star rendering blocks
Device, Browser, OS: any
Editor.js version: 2.28.2
The text was updated successfully, but these errors were encountered: