From 1aaaf122b1979ebe04f9878284c89314e01113a3 Mon Sep 17 00:00:00 2001 From: Alex Bikeyev Date: Wed, 25 Nov 2026 15:06:53 +1300 Subject: [PATCH] webview: paste empty cells as null (Qt coerce parity) Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- webview/state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webview/state.ts b/webview/state.ts index 3193781..5cb10ce 100644 --- a/webview/state.ts +++ b/webview/state.ts @@ -924,7 +924,7 @@ export class Store { const cell = this.cellAtVisual(v, r, c); // paste block walks VISUAL rows/cols if (!cell?.addr) continue; const raw = grid[dr][dc]; - const val = raw === "" ? "" : (isNaN(Number(raw)) ? raw : Number(raw)); + const val = raw === "" ? null : (isNaN(Number(raw)) ? raw : Number(raw)); entries.push({ addr: cell.addr, value: val }); } }