# UnifiedWriter Table Advanced Editing - dev-5.31.3

This build strengthens the v5.31 table foundation while preserving the Model-first editor policy.

## Implemented

- Cell merge for rectangular selections.
- Split for merged cells that use `rowspan` / `colspan`.
- Row, column, cell and rectangular range selection are reused by all table commands.
- Copy selected cells as tab/newline text.
- Paste tab/newline text into the selected table range.
- Clear selected cells.
- Apply cell background color.
- Apply border color and width.
- Apply selected column width.
- Apply selected row height.
- Table properties dialog with quick commands and basic size/style controls.

## Design note

Table cells may temporarily become `contenteditable` while inline editing a cell, but the canonical document state remains the `DocumentModel` table block.  On commit, the table DOM is sanitized and written back into the model block.  This keeps table editing compatible with undo/redo, UWPSX persistence, print/PDF output and future DOCX import/export work.

## Known remaining work

- Visual resize handles for rows and columns.
- Precise merged-cell grid mapping when editing complex DOCX-imported tables.
- Cell range formatting toolbar state.
- Table copy/paste with HTML table clipboard payloads in addition to tab/newline text.
- DOCX table export and round-trip preservation.
