From 7f08459702f3d208eedf2a5312f481cb039ef7fb Mon Sep 17 00:00:00 2001 From: yanmao Date: Thu, 4 Nov 2021 10:47:31 +0800 Subject: [PATCH] fix(table): add schema --- plugins/table/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/table/src/index.ts b/plugins/table/src/index.ts index 8f34ef1a..29790c8c 100644 --- a/plugins/table/src/index.ts +++ b/plugins/table/src/index.ts @@ -142,6 +142,7 @@ class Table extends Plugin { { name: 'colgroup', type: 'block', + allowIn: ['table'], }, { name: 'col', @@ -156,10 +157,12 @@ class Table extends Plugin { { name: 'thead', type: 'block', + allowIn: ['table'], }, { name: 'tbody', type: 'block', + allowIn: ['table'], }, { name: 'tr',