Skip to content

Page freezes when pasting/loading certain special characters into CK Editor 5 #8054

Closed
@LangQian

Description

  1. Use the example file attached in comment 3
  2. Copy and past it into CK Editor 5.

✔️ Expected result

  1. The paste finishes in seconds, not minutes, and it shouldn't freeze the whole RTE/page during this procedure.
  2. 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.

Metadata

Assignees

Labels

squad:coreIssue to be handled by the Core team.type:bugThis issue reports a buggy (incorrect) behavior.type:performanceThis issue reports a performance issue or a possible performance improvement.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions