Don't render tools control when getRenderingMode is set to post-only #65678
Labels
[Feature] Edit Mode
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Type] Enhancement
A suggestion for improvement.
The write and design tools selection UI is relevant when editing content like blog posts. The tools are most helpful in the context of templates. I propose the control is not rendered if
getRenderingMode()
is set topost-only
.In trunk, this condition can be set via the Inspector's Template control, by choosing to change the template display with the "Show template" option (in both the post editor and site editor).
Tools UI
Showing and hiding a template with getRenderingMode
Ideally the UX for showing and hiding a template should be clearer (not buried in the Inspector). I'll open another issue to push that forward.
The text was updated successfully, but these errors were encountered: