Skip to content

Fix minor bug with checkboxes in a table

Himanshu Kapoor requested to merge himkp-ce-checkbox-in-table into master

What does this MR do and why?

In a table in the rich text editor, allow inserting a checkbox that doesn't have any label by adding a   to it.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable feature flag :content_editor_on_issues.
  2. Write a new comment on an issue and switch to the rich text editor using the dropdown on the bottom right corner.
  3. Create a table from the table icon in the toolbar.
  4. Add a checkbox to a row using the task list icon in the toolbar.
  5. Save.

Note that previously, the task item would not render because it didn't have a label. Now it should render fine.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Himanshu Kapoor

Merge request reports