-
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
It should be possible to delete new custom block templates, and revert customised block templates in the template editor #31076
Comments
Yeah without the template description (and other actions) the separator does seem a little heavy-handed. I included it because I believe it is already built in to the popover style in the site editor. It should be easy to remove though. Another option would be to add some template meta data in lieu of a description. I'm not sure how useful that would be?
We could certainly add a "Don't ask me again" checkbox. |
Here is a variation (Ratio is off). |
I like adding the meta info in there, as it acts like a pre-emptive "are you sure?". It could be a bit more compact. My only thought is the nearly empty Template tab in sidebar. That is the location where you delete/trash a post. It might make more sense to stick it there. |
I acknowledge this is a bit "in the clouds", but if we move more document attributes to the top bar then maybe we don't actually need the "Template" tab at all? delete.template.mp4 |
We have this in place now. Should we close this issue or keep it for potential improvements? |
We can close once #32042 is merged. |
In the post editor it is now possible to:
In the case of user-generated block templates, the UI should provide a way for users to delete that template.
In the case of customised block theme templates it should be possible to revert those customisations and re-instate the theme default.
The Site Editor already offers a way to revert customised block theme templates:
This is something we can consider bringing to the template editor (albeit without the "Browse all templates" button for now). The same design can be utilised for deletion. Here's a rough mockup:
Since this would be a destructive action, we might want to expose a confirmation dialog that briefly explains the consequences of this action, something like:
It we could provide a count of how many posts would be affected, that would be even better :)
The text was updated successfully, but these errors were encountered: