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.
When I paste an
iframe
directly into the code view and switch back to the preview, theiframe's
HTML gets wrapped inside adiv
and afigure
element. The issue is that some of my clients have customized code for theiframe
, and when it gets wrapped inside afigure
, the layout breaks. Without thefigure
element, everything would work fine.Is there a way to paste an
iframe
into the code view without it being automatically wrapped infigure
anddiv
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: