Skip to content

Command Palette: Block commands that do not work on the selected block are displayed #53921

Closed

Description

@t-hamano

Description

Related to #52509

By #52509, commands related to blocks were added. However, you will see commands that are not expected to be used with the selected block.

Step-by-step reproduction instructions

N/A

Screenshots, screen recording, code snippet

382ee8aae45d89414776d677731ec185.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Activity

  1. added
    [Type] Bug
    [Package] Block editor
    on Aug 24, 2023
  2. ntsekouras commented on Aug 28, 2023

    @ntsekouras
    Contributor

    Thanks for the issue. I'll open a PR about the grouping commands soon.

  3. t-hamano commented on Aug 28, 2023

    @t-hamano
    ContributorAuthor

    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.

  4. self-assigned this
    on Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Package] Block editor[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions