Skip to content

[md Tables] Cannot indent list items or escape list inside a table cell and #8744

@janbaum

Description

@janbaum

Describe the bug
(1) One can not indent list items inside a table cell, due to beeing captured by tables "move to next cell" logic
(2) One can not escape the created list inside the same cell.

To Reproduce
Steps to reproduce the behavior from (1):

  1. Create a table
  2. create list item
  3. press enter to create next list item in same cell
  4. press to indent the second list item
  5. see curser jumped to next cell instead

Steps to reproduce the behavior from (2):

  1. Create a table
  2. create list item
  3. try to escape the list to write a normal line of text below the list

Expected behavior
(1) Although I really like that jumps to the next cell and it is expected behavior in general, in case of lists there is no possibility to indent list items (oher than cutting a list item with +x and than past it again 🤷 )

I thought about this and I would argue, that it is more intuitive to indent the current list item with and expect to escape the list, than press to get to the next cell

(2) UI: introduce a button to indent/de-dent list items in the tool bar(?) Keyboard: Eather escape by two times pressing Enter, or beeing able to escape with +. I'd prefer two times Enter, but then the table should ignore this empty line when moved to a new cell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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