index.d.ts 431 Bytes
Newer Older
qianyuheng committed
1 2 3 4 5 6 7 8 9 10 11 12
import EditorCore from './EditorCore';
declare const toEditorState: typeof EditorCore.ToEditorState;
declare const EditorCorePublic: {
    EditorCore: typeof EditorCore;
    GetText: (editorState: any, options?: {
        encode: boolean;
    }) => string;
    GetHTML: (editorState: any) => any;
    toEditorState: (text: string) => any;
};
export { EditorCore, GetText, GetHTML, toEditorState };
export default EditorCorePublic;