Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate imagerotate plugin, problem with safe_html removing data:base64 elements #59

Open
gbastien opened this issue Mar 31, 2021 · 0 comments

Comments

@gbastien
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant