Skip to content

Tables are hard to un-nest #2803

@Wqrld

Description

@Wqrld

What’s broken?

When you are filling out a table, you usually tab through while filling fields. When you press tab in the last block, the table gets indented instead. However, this is very hard to undo.

Image

What did you expect to happen?

Tables should probably not be indentable, or it should be able to easily unindent tables. The first sounds preferable to me, but might impact other people's workflows?

shift-tab seems to be the way to unindent elsewhere, but in tables it is used for going back cells. Behavior seems to differ depending on where i look. playground does let me shift-tab on the first cell (but you can only indent from the last cell). Anyways the shift-tab shortcut is not very intuitive so i would rather not require it for unindenting tables.

Steps to reproduce

  1. Create table
  2. go to last cell and press tab
  3. Table gets indented
  4. you cannot unindent by pressing backspace ~~(or shift-tab) ~~

BlockNote version

No response

Environment

No response

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue has not yet been reviewed or classified by maintainers.

    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