From 3f753eddf5b433d3a50ae602c6948ac2b19433b6 Mon Sep 17 00:00:00 2001 From: zzj3720 <17165520+zzj3720@users.noreply.github.com> Date: Fri, 23 May 2025 16:16:35 +0000 Subject: [PATCH] fix(editor): simple table will disappear when converted from a note to a linked doc (#12482) fix: https://github.com/toeverything/AFFiNE/issues/12403 ## Summary by CodeRabbit - **Bug Fixes** - Improved handling of certain table cell content to prevent potential display or behavior issues when content is missing. - Updated language completeness data for Spanish (Argentina) locale. --- blocksuite/affine/blocks/table/src/table-cell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocksuite/affine/blocks/table/src/table-cell.ts b/blocksuite/affine/blocks/table/src/table-cell.ts index 06d7c4947..31d4546d1 100644 --- a/blocksuite/affine/blocks/table/src/table-cell.ts +++ b/blocksuite/affine/blocks/table/src/table-cell.ts @@ -745,7 +745,7 @@ export class TableCell extends SignalWatcher( padding: '8px 12px', })} .yText="${this.text}" - .inlineEventSource="${this.topContenteditableElement}" + .inlineEventSource="${this.topContenteditableElement ?? nothing}" .attributesSchema="${this.inlineManager?.getSchema()}" .attributeRenderer="${this.inlineManager?.getRenderer()}" .embedChecker="${this.inlineManager?.embedChecker}"