UNPKG

edit-on-slate

Version:

Slate 기반의 직관적이고 강력한 리액트 텍스트 에디터 라이브러리

15 lines (14 loc) 1.1 kB
import '../fonts.css'; export { Editor } from '../components/Editor'; export type { EditorProps } from '../components/Editor'; export { Toolbar } from '../components/Editor/Toolbar'; export { ReadOnlyEditor } from '../components/Editor/ReadOnlyEditor'; export type { ReadOnlyEditorProps } from '../components/Editor/ReadOnlyEditor'; export { toggleMark, isMarkActive, toggleBlock, isBlockActive } from '../utils/editorUtils'; export { isFontLoaded, waitForFont, loadFontStylesheet, loadDefaultFonts } from '../utils/fontLoader'; export type { CustomEditor, CustomElement, CustomText } from '../utils/types'; export { withShortcuts } from '../plugins/withShortcuts'; export { createEditor, Editor as SlateEditor, Element as SlateElement, Node, Path, Point, Range, Text, Transforms } from 'slate'; export { Editable, ReactEditor, Slate, useSelected, useFocused, useSlate, useSlateStatic, withReact } from 'slate-react'; export { HistoryEditor, withHistory } from 'slate-history'; export type { BaseEditor, Descendant, Editor as SlateEditorType, Element, NodeEntry, Operation, Selection } from 'slate';