Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Gutenberg compatibility? #2

Description

@helen

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
    • 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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions