1
0

chore: fix tiptap types

This commit is contained in:
Daniel Roe 2024-08-16 17:05:59 +01:00
parent d6c62719bc
commit 70291d932e
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -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,
content: renderer.element || undefined /* tiptap prefers undefined to null */,
showOnCreate: true,
interactive: true,
trigger: 'manual',