Skip to content

BlockSuite API Documentation / @blocksuite/block-std / SelectionExtension

Function: SelectionExtension()

SelectionExtension(selectionCtor): ExtensionType

Parameters

selectionCtor: SelectionConstructor

Returns

ExtensionType

Defined in

packages/framework/block-std/src/extension/selection.ts:6