Skip to content

[Site Editor] Identical templates load unreliably inside the Site Editor #48095

Closed
@dinhtungdu

Description

Description

When switching between templates that have identical content, the Site Editor shows a blank editor. Before #47777, the impact of this issue is bigger:

Step-by-step reproduction instructions

The #47777 fixes most use cases by a side effect, but the issue is still reproducible by following these steps:

  1. With Twenty Twenty-Three activated, create a custom template with the content of the home.html template.
  2. Open the Site Editor, the editor shows the Home template by default.
  3. From the sidebar, navigate to the test template and select it.
  4. See the blank editor.

Screenshots, screen recording, code snippet

Screen.Recording.2023-02-15.at.17.57.30.mov

Environment info

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Feature] Template Editing ModeRelated to the template editor available in the Block Editor[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions