Skip to content

Commit

Permalink
hide floating menu
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 19, 2024
1 parent 1e1a026 commit 01f2f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/TiptapEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ onMounted(() => {
</button>
</BubbleMenu>

<FloatingMenu :tippy-options="{ duration: 100 }" :editor="editor">
<!-- <FloatingMenu :tippy-options="{ duration: 100 }" :editor="editor">
<button @click="editor.chain().focus().toggleHeading({ level: 1 }).run()"
:class="editor.isActive('heading', { level: 1 }) ? 'is-active' : ''">
H1
Expand All @@ -114,7 +114,7 @@ onMounted(() => {
:class="editor.isActive('bulletList') ? 'is-active' : ''">
Bullet list
</button>
</FloatingMenu>
</FloatingMenu> -->

<editor-content class="main-group" :editor="editor" />

Expand Down

0 comments on commit 01f2f7e

Please sign in to comment.