Skip to content

Add support for task lists in content editor

Himanshu Kapoor requested to merge 338269-content-editor-task-list into master

What does this MR do?

Issue: #338269 (closed), Also fixes #335970 (closed)

Add support for task lists (regular tasks lists and numeric task lists) in content editor

For example:

  • regular task list item
  1. numeric task list item

Screenshots or Screencasts (strongly suggested)

image

How to setup and validate locally (strongly suggested)

  1. Edit a Wiki page.
  2. Type the below code:
* [x] hello
  * [x] world
  * [ ] example
    * [ ] of nested
      * [x] task list
      * [ ] items


1. [x] hello
2. [x] world
3. [ ] example
   1. [ ] hello
   2. [ ] world
4. [x] task list
5. [ ] items
  1. Click "Use new editor".
  2. The Content Editor will convert the text into a task lists / numeric task lists.
  3. Click "save". The content should be saved successfully.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #338269 (closed)

Edited by Himanshu Kapoor

Merge request reports