@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.
58 lines (57 loc) • 1.56 kB
TypeScript
export declare const BIG_DELTA_LIMIT = 2000;
export declare const CHANGE_LANGUAGE_EVENT = "change-language";
export declare const defaultLanguage = "zh-CN";
export declare const IMAGE_UPLOADER_MIME_TYPES: string[];
export declare const OTHER_FILE_UPLOADER_MIME_TYPES: string[];
export declare const AUDIO_VIDEO_UPLOADER_MIME_TYPES: string[];
export declare const DOC_UPLOADER_MIME_TYPES: string[];
export declare const XSL_UPLOADER_MIME_TYPES: string[];
export declare const PPT_UPLOADER_MIME_TYPES: string[];
export declare const COMPRESSED_UPLOADER_MIME_TYPES: string[];
export declare const FILE_UPLOADER_MIME_TYPES: string[];
export declare const DEFAULT_TOOLBAR: (string[] | {
header: any[];
}[] | {
list: string;
}[])[];
export declare const FULL_TOOLBAR: (({
header: (number | boolean)[];
font?: undefined;
size?: undefined;
'line-height'?: undefined;
} | {
font: (string | boolean)[];
header?: undefined;
size?: undefined;
'line-height'?: undefined;
} | {
size: (string | boolean)[];
header?: undefined;
font?: undefined;
'line-height'?: undefined;
} | {
'line-height': (string | boolean)[];
header?: undefined;
font?: undefined;
size?: undefined;
})[] | ({
color: any[];
background?: undefined;
} | {
background: any[];
color?: undefined;
})[] | ({
align: string[];
} | {
align: string;
})[] | {
list: string;
}[] | {
script: string;
}[] | {
indent: string;
}[] | {
direction: string;
}[] | (string | {
'table-up': any[];
})[])[];