@opentiny/fluent-editor
Version:
A rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It's powerful and out-of-the-box.
28 lines (27 loc) • 633 B
TypeScript
export interface BackgroundConfig {
color?: string;
image?: string;
repeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
position?: string;
size?: string;
}
export interface LineConfig {
color?: string;
width?: number;
dasharray?: string;
style?: 'curve' | 'straight' | 'direct';
}
export interface MindMapDeps {
SimpleMindMap: any;
Themes: any;
Drag: any;
Export: any;
nodeIconList: any;
}
export interface MindMapOptions {
background?: boolean | BackgroundConfig;
resize?: boolean;
line?: boolean | LineConfig;
theme?: string;
deps?: MindMapDeps;
}