Skip to content

Add rotating block-specific tips to the inserter's help panel #17091

Description

@kjellr

We should add block-specific tips in the inserter panel that was added in #16813. These could be defined in the block registration. For example:

const blockSettings = {
    // ... other settings

    tips: [
        'Quickly indent the text in a new list item by starting it with a space.',
    ]
}

If defined there, we may also consider placing these elsewhere in the UI: perhaps in the Block Sidebar (#16594) or the Block Placeholder (#16315). But the inserter is a good first step. 👍

To start, we can pull from the list of block-specific tips listed in #16595 (comment). In cases where there are multiple tips per block, we'll randomly chose one to display each time the block is hovered.

Example screenshot:

Inserter-Paragraph

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] InserterThe main way to insert blocks using the + button in the editing interface[Type] TaskIssues or PRs that have been broken down into an individual action to take

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions