diff --git a/composables/tiptap/suggestion.ts b/composables/tiptap/suggestion.ts index f21fafa2..04e8ea1a 100644 --- a/composables/tiptap/suggestion.ts +++ b/composables/tiptap/suggestion.ts @@ -109,7 +109,7 @@ function createSuggestionRenderer(component: Component): SuggestionOptions['rend popup = tippy(document.body, { getReferenceClientRect: props.clientRect as GetReferenceClientRect, appendTo: () => document.body, - content: renderer.element || undefined /* tiptap prefers undefined to null */, + content: () => renderer.element!, showOnCreate: true, interactive: true, trigger: 'manual',