import { RenderItemProps } from '../../RenderItem'; import { IEditorConfig, IToolbarConfig } from '@wangeditor/editor'; import '@wangeditor/editor/dist/css/style.css'; import './index.less'; export interface ItemEditorProps extends RenderItemProps { modeType?: 'default' | 'simple'; config?: IEditorConfig; toolbarConfig?: IToolbarConfig; zIndex?: number; height?: string | number; uploadUrl?: string; uploadResult?: (res: any) => { url: string; alt?: string; href?: string; }; onChange?: (value: any, content: any, editor: any) => void; onBlur?: (value: any, content: any, editor: any) => void; } declare const ItemEditor: (props: ItemEditorProps) => JSX.Element; export default ItemEditor;