craftcms / ckeditor

Edit rich text content in Craft CMS using CKEditor.
https://plugins.craftcms.com/ckeditor
GNU General Public License v3.0
47 stars 24 forks source link

Very poor performance when field is present multiple times. #77

Open mikesnoeren opened 1 year ago

mikesnoeren commented 1 year ago

We have a matrix field with 10 options that our client can use to build their content. Some of those layers make use of the new CKEditor field. While testing, I found that having more than 5 CKEditor fields in your entry takes a big performance hit on the editors browser.

Adding new fields, resizing the browser or editing content within any type of field takes multiple seconds and the fans on my MBP kick in instantly. I have attached a video below where you can see the bad performance when resizing, adding and deleting fields.. This site in the video below is not hosted locally.

https://user-images.githubusercontent.com/52166423/233072816-d8a670fa-fd42-4e54-9db7-9c79fff6557a.mp4

If you need any other information, please let me know.

brandonkelly commented 1 year ago

Have you updated to 3.1.0 yet? That will disable any CKEditor plugins that aren’t necessary give the toolbar configuration.

mikesnoeren commented 1 year ago

In my video I was running on 3.1.0, yes.

It looks like the bad performance builds up after editing content on the page (using live preview) for a while, as closing and re-opening the entry makes it perform good again, but then when editing content for a while it seems to gets slower and slower again..