prosekit/vue/inline-popover
InlinePopoverEmits
Emits for the InlinePopover component.
openChange: (event: boolean) => void
Fired when the open state changes.
InlinePopoverProps
Props for the InlinePopover component.
defaultOpen?: boolean
Whether the popover is open by default when some inline content is selected.
When
defaultOpen
is true, the popover will open or close based on the inline selection. WhendefaultOpen
is false, the popover will never be opened unless theopen
prop is true.Default:
true
dismissOnEscape?: boolean
Whether the inline popover should be dismissed when the editor receives an Escape key press.
Default:
true
hide?: boolean
Default:
true
inline?: boolean
Default:
true
offset?: OffsetOptions
Default:
12
open?: boolean
Whether the popover is open.
Notice that the popover will be always hidden if the inline selection is empty.
Default:
false
overflowPadding?: number
Default:
8
overlap?: boolean
Default:
true
placement?: Placement
Default:
"top"
InlinePopover
Type: DefineSetupFnComponent<InlinePopoverProps & HTMLAttributes, InlinePopoverEmits>