Skip to content

Commit ea9fc27

Browse files
gitmotiongithub-actions[bot]
authored andcommitted
feat(html-wysiwyg-editor) h3 fix (CorentinTh#1363)
1 parent df0e5e9 commit ea9fc27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/html-wysiwyg-editor/editor/menu-bar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ const items: MenuItem[] = [
8484
type: 'button',
8585
icon: H3,
8686
title: 'Heading 3',
87-
action: () => editor.value.chain().focus().toggleHeading({ level: 4 }).run(),
88-
isActive: () => editor.value.isActive('heading', { level: 4 }),
87+
action: () => editor.value.chain().focus().toggleHeading({ level: 3 }).run(),
88+
isActive: () => editor.value.isActive('heading', { level: 3 }),
8989
},
9090
{
9191
type: 'button',

0 commit comments

Comments
 (0)