The Table Block allows you to create a table in any post or page easily. This block is best used for tabulated data.
To add a table, click on the Add Block button and select the Table block. Alternatively, you can start typing
/table in a new paragraph block, then press enter.
To reveal the block toolbar, you can click on the block and the toolbar will display. Each block comes with unique toolbar icons and specific user controls that allow you to manipulate the block right in the editor.
The table block also offers a few other formatting options in its toolbar:
Convert block type
Within this panel you have the option to tell the table to use fixed width cells, which means rather than adapting the column widths to the content of the table, all columns will be equal width.
A block-specific toolbar will appear whenever you select the table block. Three of the options are for the block’s alignment, right, center, and left. Choosing the right or left will allow you to place another block alongside the table block moreover picking center will return the block to its default, taking up the full width of the post or page content.
The table block includes two styles, Regular and Stripes:
A regular table has a plain background and borders around the cells that looks like this:
Meanwhile, a striped table is a little different and has alternating row background colors, and looks like this:
In addition to the options found in the block’s toolbar, you may locate the block specific settings in the editor sidebar panel. Clicking on the cog icon next to the publish button will toggle the visibility of this panel.
The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and apply styles to the block as you see fit.