prosekit/web/block-handle
BlockDragHandleElement
Renames and re-exports BlockDragHandle
BlockHandleAddElement
Renames and re-exports BlockHandleAdd
BlockHandleDraggableElement
Renames and re-exports BlockHandleDraggable
BlockHandlePopoverElement
Renames and re-exports BlockHandlePopover
BlockPopoverElement
Renames and re-exports BlockPopover
BlockDragHandleProps
Deprecated
Use BlockHandleDraggableProps
instead.
Properties
editor
editor:
null
|Editor
<any
>
The ProseKit editor instance.
Default
null
BlockHandleAddProps
Properties
editor
editor:
null
|Editor
<any
>
The ProseKit editor instance.
Default
null
BlockHandleDraggableProps
Properties
editor
editor:
null
|Editor
<any
>
The ProseKit editor instance.
Default
null
BlockHandlePopoverProps
Extends
Properties
editor
editor:
null
|Editor
<any
>
The ProseKit editor instance.
Default
null
Inherited from
offset
offset:
number
The distance between the popover and the hovered block.
Default
4
Inherited from
placement
placement:
Placement
The placement of the popover, relative to the hovered block.
Default
"left-start"
Inherited from
BlockPopoverProps
Extends
Omit
<OverlayPositionerProps
,"placement"
|"offset"
>
Extended by
Properties
editor
editor:
null
|Editor
<any
>
The ProseKit editor instance.
Default
null
offset
offset:
number
The distance between the popover and the hovered block.
Default
4
placement
placement:
Placement
The placement of the popover, relative to the hovered block.
Default
"left-start"
defaultBlockDragHandleProps
const
defaultBlockDragHandleProps:Readonly
<object
>
Type declaration
Name | Type | Default value |
---|---|---|
editor | null | null |
defaultBlockHandleAddProps
const
defaultBlockHandleAddProps:Readonly
<object
>
Type declaration
Name | Type | Default value |
---|---|---|
editor | null | null |
defaultBlockHandleDraggableProps
const
defaultBlockHandleDraggableProps:Readonly
<object
>
Type declaration
Name | Type | Default value |
---|---|---|
editor | null | null |
defaultBlockHandlePopoverProps
const
defaultBlockHandlePopoverProps:Readonly
<object
>
Type declaration
Name | Type | Default value |
---|---|---|
editor | null | null |
offset | 4 | 4 |
placement | "left-start" | 'left-start' |
defaultBlockPopoverProps
const
defaultBlockPopoverProps:Readonly
<object
>
Type declaration
Name | Type | Default value |
---|---|---|
editor | null | null |
offset | 4 | 4 |
placement | "left-start" | 'left-start' |