prosekit/solid/block-handle
BlockHandleAddProps
Props for the BlockHandleAdd component.
BlockHandleDraggableProps
Props for the BlockHandleDraggable component.
BlockHandlePopoverProps
Props for the BlockHandlePopover component.
offset
The distance between the popover and the hovered block.
Type:
number
Default:
4
placement
The placement of the popover, relative to the hovered block.
Type:
Placement
Default:
"left-start"
BlockHandleAdd
ts
function BlockHandleAdd(props: Partial<BlockHandleAddProps> & HTMLAttributes<BlockHandleAdd>): Element
BlockHandleDraggable
ts
function BlockHandleDraggable(props: Partial<BlockHandleDraggableProps> & HTMLAttributes<BlockHandleDraggable>): Element
BlockHandlePopover
ts
function BlockHandlePopover(props: Partial<BlockHandlePopoverProps> & HTMLAttributes<BlockHandlePopover>): Element