This repository was archived by the owner on Mar 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
Gutenberg compatibility? #2
Copy link
Copy link
Open
Labels
Milestone
Description
We should make this plugin Gutenberg-compatible, either by extending the core table block or replacing it with a custom block. It's also possible that all this functionality should make it into the core block - will note that with the Gutenberg team as well.
Here's the functionality I've noted in the current plugin and where I think it should go in the Gutenberg paradigm:
Toolbar
- Dropdown button with multiple flyouts
- Cell
- Merge table cells
- NOTE: Has modal when nothing selected
- Split table cell
- Merge table cells
- Row
- Insert row before (exists with icon)
- Insert row after (exists with icon)
- Delete row (exists with icon)
- — SEPARATOR —
- Cut table row
- Copy table row
- Paste table row before
- Paste table row after
- Column (all exist with icons)
- Insert column before
- Insert column after
- Delete column
- Cell
Sidebar
- Table properties
- Rows (this is currently only accessible when creating a new table)
- Columns (this is currently only accessible when creating a new table)
- Width
- Height
- Cell spacing
- Cell padding
- Border
- Caption (checkbox)
- Alignment (None, Left, Center, Right)
- Cell properties
- Width
- Height
- Cell type (None/Cell, Header cell)
- Scope (None, Row, Column, Row group, Column group)
- Alignment (None, Left, Center, Right)
- Row properties
- Row type (Header, Body[default], Footer)
- Alignment (None, Left, Center, Right)
- Height
Links
- Gutenberg: Table block UX: Table block UX - to discuss or not? WordPress/gutenberg#2609
- Gutenberg: Tables: no method to define row or column header cells: Tables: no method to define row or column header cells (th) WordPress/gutenberg#1470
- Gutenberg: Polish the Table block (responsiveness, table settings toggle): Polish the Table block WordPress/gutenberg#6314