From 610825ac14d90888b663e424280f925846264130 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Wed, 15 Apr 2026 17:53:54 +0200 Subject: [PATCH] =?UTF-8?q?SpreadsheetView:=20add=20bullet=20marker=20(?= =?UTF-8?q?=E2=80=A2)=20for=20multi-line=20cells?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Multi-line cells (containing \n) that don't already start with a bullet character get • prepended in the frontend. This ensures bullet points are visible regardless of whether the backend inserted them (depends on when boxes were last rebuilt). Skips header rows and cells that already have •, -, or – prefix. Co-Authored-By: Claude Opus 4.6 (1M context) --- admin-lehrer/components/ocr-kombi/SpreadsheetView.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/admin-lehrer/components/ocr-kombi/SpreadsheetView.tsx b/admin-lehrer/components/ocr-kombi/SpreadsheetView.tsx index 8da3189..5079890 100644 --- a/admin-lehrer/components/ocr-kombi/SpreadsheetView.tsx +++ b/admin-lehrer/components/ocr-kombi/SpreadsheetView.tsx @@ -85,7 +85,13 @@ function zoneToSheet(zone: GridZone, sheetIndex: number, isFirst: boolean): any } // Multi-line text (bullets with \n): enable text wrap + vertical top align - if (text.includes('\n')) { + // Add bullet marker (•) if multi-line and no bullet present + if (text.includes('\n') && !isHeader) { + if (!text.startsWith('•') && !text.startsWith('-') && !text.startsWith('–') && r > 0) { + text = '• ' + text + v.v = text + v.m = text + } v.tb = '2' // text wrap v.vt = 0 // vertical align: top }