• Resolved robertoandred

    (@robertoandred)


    Does anyone know what causes the iframe editor canvas to fall back to the div version? And is there way to prevent it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can you please provide a little more information? Are you talking about an editor, and if so, which one? How can I see what you see for myself?

    Thread Starter robertoandred

    (@robertoandred)

    I think I figured out. I was referring to the Gutenberg block editing canvas. If all registered blocks are at API version 3, the canvas uses an iframe. If not, it uses a div.

    Iframe is the better solution if available because there aren’t conflicts with admin styles and the viewport width is correct.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Editor canvas: iframe vs div?’ is closed to new replies.