Skip to content
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

Created custom splice method to deal with very big number of elements #12427

Closed

Conversation

DawidKossowski
Copy link
Contributor

@DawidKossowski DawidKossowski commented Sep 7, 2022

Suggested merge commit message (convention)

Fix (engine): Fixed editor throwing Maximum call stack size exceeded error when huge number of nodes were inserted at once into an element. Closes #12428.


Additional information

Generally, the editor crashes with error "Maximum call stack size exceeded" when there are at least 200 000 elements in one paragraph and someone opens the revision history feature. This issue has been solved, however, there is still situation when browser crashes because of large content (like 1-2 mln of chars in one paragraph) and this issue cannot be fix on our side.

…totype.splice, to deal with very big number of elements
@DawidKossowski DawidKossowski deleted the ck/4595-crash-after-inserting-milion-characters branch September 7, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array.splice causes editor to crash
1 participant