@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.
30 lines (29 loc) • 663 B
TypeScript
export interface GridOptions {
size?: number;
visible?: boolean;
type?: 'dot' | 'mesh';
config?: {
color: string;
thickness?: number;
};
}
export interface BackgroundConfig {
color?: string;
image?: string;
repeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
position?: string;
size?: string;
opacity?: number;
}
export interface FlowChartDeps {
LogicFlow: any;
DndPanel: any;
SelectionSelect: any;
Snapshot: any;
}
export interface FlowChartOptions {
grid?: boolean | GridOptions;
background?: boolean | BackgroundConfig;
resize?: boolean;
deps: FlowChartDeps;
}