ckeditor/ckeditor5-vue

Performance issues in processing content with multiple paragraphs containing multiple inline widgets

Opened this issue · 2 comments

mabryl commented

This issue is related to this one that was reported previously.

Unfortunately, when the content is more complex than the one used in the example in the issue linked above, performance still suffers, even when two-way data binding is disabled.

The increased complexity of the content refers to the fact that now we're dealing with multiple paragraphs containing multiple inline widgets instead of a one long paragraph with numerous widgets.

A vanillaJS implementation of the editor seems to handle this type of content better than our Vue implementation.

In the attachments you can see the two implementations and compare their performance.

To open the vanilla project, open the index.html file.

To open the Vue project, install deps yarn install, and spin up the dev server yarn serve.

vanilla.zip
vue.zip

pomek commented

Internal notes

  • Moving to Needs verification because it might be already solved by disabling 2way data binding.
  • Please, check if passing the disableTwoWayBinding=true option helps.

Is there any progress at all?