Loading
- The data should be loaded with:
- two paragraphs,
- to-do list with eight items, where 2,4 and 7 are checked,
- two paragraphs,
- numbered list with one item,
- to-do list with one unchecked item,
- bullet list with one item.
- Toolbar should have three buttons: for bullet, numbered and to-do list.
Testing
Creating:
- Convert first paragraph to to-do list item
- Create empty paragraph and convert to to-do list item
- Press
Enter in the middle of item
- Press
Enter at the start of item
- Press
Enter at the end of item
Removing:
- Delete all contents from list item and then the list item
- Press enter in empty list item
- Click on highlighted button ("turn off" list feature)
- Do it for first, second and last list item
Changing type:
- Change type from todo to numbered for checked and unchecked list item
- Do it for multiple items at once
Merging:
- Convert paragraph before to-do list to same type of list
- Convert paragraph after to-do list to same type of list
- Convert paragraph before to-do list to different type of list
- Convert paragraph after to-do list to different type of list
- Convert first paragraph to to-do list, then convert second paragraph to to-do list
- Convert multiple items and paragraphs at once
Toggling check state:
- Put selection in the middle of unchecked the to-do list item
- Check list item (selection should not move)
- Select multiple to-do list items
- Check or uncheck to-do list item (selection should not move)
- Check to-do list item
- Convert checked list item to other list item
- Convert this list item once again to to-do list item ()should be unchecked)
- Put collapsed selection to to-do list item
- Press
Ctrl+Space (check state should toggle)
Toggling check state for multiple items:
- Select two unchecked list items
- Press
Ctrl+Space (both should be checked)
- Press
Ctrl+Space once again (both should be unchecked)
- Select checked and unchecked list item
- Press
Ctrl+Space (both should be checked)
- Select the entire content
- Press
Ctrl+Space (all to-do list items should be checked)
- Press
Ctrl+Space once again (all to-do list items should be unchecked)
Integration with attribute elements:
- Select multiple to-do list items
- Highlight selected text
- Check or uncheck highlighted to-do list item
- Type inside highlighted to-do list item
Content styles
- Inspect list styles in the editor and in the content preview (below).
- There should be no major visual difference between them.
- Check marks in the content preview should be rich custom components (no native checkboxes).