Improve table editing in content editor
What does this MR do and why?
Improve table editing in content editor
- Migrate
GlDropdowntoGlDisclosureDropdownfor the table cell context menu. #413044 (closed) - Allow selecting multiple rows and columns in a table to show relevant operations.
- New operations:
- Split cell - available on a cell with
rowspan > 1orcolspan > 1. - Merge cells
- Split cell - available on a cell with
- Updated dropdown item labels: Now when you select multiple cells, the dropdown shows appropriate plural label:
- Merge X cells
- Delete X rows
- Delete X columns
Screenshots or screen recordings
Screen Recording 2023-05-23 at 18.31.39.mov
How to set up and validate locally
- Create a wiki page
- Click "Switch to rich text" to enable content editor.
- Insert a new table from the table dropdown in the toolbar.
- Use operations on a table cell as described in the video.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Himanshu Kapoor