1 |
|
2 |
|
3 |
|
4 |
|
5 | import { EmotionsType, FontSizeConfType, IndentationType } from './menus';
|
6 | import { UploadImageHooksType } from './image';
|
7 | import langConfig from './lang';
|
8 | export declare type DicType = {
|
9 | [key: string]: string;
|
10 | };
|
11 | export declare type ConfigType = {
|
12 | height: number;
|
13 | languageType: string[];
|
14 | languageTab: string;
|
15 | menus: string[];
|
16 | excludeMenus: string[];
|
17 | fontNames: string[];
|
18 | lineHeights: string[];
|
19 | indentation: IndentationType;
|
20 | fontSizes: FontSizeConfType;
|
21 | colors: string[];
|
22 | emotions: EmotionsType[];
|
23 | zIndex: number;
|
24 | onchange: Function;
|
25 | onfocus: Function;
|
26 | onblur: Function;
|
27 | onchangeTimeout: number;
|
28 | pasteFilterStyle: boolean;
|
29 | pasteIgnoreImg: boolean;
|
30 | pasteTextHandle: Function;
|
31 | styleWithCSS: boolean;
|
32 | linkImgCallback: Function;
|
33 | placeholder: string;
|
34 | zIndexFullScreen: number;
|
35 | showFullScreen: boolean;
|
36 | showLinkImg: boolean;
|
37 | uploadImgAccept: string[];
|
38 | uploadImgServer: string;
|
39 | uploadImgShowBase64: boolean;
|
40 | uploadImgMaxSize: number;
|
41 | uploadImgMaxLength: number;
|
42 | uploadFileName: string;
|
43 | uploadImgParams: DicType;
|
44 | uploadImgParamsWithUrl: boolean;
|
45 | uploadImgHeaders: DicType;
|
46 | uploadImgHooks: UploadImageHooksType;
|
47 | uploadImgTimeout: number;
|
48 | withCredentials: boolean;
|
49 | customUploadImg: Function | null;
|
50 | customAlert: Function;
|
51 | onCatalogChange: Function | null;
|
52 | lang: string;
|
53 | languages: typeof langConfig;
|
54 | linkCheck: Function;
|
55 | linkImgCheck: Function;
|
56 | compatibleMode: () => boolean;
|
57 | historyMaxSize: number;
|
58 | focus: boolean;
|
59 | onlineVideoCheck: Function;
|
60 | onlineVideoCallback: Function;
|
61 | };
|
62 | export declare type Resource = {
|
63 | [language: string]: ResourceLanguage;
|
64 | };
|
65 | export declare type ResourceLanguage = {
|
66 | [namespace: string]: ResourceKey;
|
67 | };
|
68 | export declare type ResourceKey = string | {
|
69 | [key: string]: any;
|
70 | };
|
71 | declare const defaultConfig: any;
|
72 | export default defaultConfig;
|