Page freezes when pasting/loading certain special characters into CK Editor 5 #8054
Closed
Description
- Use the example file attached in comment 3
- Copy and past it into CK Editor 5.
✔️ Expected result
- The paste finishes in seconds, not minutes, and it shouldn't freeze the whole RTE/page during this procedure.
- It would be nice to have a progress bar during this procedure.
❌ Actual result
The page becomes unresponsive, and it took several minutes to finish paste.
📃 Other details
-
The above issue is reproducible here: https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html. The test data I used was around 400KB and it took 4 mins to finish.
-
It also happens when loading the example file into CK Editor 5.
-
According the the discussions below, this issue should result from certain special characters, so theoretically, it also might occur with a small amount of texts.