From 3aa7f62b56e47b73736f904bb964590358895fe5 Mon Sep 17 00:00:00 2001 From: chadmin Date: Thu, 24 Oct 2024 15:24:58 -0700 Subject: [PATCH] feat(html-wysiwyg-editor) h3 fix --- src/tools/html-wysiwyg-editor/editor/menu-bar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/html-wysiwyg-editor/editor/menu-bar.vue b/src/tools/html-wysiwyg-editor/editor/menu-bar.vue index d3ad31686..9069673c6 100644 --- a/src/tools/html-wysiwyg-editor/editor/menu-bar.vue +++ b/src/tools/html-wysiwyg-editor/editor/menu-bar.vue @@ -84,8 +84,8 @@ const items: MenuItem[] = [ type: 'button', icon: H3, title: 'Heading 3', - action: () => editor.value.chain().focus().toggleHeading({ level: 4 }).run(), - isActive: () => editor.value.isActive('heading', { level: 4 }), + action: () => editor.value.chain().focus().toggleHeading({ level: 3 }).run(), + isActive: () => editor.value.isActive('heading', { level: 3 }), }, { type: 'button',