From 131497322dd3b37f0b5e85c1f6183f76040980af Mon Sep 17 00:00:00 2001 From: gitmotion <43588713+gitmotion@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:44:36 -0700 Subject: [PATCH] feat(html-wysiwyg-editor) h3 fix (#1363) --- 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 d3ad3168..9069673c 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',