Skip to content

In- and out-dent actions in block side menu for list items #2123

@wielinde

Description

@wielinde

Is your feature request related to a problem? Please describe.
Working with lists, denting items in and out, is a key feature for structuring thoughts. And I do even argue that it is probably to most likely next action you want to do, once you started a list.

On desktop I can nicely use TAB and SHIFT+TAB for in- and out-denting of list items. On a mobile I don't have a TAB key. I rely on the BlockNote toolbar. And that toolbar is only visible if I select text. However, I usually want to first in-dent or out-dent before I write text. Currently I have to first select text so that I get the toolbar in which I find the buttons to in- or out-dent. That is not easy.

Image

Describe the solution you'd like
I propose to have simpler solution

  • Option 1 (cheap to implement): In the block side menu offer two more actions on list item blocks, one for in- and one for out-denting.
  • Option 2 (Better UX but more expensive to build): Render to buttons above the list item for in- and out-denting. They are always visible for the line that currently has the focus.

Note: both solutions would not only improve the UX for mobile users. It would also improve the UX for desktop users that are not familiar with using the TAB and SHIFT+TAB keys.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Bonus
[x] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions