- Issue created by @kruser
Very strange behavior the drag handler is getting saved with the content. When I add an image and click to view source the drag handler code is added around the image. If I delete that extra code it comes right back when I save or switch back to source.
Drupal 10.4.1
I start with this...
<img alt="" class="img-fluid cke_widget_element" data-widget="image" src="/sites/default/files/flmngr/thesactualphoto.png">
it adds this in CKeditor...
<p><span aria-label=" image widget" contenteditable="false" role="region" tabindex="-1"><span aria-label=" image widget" contenteditable="false" role="region" tabindex="-1"><span tabindex="-1" contenteditable="false" class="cke_widget_wrapper cke_widget_inline cke_widget_image cke_image_nocaption" role="region" aria-label=" image widget"><img alt="" class="img-fluid cke_widget_element" data-widget="image" src="/sites/default/files/flmngr/thesactualphoto.png"><span class="cke_reset cke_widget_drag_handler_container" style="background:rgba(220,220,220,0.5);background-image:url(/modules/contrib/ckeditor/vendor/plugins/widget/images/handle.png);display:none;"><img class="cke_reset cke_widget_drag_handler" src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==" width="15" title="Click and drag to move" height="15" role="presentation" draggable="true"></span><span class="cke_image_resizer" title="Click and drag to resize"></span></span><span></span><span title="Click and drag to resize"></span></span><span><span aria-label=" image widget" contenteditable="false" role="region" tabindex="-1"><span></span><span title="Click and drag to resize"></span></span></span><span title="Click and drag to resize"></span></span></p>
Active
2.77
Code