Skip to content

Proposal: Add ClassifAI button in the editor Toolbar #812

Open
@Sidsector9

Description

Is your enhancement related to a problem? Please describe.

Currently the Content Resizing and Rewrite Tone features only work on multiple blocks if and only if the blocks selected are of the same type.

This is due to the limitation that Gutenberg doesn't display the button added to the Block Toolbar when multiple blocks of different types are selected.

Example:

Same types:

Screenshot 2024-09-09 at 9 18 49 PM

Different types:

Screenshot 2024-09-09 at 9 18 02 PM

We can add buttons to the Document Panel but this introduces poor UX when multiple blocks are selected.

  • When multiple blocks are selected, the "Block" panel is selected by default.
  • The user has the click the "Document/Post" panel to access the ClassifAI panel.

Designs

I propose adding an extendible plugin area at the top inside the Editor Toolbar like the following:

Screen.Recording.2024-09-28.at.4.27.50.PM.mov

In the example, I have added the controls for the existing features, but in practice this will contain controls for features like Content Resizing, Rewrite tone and any feature that has to work on multiple blocks.

@10up/open-source-practice open to hear your thoughts on this!

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions