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 | fontNames: string[];
|
17 | lineHeights: string[];
|
18 | indentation: IndentationType;
|
19 | fontSizes: FontSizeConfType;
|
20 | colors: string[];
|
21 | emotions: EmotionsType[];
|
22 | zIndex: number;
|
23 | onchange: Function;
|
24 | onfocus: Function;
|
25 | onblur: Function;
|
26 | onchangeTimeout: number;
|
27 | pasteFilterStyle: boolean;
|
28 | pasteIgnoreImg: boolean;
|
29 | pasteTextHandle: Function;
|
30 | styleWithCSS: boolean;
|
31 | linkImgCallback: Function;
|
32 | placeholder: string;
|
33 | zIndexFullScreen: number;
|
34 | showFullScreen: boolean;
|
35 | showLinkImg: boolean;
|
36 | uploadImgAccept: string[];
|
37 | uploadImgServer: string;
|
38 | uploadImgShowBase64: boolean;
|
39 | uploadImgMaxSize: number;
|
40 | uploadImgMaxLength: number;
|
41 | uploadFileName: string;
|
42 | uploadImgParams: DicType;
|
43 | uploadImgParamsWithUrl: boolean;
|
44 | uploadImgHeaders: DicType;
|
45 | uploadImgHooks: UploadImageHooksType;
|
46 | uploadImgTimeout: number;
|
47 | withCredentials: boolean;
|
48 | customUploadImg: Function | null;
|
49 | customAlert: Function;
|
50 | onCatalogChange: Function | null;
|
51 | lang: string;
|
52 | languages: typeof langConfig;
|
53 | linkCheck: Function;
|
54 | linkImgCheck: Function;
|
55 | compatibleMode: () => boolean;
|
56 | historyMaxSize: number;
|
57 | focus: boolean;
|
58 | };
|
59 | export declare type Resource = {
|
60 | [language: string]: ResourceLanguage;
|
61 | };
|
62 | export declare type ResourceLanguage = {
|
63 | [namespace: string]: ResourceKey;
|
64 | };
|
65 | export declare type ResourceKey = string | {
|
66 | [key: string]: any;
|
67 | };
|
68 | declare const defaultConfig: any;
|
69 | export default defaultConfig;
|