-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Better warning message when removing a reusable block #13702
Comments
Can you perhaps elaborate a bit on why and how it should be improved? Thanks! |
Would a contexted message by the block be better than a 'global' message? I do wonder if adding the same interaction element that google mail has when you delete or send and it has a message appear for few moments. @youknowriad looping you in as think this is being explored. I personally think something that's not a global message would be good. I also think it isn't an error. |
Tbh, I think a browser warning is fine personally. And I think if we change the behavior we should probably change consistently (thinking about post removals and all other system dialogs) |
Let's for now close this but we can always reconsider. Thanks for the feedback everyone. |
Not sure if anyone still checks this ticket, but I came up with a solution for a project and while it's not ideal in any way, I think it should be stable enough for our purposes until the appropriate block filters exist that allow us to modify BlockControls and settings. Basically, I'm using
You can see in the screenshot that the "Remove from Reusable Blocks" button, which normally renders between "Convert to Regular Block" and "Group" does not show up. |
Thanks for sharing Kory! |
Obviously one major drawback to this solution is relying on the innerText of the button being equal to "Remove from Reusable Blocks" because this could change in the future and it would likely not work if the User's admin language is set to something other than English. But, like I said, it works for our purposes for now. I think it could be a starting point for anyone that's trying to accomplish something similar. |
Today we have a system warning message when removing a reusable block.
This should be improved.
The text was updated successfully, but these errors were encountered: