=== 16Deza Table Cell Extras ===
Contributors:      juurokudezain
Tags:              table, gutenberg, block editor, formatting, background color
Requires at least: 6.4
Tested up to:      7.0
Stable tag:        1.3.0
Requires PHP:      7.4
License:           GPLv2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Adds rich formatting options to Gutenberg table blocks — and optionally to any block.

== Description ==

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** — The first column of table cells can be converted from `<td>` to `<th>`
* **Cell background color** — You can set any cell background color (per row, per column, per cell)
* **Text size** — Adjustable with a slider (0.75–2.0em)
* **Row spacing (top)** — Add margin-top with a slider (0.1–2.0 lines)
* **Row spacing (bottom)** — Add margin-bottom with a slider (0.1–2.0 lines)
* **Pseudo unordered list** — Convert selected lines to bullet-point style (span-based)
* **Pseudo ordered list** — Convert selected lines to numbered list style (CSS counter)
* **Horizontal rule** — Insert a divider line 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 two CSS files.

== Installation ==

1. Upload the `16deza-table-cell-extras` folder to `/wp-content/plugins/`
2. Activate **16Deza Table Cell Extras** from the WordPress admin Plugins screen
3. Open any post or page, insert a Table block, click inside a cell, and use the inline toolbar

== Frequently Asked Questions ==

= Does this work with the classic editor? =
No. This plugin requires the Gutenberg block editor.

= Will it break my existing tables? =
No. It adds formatting tools to existing core/table blocks and does not modify their structure.

= The bullet/number list looks different from a real HTML list. =
Correct — by design. Real `<ul>`/`<ol>` elements are sanitized by Gutenberg inside table cells, so CSS-based pseudo-lists are used instead.

== Screenshots ==

1. Cell Background Color
2. The first-column convert to th
3. Extended Inline Formatting
4. Text size
5. Adjustable with a slider (0.75–2.0em)
6. Pseudo list conversion (bullet/numbered)
7. Insert divider line inside a table cell
7. Row spacing (with slider panel)

== Changelog ==

= 1.3.0 =
* Text size can be adjusted from 0.75em to 2.0em (using the slider panel).
* Added the ability to apply inline-block formatting to selected text.
* Added an option to enable inline formatting tools outside of table blocks.
* Added the ability to convert first-column cells from `<td>` to `<th>`.
* Added the ability to set background colors for individual cells, rows, or columns.

= 1.2.4 =
* Changed Text Domain to match plugin slug (16deza-table-cell-extras)
* Fixed translation file names

= 1.2.3 =
* PHP constant prefix: Changed from "TCX_" to "TCEX_" (4+ characters)

= 1.2.2 =
* Renamed plugin to "16Deza Table Cell Extras" for WordPress.org submission

= 1.2.1 =
* Updated internal code comment in build/index.js

= 1.2.0 =
* Added i18n support (JS strings wrapped with wp.i18n.__)
* Added readme.txt for WordPress.org submission
* Added languages/ folder with .pot, .po, .mo, .json translation files

= 1.1.2 =
* Row spacing: clicking an active button now reopens the slider for adjustment
* Row spacing: added Reset button to the slider panel

= 1.1.1 =
* Row spacing (top) and Row spacing (bottom) buttons with value slider
* Fixed Popover closing on slider interaction
* Added icons for row spacing buttons

= 1.1.0 =
* Row spacing split into Top / Bottom controls with RangeControl slider

= 1.0.8 =
* Changed hr element to span to avoid Gutenberg block validation warning

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.2.4 =
Translation files corrected. Please update to ensure Japanese UI works properly.
