UNPKG

@portabletext/editor

Version:

Portable Text Editor made in React

82 lines (81 loc) 2.56 kB
export type {Patch} from '@portabletext/patches' export type { PortableTextBlock, PortableTextChild, PortableTextSpan, } from '@sanity/types' export type {Editor, EditorConfig, EditorEvent} from './editor' export {EditorEventListener} from './editor-event-listener' export {PortableTextEditable} from './editor/Editable' export type {PortableTextEditableProps} from './editor/Editable' export type {PatchesEvent} from './editor/editor-machine' export { EditorProvider, type EditorProviderProps, } from './editor/editor-provider' export { defineSchema, type BaseDefinition, type SchemaDefinition, } from './editor/editor-schema' export type {EditorSchema} from './editor/editor-schema' export {useEditorSelector, type EditorSelector} from './editor/editor-selector' export type {EditorContext, EditorSnapshot} from './editor/editor-snapshot' export {usePortableTextEditor} from './editor/hooks/usePortableTextEditor' export {usePortableTextEditorSelection} from './editor/hooks/usePortableTextEditorSelection' export {defaultKeyGenerator as keyGenerator} from './editor/key-generator' export {PortableTextEditor} from './editor/PortableTextEditor' export type {PortableTextEditorProps} from './editor/PortableTextEditor' export type {EditorEmittedEvent, MutationEvent} from './editor/relay-machine' export {useEditor} from './editor/use-editor' export type {AddedAnnotationPaths} from './operations/behavior.operation.annotation.add' export type {BlockOffset} from './types/block-offset' export type { BlockAnnotationRenderProps, BlockChildRenderProps, BlockDecoratorRenderProps, BlockListItemRenderProps, BlockRenderProps, BlockStyleRenderProps, BlurChange, ConnectionChange, EditableAPI, EditableAPIDeleteOptions, EditorChange, EditorChanges, EditorSelection, EditorSelectionPoint, ErrorChange, FocusChange, InvalidValue, InvalidValueResolution, LoadingChange, MutationChange, OnBeforeInputFn, OnCopyFn, OnPasteFn, OnPasteResult, OnPasteResultOrPromise, PasteData, PatchChange, PatchObservable, PortableTextMemberSchemaTypes, RangeDecoration, RangeDecorationOnMovedDetails, ReadyChange, RedoChange, RenderAnnotationFunction, RenderBlockFunction, RenderChildFunction, RenderDecoratorFunction, RenderEditableFunction, RenderListItemFunction, RenderPlaceholderFunction, RenderStyleFunction, ScrollSelectionIntoViewFunction, SelectionChange, UndoChange, UnsetChange, ValueChange, } from './types/editor' export type {HotkeyOptions} from './types/options'