-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
If you jump into the code editor mode while editing a page, you'll only see the template markup. This happens regardless of whether the template preview mode is on or off.
In either case, using the code editor while editing a 'page' should allow you to edit the page not the template.
CC @youknowriad
Step-by-step reproduction instructions
- Enter the site editor
- Go to pages and select a page like "Sample Page"
- Switch to code editor and see the code for the template, not the page
- Disable "Template preview" in the inspector controls
- Switch to code editor again and see the code for the template, not the page, even though the template isn't even visible
Screenshots, screen recording, code snippet
screenrec.mov
Environment info
- Gutenberg 18.3.0
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.