Skip to content

Iframed Content Roadmap #33346

@ellatrix

Description

@ellatrix

Goal: to iframe all editor instances with front-end content.

It seems best to continue to gradually iframe the remaining content. For 5.9, I propose that we iframe the device previews and the block and pattern previews, and iframe the post editor at a later point. This is to give people time to test their blocks, address issues, contact us in case of problems, yet to slightly push them to do so. The previews (block, patterns and full content for device preview) are a good way to do that because they are non-essential while more visible.

Done ✅

WP 5.9-6.0

  • Prepare for the post editor.
    • Move the meta boxes (since the scroll container will move inside the iframe, while the meta boxes cannot). Would also allow us to remove the Safari flickering hack.
    • Backward compatibility layer (opt-in) to render blocks in an overlay outside the iframe if absolutely necessary.
      • This is necessary for the classic block, which currently doesn't work in the iframe.
  • Refine the iframe component.
  • Move placeholders (editor UI) into shadow DOM. Block editor: placeholders: try admin shadow #33494
  • Move appenders (and any other editor UI) out of the content and either into popovers or shadow DOM.
  • Ideally the new widget and navigation screens should also be iframed. Who could best do that?

WP 6.2

  • Post editor Post editor. Maybe this could be done earlier while it remains off by default. In some future release we could simply flip the switch. Another plugin could potentially flip the switch too. There was some interest for that.

Dev notes

Metadata

Metadata

Assignees

Labels

[Status] In ProgressTracking issues with work in progress[Type] OverviewComprehensive, high level view of an area of focus often with multiple tracking issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions