@rtdui/editor
Version:
React rich text editor based on tiptap
14 lines (13 loc) • 419 B
TypeScript
export interface RichTextEditorProps extends React.ComponentProps<"div"> {
editable?: boolean;
placeholder?: string;
/** 内容文字限制长度 */
limit?: number;
uploadImageUrl?: string;
imageResizable?: boolean;
slots?: {
toolbar?: string;
content?: string;
};
}
export declare function RichTextEditor(props: RichTextEditorProps): import("react").JSX.Element | null;