diff --git a/src/components/Tiptap/BubbleMenu.vue b/src/components/Tiptap/BubbleMenu.vue index 8fcc118..7ac042a 100644 --- a/src/components/Tiptap/BubbleMenu.vue +++ b/src/components/Tiptap/BubbleMenu.vue @@ -7,7 +7,6 @@ const { editor } = defineProps<{ editor: Editor }>() const url = ref('') const showUrlInput = ref(false) -const placeholder = ref('Add Link to text') const inputUrl = ref(null) const openLinkInput = () => { @@ -115,7 +114,7 @@ const setLink = () => { ref="inputUrl" v-model.trim="url" class="input input-sm focus:outline-none" - :placeholder="placeholder" + placeholder="Add Link to text" @blur="showUrlInput = false" >