Bug: Template Editor switches to Content Editor after adding a new block #78131
Labels
[Closed] Fixed
Issues explicitly fixed with PRs. Do not use for no longer reproducible issues.
Gutenberg RC Testing
[Platform] Simple
[Pri] BLOCKER
[Status] Priority Review Triggered
Quality squad has been notified of this issue in #dotcom-triage-alerts
Triaged
To be used when issues have been triaged.
[Type] Bug
Quick summary
When using the new content X template editing experience introduced in WordPress/gutenberg#49980, I ran into a very fraught experience when trying to add a new block into a template. While in Template Editing mode, using the "Add Before"/"Add After" options to add new blocks will add the block, but it will also switch the editing experience to the Content Editing mode.
Since the block was added to the Template, it can't be edited while in Content Editing mode. When switching again to Template Editing, typing anything will revert back to Content Editing.
Steps to reproduce
What you expected to happen
The behavior in core is like this:
CleanShot.2023-06-13.at.15.37.50.mp4
What actually happened
Trying to edit a block added to the template switches the editing experience back to content editing.
CleanShot.2023-06-13.at.15.34.09.video-converter.com.mp4
Impact
Some (< 50%)
Available workarounds?
No and the platform is unusable
Platform (Simple and/or Atomic)
Simple
Logs or notes
Gutenberg 16 RC 4
The text was updated successfully, but these errors were encountered: