@rtdui/editor
Version:
React rich text editor based on tiptap
12 lines (11 loc) • 407 B
TypeScript
export interface RichTextEditorProps extends React.ComponentPropsWithoutRef<"div"> {
editable?: boolean;
placeholder?: string;
uploadImageUrl?: string;
imageResizable?: boolean;
slots?: {
toolbar?: string;
content?: string;
};
}
export declare const RichTextEditor: import("react").ForwardRefExoticComponent<RichTextEditorProps & import("react").RefAttributes<any>>;