@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
6 lines (5 loc) • 907 B
TypeScript
import { RelativeRange } from './module/custom-types';
import { CursorEditor, CursorState, CursorStateChangeEvent, RemoteCursorChangeEventListener, withCursors, WithCursorsOptions, withYHistory, WithYHistoryOptions, withYjs, WithYjsOptions, YHistoryEditor, YjsEditor } from './plugins';
import { slateNodesToInsertDelta, yTextToSlateElement } from './utils/convert';
import { relativePositionToSlatePoint, relativeRangeToSlateRange, slatePointToRelativePosition, slateRangeToRelativeRange } from './utils/position';
export { CursorEditor, CursorState, CursorStateChangeEvent, relativePositionToSlatePoint, RelativeRange, relativeRangeToSlateRange, RemoteCursorChangeEventListener, slateNodesToInsertDelta, slatePointToRelativePosition, slateRangeToRelativeRange, withCursors, WithCursorsOptions, withYHistory, WithYHistoryOptions, withYjs, WithYjsOptions, YHistoryEditor, YjsEditor, yTextToSlateElement, };