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
{{ message }}
Repository navigation
Command Palette: Block commands that do not work on the selected block are displayed #53921
Add after / Add before: When a default block cannot be inserted, it should not be displayed. For example, this is the case when the paragraph block is excluded by the allowed_block_types_all hook. [Commands]: Fix block editor commands availability #53994
Activity
ntsekouras commentedon Aug 28, 2023
Thanks for the issue. I'll open a PR about the
groupingcommands soon.t-hamano commentedon Aug 28, 2023
Thank you for bringing this issue to your attention. From my new research, it seems that all block commands need to be given some sort of condition.
allowed_block_types_all hook. [Commands]: Fix block editor commands availability #53994canRemoveBlocksis false. [Commands]: Fix block editor commands availability #53994