ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.78k stars 2.46k forks source link

SimpleBox (Custom Widget) — anchors and iframes are replaced with transparent images after changing widget content #5356

Open ivbstudio opened 1 year ago

ivbstudio commented 1 year ago

Tested right here: https://ckeditor.com/docs/ckeditor4/latest/examples/simplebox.html

Steps to reproduce:

  1. Add anchor to text изображение

  2. Change widget title изображение

  3. Open source mode. Now anchor is converted to transparent image. изображение

  4. And there is no anchor more изображение

Same situation with iframes.

KarolDawidziuk commented 1 year ago

Hi, @ivbstudio and thank you for the report.

I can confirm this issue.

ivbstudio commented 1 year ago

Thank you, @KarolDawidziuk I also found one more detail. If, after changing the content of the widget, you put the cursor in another place (for example, in a paragraph), then open the source code mode, then this error does not occur.