Skip to content

Commit

Permalink
feat(html-wysiwyg-editor) h3 fix (CorentinTh#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmotion authored and github-actions[bot] committed Oct 25, 2024
1 parent df0e5e9 commit ea9fc27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/html-wysiwyg-editor/editor/menu-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ea9fc27

Please sign in to comment.