From da5915e22caf99b01a9dbd186033d2dbaa0a3bb3 Mon Sep 17 00:00:00 2001 From: YangFong Date: Tue, 20 Aug 2024 10:00:07 +0800 Subject: [PATCH] fix: not editable of table --- src/components/CodemirrorEditor/InsertFormDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CodemirrorEditor/InsertFormDialog.vue b/src/components/CodemirrorEditor/InsertFormDialog.vue index 3c720f471..ade2f24cf 100644 --- a/src/components/CodemirrorEditor/InsertFormDialog.vue +++ b/src/components/CodemirrorEditor/InsertFormDialog.vue @@ -27,9 +27,9 @@ function insertTable() { store.editor.operation(() => { store.editor.replaceSelection(`\n${table}\n`, `end`) }) - // store.editorRefresh() + store.editorRefresh() resetVal() - // formatContent() + formatContent() toggleShowInsertFormDialog() }