Table Cell Extras extends the formatting of standard table blocks. It allows for extended inline decoration, td/th conversion of the first column, and customizable cell background colors. Additionally, extended inline formatting can optionally be enabled outside of table blocks.
Features:
- First-column td/th conversion — Converts first-column cells from
<td> to <th>
- Horizontal scroll — Enables horizontal scrolling on narrow screens when the table exceeds the viewport width
- Cell border — Set borders per row, per column, or per individual cell
- Cell background color — Set a background color per row, per column, or per cell
- Cell vertical align — Adjust vertical alignment per row, per column, or per cell
- Cell minimum width — Set a minimum cell width with a slider (3–20em)
- Text size — Adjust text size with a slider (0.75–2.0em)
- Row spacing (top/bottom) — Add top/bottom margin with a slider (0.1–2.0em)
- Pseudo ordered/unordered list — Convert selected lines to numbered or bullet-point style (span-based)
- Horizontal rule — Insert a horizontal divider at the cursor position
Why "pseudo" lists?
Gutenberg's RichText sanitizes block-level elements such as
<ul>,
<ol>, and
<li> inside table cells. This plugin uses
<span> elements with CSS to achieve the same visual result while remaining fully compatible with Gutenberg.
Notes
- This plugin does not register any custom blocks; it extends the existing core/table block.
- No external requests are made.
- Lightweight — a single JS file and a single CSS file.