liferay / liferay-ckeditor

Other
8 stars 49 forks source link

fix: use CKEditor's `editable` to sync content between editor and dialogs #159

Closed julien closed 3 years ago

julien commented 3 years ago

By using the editable function, we make sure the editor's content is not lost when switching from wysiwyg to source mode, and when opening the "preview" dialog.

Before

After

julien commented 3 years ago

@wincent thanks!

While I'm at it, since I'm going to prepare a release, I might have a look at #157 and see if I can do something about it (or at least think about what we should do)