Columns: drop adoptColumn's leftover end
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+0
−2
editor/fidelity.mjs+0 −2
CI failed — run details
CI log
=== editor === cd editor && npm ci --no-audit --no-fund --loglevel=error added 16 packages in 332ms cd editor && node build-bundles.mjs wrote internal/mapa/static/editor.bad1b29c273b6a86.js (364471 bytes, 114.4KB gzipped; L12 budget 120KB) D internal/mapa/static/editor.ca5ef847c9df9e7d.js internal/mapa/static/editor.bad1b29c273b6a86.js make editor: internal/mapa/static/editor.*.js does not match a fresh build; commit the rebuilt bundle make: *** [Makefile:108: editor] Error 1 amadan: step editor failed: exit status 2 amadan: job failed at step editor — its output is above, not at the tail of this log
diff --git a/editor/fidelity.mjs b/editor/fidelity.mjs| index 0276e23..36e98ab 100644 |
| --- a/editor/fidelity.mjs |
| +++ b/editor/fidelity.mjs |
| @@ -640,7 +640,6 @@ function adoptColumn (tr, fidelity, block) { |
| if (depth === 0) return |
| const column = $at.node(depth) |
| const start = $at.before(depth) + 1 |
| - const end = start + column.content.size |
| const schema = tr.doc.type.schema |
| const own = schema.topNodeType.create(null, column.content) |
| const text = neutralLines(serialiseDetailed(own, fidelity, { edges: false, raw: true }).body) |
| @@ -653,7 +652,6 @@ function adoptColumn (tr, fidelity, block) { |
| if (after && after.type.name === 'column' && after.childCount === 0) { |
| tr.insert(start, schema.nodes.paragraph.create()) |
| } |
| - void end |
| } |
| // neutralLines puts U+200B before the first ":" of every fence-like |