dorfteich/apps/web/src/editor/nodes
Claude Fable 5 d76c731473
Some checks failed
CI / Lint, typecheck, test (pull_request) Successful in 6m51s
CI / Build container images (pull_request) Successful in 3m57s
CI / Auth e2e pack (pull_request) Failing after 5m22s
CI / Import/export fidelity gate (pull_request) Has been skipped
Merge and split table cells (#337)
prosemirror-tables already ships mergeCells/splitCell and the schema
(tableNodes) already carries colspan/rowspan -- only the controls were
missing. Adds the two commands, toolbar buttons whose enabled state
follows the selection (merge needs a multi-cell selection, split a
merged cell), and de+en labels.

Both render paths now carry the spans: docToHtml emits colspan/rowspan
(read mode, exports via the HTML path), and the markdown serializer pads
a colspan with empty cells so every row keeps the table's column count
-- rowspan stays lossy there, GFM cannot express it.

e2e drives merge and split through the toolbar; the cell selection is
made per Shift+Click because a keypress in the same tick as the
preceding click races the editor's post-click rendering (keyboard cell
selection itself works, verified interactively with a settled editor).

Closes #337

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aoPvnakfBP28nAfijgUY9
2026-08-15 20:54:59 +02:00
..
date-marker.tsx #152: Datums-Marker >> (Zieldatum) / << (Startdatum) 2026-07-20 00:59:05 +02:00
image.tsx Add image paste and insert in the editor (#28) 2026-07-08 11:30:25 +02:00
lists.ts Add TipTap page editor with REST persistence (#25) 2026-07-06 11:08:43 +02:00
mention.tsx #150: @-Mentions — Inline-Node, instanzweite User-Suche, Autocomplete 2026-07-20 00:56:07 +02:00
plugin-block.tsx #160: Plugin-Block — Bearbeiten-Knopf nach Moduswechsel wieder da 2026-07-20 21:54:50 +02:00
table.ts Merge and split table cells (#337) 2026-08-15 20:54:59 +02:00
task-item.tsx #169: Nicht-Text-Inhalte — Task-Checkboxen, Wissensgraph 2026-07-21 14:35:16 +02:00
task-overview.tsx #168: Formulare — Fehler-Verdrahtung und Namenslücken 2026-07-21 14:26:54 +02:00
text-basics.ts Add editor section node; serialize pnpm CI jobs to fix runner flake 2026-07-11 10:08:41 +02:00
transclusion.tsx #146: Transparente Einbettung $[[Seite]] ohne Rahmen und Titel 2026-07-20 00:34:15 +02:00
wikilink.tsx Add wikilink node with autocomplete (#46) 2026-07-09 12:42:01 +02:00