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

Pasting an iframe without it being wrapped in a figure element. #1447

Open
Eduardo-XavierPaula opened this issue Sep 9, 2024 · 2 comments
Open
Labels
Milestone

Comments

@Eduardo-XavierPaula
Copy link

When I paste an iframe directly into the code view and switch back to the preview, the iframe's HTML gets wrapped inside a div and a figure element. The issue is that some of my clients have customized code for the iframe, and when it gets wrapped inside a figure, the layout breaks. Without the figure element, everything would work fine.

Is there a way to paste an iframe into the code view without it being automatically wrapped in figure and div elements? I tried exploring the configuration options on the site and looking into some old issues, but I couldn't find a clear answer.

Example:

exemplo gif

@s-kris
Copy link

s-kris commented Sep 9, 2024

+1

@JiHong88 JiHong88 added this to the 2.47.1 milestone Sep 10, 2024
@Luiz-Faleiros
Copy link

+1

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

No branches or pull requests

4 participants