Add support for table alignment in RTE
What does this MR do and why?
Add support for table alignment in RTE
Add support for aligning columns left, right and center in the rich 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 13.47.37.mov
Rendered markdown table:
How to set up and validate locally
- Create a new issue. Use rich text editor.
- Create a new table using the table icon in the toolbar.
- Add some text in the table like in the video above.
- Select a header cell, and click the dropdown icon on the top right of the header cell.
- Pick between any of the alignment options: Align left, Align center or Align right.
- Switch back to plain text to see what the rendered markdown looks like.
Note: Current alignment is not shown in the dropdown.
Related to #435331 (closed)
Edited by Himanshu Kapoor