-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command Center: Add contextual commands to edit template parts #50832
Conversation
Size Change: +124 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Flaky tests detected in bdc6bfd. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5043936383
|
I'm not entirely sure how useful this one is, given you can already see and click on the template parts via the canvas. As we want to include recently edited templates and several other commands, the palette begins to feel a bit crowded. |
That's fine by me, maybe let's try to find a way to polish the related issue then and get to an agreement on what command to implement or not from that table. |
Related #50407
What?
This PR adds the "Edit Header", "Edit Footer"... contextual commands to the command center when opening a template in "edit mode".
Testing Instructions
1- Open the site editor
2- pick a template and go to edit mode
3- Open the command center
4- Notice the "edit header"... commands (assuming you have template parts within the current template).
5- Try these commands.