Notes editor: pasted spreadsheet table has no GFM header row #1624

Open
opened 2026-10-12 16:11:06 +00:00 by kayg · 0 comments
Owner

Severity: POLISH.

Found by the Notes block editor hunt (owner focus, 2026-10-12). Repro scripts are on dev (6fefd4a62) in apps/web/e2e/break-editor/. Run from apps/web after bun run build: node e2e/break-editor/<script>. Exit 1 = reproduced, 0 = fixed. Server used: prebuilt rev 8e8409629 (same as production). The scripts leave calternal-server-release processes behind; kill them after each run.

Symptom

Pasting a table from a spreadsheet (HTML table without th) writes Markdown without the header delimiter row, so the .md file holds no valid GFM table. The editor round-trips it, other apps do not.

Script: 13-spreadsheet-table-paste-no-header-row.mjs, 3/3.

Done when

The pasted table is written as a valid GFM table (first row is the header, as GitHub and Obsidian do). Rust and TypeScript converters agree. Script 13 exits 0.

**Severity: POLISH.** Found by the Notes block editor hunt (owner focus, 2026-10-12). Repro scripts are on `dev` (6fefd4a62) in `apps/web/e2e/break-editor/`. Run from `apps/web` after `bun run build`: `node e2e/break-editor/<script>`. Exit 1 = reproduced, 0 = fixed. Server used: prebuilt rev 8e8409629 (same as production). The scripts leave `calternal-server-release` processes behind; kill them after each run. ## Symptom Pasting a table from a spreadsheet (HTML table without `th`) writes Markdown without the header delimiter row, so the .md file holds no valid GFM table. The editor round-trips it, other apps do not. Script: `13-spreadsheet-table-paste-no-header-row.mjs`, 3/3. ## Done when The pasted table is written as a valid GFM table (first row is the header, as GitHub and Obsidian do). Rust and TypeScript converters agree. Script 13 exits 0.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1624
No description provided.