From ec8a03178b33228d1c191cddc44913f75fc9430f Mon Sep 17 00:00:00 2001 From: fantasticit Date: Sun, 8 Jan 2023 14:04:55 +0800 Subject: [PATCH] update columns with one column as children --- packages/client/src/tiptap/core/extensions/columns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/tiptap/core/extensions/columns.ts b/packages/client/src/tiptap/core/extensions/columns.ts index d096dd7..16e8c4f 100644 --- a/packages/client/src/tiptap/core/extensions/columns.ts +++ b/packages/client/src/tiptap/core/extensions/columns.ts @@ -21,7 +21,7 @@ export const Columns = Node.create({ defining: true, isolating: true, allowGapCursor: false, - content: 'column{2,}', + content: 'column{1,}', priority: EXTENSION_PRIORITY_HIGHEST, addOptions() {