UNPKG

@portabletext/editor

Version:

Portable Text Editor made in React

25 lines (24 loc) 1.45 kB
export { blockOffsetToSpanSelectionPoint, spanSelectionPointToBlockOffset, } from './util.block-offset' export {blockOffsetToBlockSelectionPoint} from './util.block-offset-to-block-selection-point' export {blockOffsetToSelectionPoint} from './util.block-offset-to-selection-point' export {blockOffsetsToSelection} from './util.block-offsets-to-selection' export {childSelectionPointToBlockOffset} from './util.child-selection-point-to-block-offset' export {getBlockEndPoint} from './util.get-block-end-point' export {getBlockStartPoint} from './util.get-block-start-point' export {getSelectionEndPoint} from './util.get-selection-end-point' export {getSelectionStartPoint} from './util.get-selection-start-point' export {getTextBlockText} from './util.get-text-block-text' export {isEmptyTextBlock} from './util.is-empty-text-block' export {isEqualSelectionPoints} from './util.is-equal-selection-points' export {isEqualSelections} from './util.is-equal-selections' export {isKeyedSegment} from './util.is-keyed-segment' export {isSelectionCollapsed} from './util.is-selection-collapsed' export {isSpan, isTextBlock} from '@portabletext/schema' export {mergeTextBlocks} from './util.merge-text-blocks' export {reverseSelection} from './util.reverse-selection' export {selectionPointToBlockOffset} from './util.selection-point-to-block-offset' export {sliceBlocks} from './util.slice-blocks' export {splitTextBlock} from './util.split-text-block'