Nested lists
Loading data
The loaded data should look like this:
-
Bullet list item 1
-
Bullet list item 1.1
-
Bullet list item 1.2
- Bullet list item 1.2.1
- Bullet list item 1.2.2
- Bullet list item 1.2.3
- Bullet list item 1.2.4
-
-
- Numbered list item 2.1.1
- Numbered list item 2.1.2
Testing
Check if:
- You can write and delete in indented list items and remove indented list items.
- Tab key indents list item (other than first item on the list).
- Shift+tab key outdents list item.
- Enter key creates list item with same indent.
- Enter key in empty list item outdents it.
- Indenting and outdenting list item also indents/outdents following items.
- Outdenting not-indented item converts it to paragraph.
- Enter in not-indented item converts it to paragraph.
- Lists are correctly merged after outdenting.
- Lists are correctly merged when removing list item from between lists (for example 1.2, 1.1, 2.1 (empty)).
- Lists are correctly merged when deleting multi-level selection.
- You can put selection in empty list item, write something there, remove it.
- Changing list type works correctly with nested lists.
- Turning off list item works correctly.
- Changing list item to heading works correctly (undo may not work correctly for this one).
- Undo works correctly.