Skip to content

Custom HTML Tag stripped #225

@albanotoskasf

Description

@albanotoskasf

Hello, I noticed some custom html tags gets stripped automatically when switching editor style from text to visual. I am using SmartFrame embeds in classic editor and they look something like this:
<script async src="https://static.smartframe.io/embed.js"></script><smartframe-embed customer-id="customer_id" image-id="image_ id" style="width: 100%; display: inline-flex; aspect-ratio: 2560/1706; max-width: 2560px;"></smartframe-embed><!-- https://smartframe.io/embedding-support -->
When I switch from text to visual it will automatically strip . One solution I found was hooking into tiny_mce_before_init and works fine, but would you be able to implement this globally into the plugin? Thank you very much!

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