UNPKG

@kedao/editor

Version:

Rich Text Editor Based On Draft.js

4 lines (3 loc) 206 B
import { EditorState } from 'draft-js'; export declare function addText(editorState: any, bufferText: any): EditorState; export declare function replaceText(editorState: any, bufferText: any): EditorState;