Skip to content

erp5_xhtml_style: CKEditor – Fix duplicate image on paste

Titouan Soulard requested to merge tsoulard/erp5:for-mr-pigeon into master

When pasting an image in CKEditor, the image was displayed twice. This behaviour is due to the new paste-as-base64 implemented in CKE, which conflict with existing plugins implementing the same feature.

To solve it, add option clipboard_handleImages to the CKE configuration object, which disables its own image-pasting feature.

/cc @jerome @romain

Merge request reports