@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.
37 lines (36 loc) • 858 B
TypeScript
export interface OverlayOptions {
className: string;
style: Record<string, string>;
}
export interface ResizeOptions {
handleClassName: string;
handleStyle: Record<string, string>;
}
export interface AlignOptions {
attribute: string;
aligner: {
applyStyle: boolean;
};
icons: {
left: string;
center: string;
right: string;
};
toolbar: {
allowDeselect: boolean;
mainClassName: string;
mainStyle: any;
buttonClassName: string;
addButtonSelectStyle: boolean;
buttonStyle: any;
svgStyle: any;
};
}
export interface Options {
specs: any;
overlay: OverlayOptions;
align: AlignOptions;
resize: ResizeOptions;
}
declare const DefaultOptions: Options;
export default DefaultOptions;