Skip to content

Add support for inapplicable task items in RTE

Himanshu Kapoor requested to merge 367167-inapplicable-checkboxes into master

What does this MR do and why?

Add support for inapplicable task items in RTE

In rich text editor, add support for rendering inapplicable task items from markdown content in the plain text editor.

Changelog: added

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screen Recording 2024-01-08 at 22.20.18.mov

How to set up and validate locally

  1. Create a new issue. Use plain text editor.
  2. Add a task list, and make sure at least one item is inapplicable, like - [~] foo bar
  3. Switch to rich text editor.
  4. Note that the inapplicable items render fine in the rich text editor.
  5. Add some content to rich text editor.
  6. Switch back to plain text editor.
  7. Note that the markdown is serialized properly for inapplicable task items.

Note: Rich text editor currently doesn't allow to set a task item as inapplicable. This will be added in the future in a separate MR.

Related to #367167 (closed)

Edited by Himanshu Kapoor

Merge request reports

Loading