Skip to content

BlockSuite API Documentation / @blocksuite/lit / RangeSyncFilter

Interface: RangeSyncFilter

Contents

Properties

rangeToTextSelection?

rangeToTextSelection?: (range) => boolean

Parameters

range: null | Range

Returns

boolean

Source

packages/lit/src/utils/range-synchronizer.ts:15


textSelectionToRange?

textSelectionToRange?: (selection) => boolean

Parameters

selection: null | TextSelection

Returns

boolean

Source

packages/lit/src/utils/range-synchronizer.ts:16


Generated using typedoc-plugin-markdown and TypeDoc