Hi @gotcha
I am working on integrating https://ckeditor.com/cke4/addon/imagerotate
There is an issue with safe_html because imagerotate will store image as data:base64 and it is stripped...
I wonder, here in safe_html : https://github.com/plone/Products.PortalTransforms/blob/master/Products/PortalTransforms/transforms/safe_html.py#L40
Would it make sense to only remove data:text elements instead data: so data:image elements would be kept?
See you,
Gauthier
Hi @gotcha
I am working on integrating https://ckeditor.com/cke4/addon/imagerotate
There is an issue with safe_html because imagerotate will store image as data:base64 and it is stripped...
I wonder, here in safe_html : https://github.com/plone/Products.PortalTransforms/blob/master/Products/PortalTransforms/transforms/safe_html.py#L40
Would it make sense to only remove
data:textelements insteaddata:sodata:imageelements would be kept?See you,
Gauthier