Skip to content

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
ts
null

BlockHandleAddProps

Properties

editor

editor: null | Editor<any>

The ProseKit editor instance.

Default
ts
null

BlockHandleDraggableProps

Properties

editor

editor: null | Editor<any>

The ProseKit editor instance.

Default
ts
null

BlockHandlePopoverProps

Extends

Properties

editor

editor: null | Editor<any>

The ProseKit editor instance.

Default
ts
null
Inherited from

BlockPopoverProps.editor

offset

offset: number

The distance between the popover and the hovered block.

Default
ts
4
Inherited from

BlockPopoverProps.offset

placement

placement: Placement

The placement of the popover, relative to the hovered block.

Default
ts
"left-start"
Inherited from

BlockPopoverProps.placement


BlockPopoverProps

Extends

  • Omit<OverlayPositionerProps, "placement" | "offset">

Extended by

Properties

editor

editor: null | Editor<any>

The ProseKit editor instance.

Default
ts
null

offset

offset: number

The distance between the popover and the hovered block.

Default
ts
4

placement

placement: Placement

The placement of the popover, relative to the hovered block.

Default
ts
"left-start"

defaultBlockDragHandleProps

const defaultBlockDragHandleProps: Readonly<object>

Type declaration

NameTypeDefault value
editornullnull

defaultBlockHandleAddProps

const defaultBlockHandleAddProps: Readonly<object>

Type declaration

NameTypeDefault value
editornullnull

defaultBlockHandleDraggableProps

const defaultBlockHandleDraggableProps: Readonly<object>

Type declaration

NameTypeDefault value
editornullnull

defaultBlockHandlePopoverProps

const defaultBlockHandlePopoverProps: Readonly<object>

Type declaration

NameTypeDefault value
editornullnull
offset44
placement"left-start"'left-start'

defaultBlockPopoverProps

const defaultBlockPopoverProps: Readonly<object>

Type declaration

NameTypeDefault value
editornullnull
offset44
placement"left-start"'left-start'