From 3c70e40d166f5d0cb12dae6106aa82f6fbb6423b Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:53:33 +0100 Subject: [PATCH] add table header by default --- .../src/features/editor/components/slash-menu/menu-items.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/features/editor/components/slash-menu/menu-items.ts b/apps/client/src/features/editor/components/slash-menu/menu-items.ts index cb7b65b..480957a 100644 --- a/apps/client/src/features/editor/components/slash-menu/menu-items.ts +++ b/apps/client/src/features/editor/components/slash-menu/menu-items.ts @@ -184,7 +184,7 @@ const CommandGroups: SlashMenuGroupedItemsType = { .chain() .focus() .deleteRange(range) - .insertTable({ rows: 3, cols: 3, withHeaderRow: false }) + .insertTable({ rows: 3, cols: 3, withHeaderRow: true }) .run(), }, {