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

Changes made in source mode not saved #34

Closed jean-gui closed 1 year ago

jean-gui commented 2 years ago

Description

If we make changes to a ckeditor field in source mode and immediately save the entry, those changes are not taken into account. For changes to be taken into account it's necessary to switch back to WYSIWYG and then save.

Steps to reproduce

  1. edit or create an entry
  2. switch a ckeditor field to source mode
  3. make changes to the field
  4. save

=> Changes are lost

Additional info

I've made a small video showing the behaviour:

https://user-images.githubusercontent.com/1479073/145244737-8e373f46-e990-441e-95cc-f013f19b5f0d.mp4

i-just commented 1 year ago

Hi, thanks for reporting and for the video! I’ve created a PR to fix this.

brandonkelly commented 1 year ago

CKEditor 1.5.0 (Craft 3) and 2.2.0 (Craft 4) are out now with the fix for this. Thanks again!