editor-js / list

Advanced List tool for the Editor.js.
MIT License
48 stars 47 forks source link

Shift + Tab incorrectly moves middle item to next item #17

Closed evanjmg closed 3 years ago

evanjmg commented 3 years ago

Reproducible steps

  1. List 3.1 sub item 3.2 <- untab here 3.3.
  2. List 3.2 moves here
  3. 4 moved

Expected Result

  1. parent item 3.1 sub item
  2. <- result of untabing 4.1.sub item 3
  3. item
talyguryn commented 3 years ago

if you want to untab the element then it should not affect other elements in the list. these elements places on the same level so I think that you don't need to place the following items as childs.

we had think about this behaviour too much and this is the best solution for the moment.