You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can then remove the filter thus avoiding any perf concerns with the Plugin-based approach.
Alternatively, the rename UI doesn't need to be a plugin. It could be hardcoded directly into the Block Settings Menu, like, for example, BlockLockMenuItem is.
I think what you suggest above is the most pragmatic option for now. This could be actioned in tandem with the follow up in #55194 to make metadata a default global attribute.
Update: when implementing this we can draw on a bug fix which went directly into the
wp/6.4
branch.As suggested by @jsnajdr let's make the "Rename" menu item into a default item within the menu as per
BlockLockMenuItem
:gutenberg/packages/block-editor/src/components/block-settings-menu-controls/index.js
Line 83 in ef21f20
We can then remove the filter thus avoiding any perf concerns with the Plugin-based approach.
I think what you suggest above is the most pragmatic option for now. This could be actioned in tandem with the follow up in #55194 to make metadata a default global attribute.
Originally posted by @getdave in #55250 (comment)
The text was updated successfully, but these errors were encountered: