The code editor is available in template editing mode but only shows the post content #37320
Labels
[Feature] Template Editing Mode
Related to the template editor available in the Block Editor
[Status] In Progress
Tracking issues with work in progress
Description
The code editor is available when editing a template in the template editor (accessed from the block editor).
The code editor shows the post content and the post title and nothing else -even if both blocks are removed from the template.
-I thought the code editor was not yet supported and that it was meant to be disabled both in template editing and the site editor.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.9-beta2-52361 via the beta tester plugin
With and without Gutenberg current trunk.
For the theme, I usedTwenty Twenty-Two and a classic PHP-based theme, underscores (_s), and added support for template editing.
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: