draft-js-image-render-plugin
Version:
draft-js-image-render-plugin
14 lines (13 loc) • 511 B
TypeScript
import { EditorState } from 'draft-js';
export declare const imageRenderPlugin: {
blockRendererFn: (block: Draft.Model.ImmutableData.ContentBlock, pluginFunctions: {
getEditorState: () => EditorState;
setEditorState: (editorState: EditorState) => void;
}) => void;
initialize: (pluginFunctions: {
getEditorState: () => EditorState;
setEditorState: (editorState: EditorState) => void;
}) => void;
};
declare const Editor: () => JSX.Element;
export default Editor;