Improve table options: Add table headers, row stubs, and merged cells
This issue is duplicated in the Ketida repo: https://gitlab.coko.foundation/ketida/ketida/-/issues/582
Context
Currently it's possible to add a table and choose the amount of rows and columns. The following options are also available:
It would be nice to be able to merge and split cells, define table header rows (in case there are multiple headers in a table), and define row stubs (so certain cells in the left hand first column of a table are horizontal headers for each row). These options allow more custom styling in the PagedJS templates.
Proposal
- Allow user to highlight two table cells and choose 'Merge cells' from the table options dropdown
- Allow user to highlight one cell in the table and choose 'Split cell'
- Allow user to highlight rows and choose 'Table header' from the table options dropdown
- Allow user to highlight rows and choose 'Stub header' from the table options dropdown
Design
[Include sketch or wireframes of the UI changes necessary for this feature]
Implementation (if applicable)
[A description of the steps to implement the feature.]
Alternative approaches (if applicable)
[Include any alternatives to meet this use case.]
Open issues (if applicable)
[Links to and a discussion of related issues, if applicable.]