-
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
Add edit button to template parts, reusable blocks and navigation blocks #45465
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
Size Change: +480 B (0%) Total Size: 1.28 MB
ℹ️ View Unchanged
|
Nice, seems useful! Here's a GIF showing template parts being locked and requiring an edit press: As you can note, there are two small issues, firstly that I'm seing double edit buttons, if I click the first it disappears, and the second one works. Secondly that if I double click, or click really fast, I can "unlock". That seems like it could be a shortcut, but it was a bit unexpected. |
Thank you for trying this :) I appreciate it's a WIP but I think it's still worth pointing out a couple of missing elements that feel important to the general concept. After clicking 'Edit':
In regards to the double edit button, I think the one that invokes focus mode can move to the ellipsis, which would align with #45264. |
@youknowriad are you still planning to move this work forward? Checking in to see if we might need to get more development help here or if it's still on your list :) |
@annezazu I'm focused on another PR at the moment, so if we can get more development help on this, that would be good. Otherwise, I'll circle back to it a bit later. |
Closing this for now, no time to focus on that. |
closes #43608
What?
This is not ready 100% but I wanted to share early. The idea is to add an "edit" button to template parts, reusable blocks and navigation blocks. By default when you click these blocks the "overlay" remains active unless you click the "edit" button.
The overlay is reset when you unselect the block or its children.
Why?
See the reasoning in the related issue.
How?
More details will be added later.
Testing Instructions
1- interact with reusable blocks or template parts and notice you need to first click the "edit" button in their toolbar.