Skip to content

Commit

Permalink
Merge branch 'feat/html-wysiwyg-editor-h3-fix' into gitmotion/main
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmotion committed Oct 24, 2024
2 parents b099bf7 + 3aa7f62 commit 72fa5b7
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 72fa5b7

Please sign in to comment.