Skip to content

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

@gbastien

Description

@gbastien

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions