@syncfusion/ej2-richtexteditor 19.3.45 → 19.3.53-6125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1019 -977
- package/README.md +67 -67
- package/dist/ej2-richtexteditor.umd.min.js +1 -10
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +217 -137
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +326 -246
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/license +9 -9
- package/package.json +75 -75
- package/src/common/interface.d.ts +7 -7
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/interface.d.ts +7 -7
- package/src/editor-manager/base/types.d.ts +1 -1
- package/src/editor-manager/plugin/alignments.d.ts +2 -2
- package/src/editor-manager/plugin/alignments.js +2 -2
- package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +1 -1
- package/src/editor-manager/plugin/clearformat.js +1 -1
- package/src/editor-manager/plugin/dom-node.d.ts +34 -34
- package/src/editor-manager/plugin/dom-node.js +34 -34
- package/src/editor-manager/plugin/formats.d.ts +2 -2
- package/src/editor-manager/plugin/formats.js +2 -2
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +3 -3
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +2 -2
- package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
- package/src/editor-manager/plugin/insert-methods.js +4 -4
- package/src/editor-manager/plugin/insert-text.d.ts +2 -2
- package/src/editor-manager/plugin/insert-text.js +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
- package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml.js +13 -3
- package/src/editor-manager/plugin/isformatted.d.ts +8 -8
- package/src/editor-manager/plugin/isformatted.js +8 -8
- package/src/editor-manager/plugin/link.d.ts +2 -2
- package/src/editor-manager/plugin/link.js +2 -2
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +2 -2
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +1 -1
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +6 -6
- package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
- package/src/editor-manager/plugin/selection-commands.js +19 -2
- package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.d.ts +2 -2
- package/src/editor-manager/plugin/table.js +2 -2
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +2 -2
- package/src/editor-manager/plugin/undo.d.ts +6 -6
- package/src/editor-manager/plugin/undo.js +6 -6
- package/src/markdown-parser/base/interface.d.ts +10 -10
- package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
- package/src/markdown-parser/base/markdown-parser.js +3 -3
- package/src/markdown-parser/base/types.d.ts +1 -1
- package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
- package/src/markdown-parser/plugin/clearformat.js +2 -2
- package/src/markdown-parser/plugin/formats.d.ts +2 -2
- package/src/markdown-parser/plugin/formats.js +2 -2
- package/src/markdown-parser/plugin/link.d.ts +2 -2
- package/src/markdown-parser/plugin/link.js +2 -2
- package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
- package/src/markdown-parser/plugin/markdown-selection.js +14 -14
- package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
- package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
- package/src/markdown-parser/plugin/table.d.ts +3 -3
- package/src/markdown-parser/plugin/table.js +3 -3
- package/src/markdown-parser/plugin/undo.d.ts +6 -6
- package/src/markdown-parser/plugin/undo.js +6 -6
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +3 -3
- package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
- package/src/rich-text-editor/actions/color-picker.js +2 -2
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +3 -3
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +12 -2
- package/src/rich-text-editor/actions/enter-key.js +1 -0
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +3 -3
- package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
- package/src/rich-text-editor/actions/html-editor.js +3 -3
- package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +20 -20
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +1 -1
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +10 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +29 -11
- package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
- package/src/rich-text-editor/actions/toolbar.js +13 -13
- package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
- package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
- package/src/rich-text-editor/base/classes.d.ts +107 -107
- package/src/rich-text-editor/base/classes.js +107 -107
- package/src/rich-text-editor/base/constant.d.ts +120 -120
- package/src/rich-text-editor/base/constant.js +120 -120
- package/src/rich-text-editor/base/enum.d.ts +1 -1
- package/src/rich-text-editor/base/enum.js +1 -1
- package/src/rich-text-editor/base/interface.d.ts +47 -45
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +851 -851
- package/src/rich-text-editor/base/rich-text-editor.d.ts +53 -53
- package/src/rich-text-editor/base/rich-text-editor.js +65 -66
- package/src/rich-text-editor/base/util.d.ts +1 -1
- package/src/rich-text-editor/base/util.js +1 -1
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +11 -11
- package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/html-formatter.js +15 -15
- package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
- package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
- package/src/rich-text-editor/models/iframe-settings.js +19 -19
- package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
- package/src/rich-text-editor/models/inline-mode.js +19 -19
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +439 -439
- package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.js +19 -19
- package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/content-renderer.js +6 -6
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
- package/src/rich-text-editor/renderer/image-module.d.ts +3 -1
- package/src/rich-text-editor/renderer/image-module.js +24 -3
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +4 -3
- package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
- package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
- package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
- package/src/rich-text-editor/renderer/render.d.ts +2 -2
- package/src/rich-text-editor/renderer/render.js +2 -2
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +4 -3
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +12 -11
- package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
- package/src/rich-text-editor/renderer/view-source.js +6 -6
- package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
- package/src/rich-text-editor/services/renderer-factory.js +3 -3
- package/src/rich-text-editor/services/service-locator.d.ts +3 -3
- package/src/rich-text-editor/services/service-locator.js +3 -3
- package/src/selection/selection.d.ts +22 -22
- package/src/selection/selection.js +24 -23
- package/styles/_all.scss +2 -2
- package/styles/bootstrap-dark.css +4 -0
- package/styles/bootstrap.css +4 -0
- package/styles/bootstrap4.css +4 -0
- package/styles/bootstrap5-dark.css +4 -0
- package/styles/bootstrap5.css +4 -0
- package/styles/fabric-dark.css +4 -0
- package/styles/fabric.css +4 -0
- package/styles/highcontrast-light.css +4 -0
- package/styles/highcontrast.css +4 -0
- package/styles/material-dark.css +4 -0
- package/styles/material.css +4 -0
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +187 -187
- package/styles/rich-text-editor/_bootstrap-definition.scss +244 -244
- package/styles/rich-text-editor/_bootstrap4-definition.scss +370 -370
- package/styles/rich-text-editor/_bootstrap5-definition.scss +168 -168
- package/styles/rich-text-editor/_fabric-dark-definition.scss +168 -168
- package/styles/rich-text-editor/_fabric-definition.scss +167 -167
- package/styles/rich-text-editor/_highcontrast-definition.scss +167 -167
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +167 -167
- package/styles/rich-text-editor/_layout.scss +1639 -1635
- package/styles/rich-text-editor/_material-dark-definition.scss +172 -172
- package/styles/rich-text-editor/_material-definition.scss +169 -169
- package/styles/rich-text-editor/_tailwind-definition.scss +167 -167
- package/styles/rich-text-editor/_theme.scss +626 -626
- package/styles/rich-text-editor/bootstrap-dark.css +4 -0
- package/styles/rich-text-editor/bootstrap.css +4 -0
- package/styles/rich-text-editor/bootstrap4.css +4 -0
- package/styles/rich-text-editor/bootstrap5-dark.css +4 -0
- package/styles/rich-text-editor/bootstrap5.css +4 -0
- package/styles/rich-text-editor/fabric-dark.css +4 -0
- package/styles/rich-text-editor/fabric.css +4 -0
- package/styles/rich-text-editor/highcontrast-light.css +4 -0
- package/styles/rich-text-editor/highcontrast.css +4 -0
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +304 -304
- package/styles/rich-text-editor/icons/_bootstrap.scss +304 -304
- package/styles/rich-text-editor/icons/_bootstrap4.scss +304 -304
- package/styles/rich-text-editor/icons/_bootstrap5.scss +303 -303
- package/styles/rich-text-editor/icons/_fabric-dark.scss +304 -304
- package/styles/rich-text-editor/icons/_fabric.scss +304 -304
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +304 -304
- package/styles/rich-text-editor/icons/_highcontrast.scss +304 -304
- package/styles/rich-text-editor/icons/_material-dark.scss +304 -304
- package/styles/rich-text-editor/icons/_material.scss +304 -304
- package/styles/rich-text-editor/icons/_tailwind.scss +304 -304
- package/styles/rich-text-editor/material-dark.css +4 -0
- package/styles/rich-text-editor/material.css +4 -0
- package/styles/rich-text-editor/tailwind-dark.css +4 -0
- package/styles/rich-text-editor/tailwind.css +4 -0
- package/styles/tailwind-dark.css +4 -0
- package/styles/tailwind.css +4 -0
- package/.eslintrc.json +0 -244
- package/dist/global/ej2-richtexteditor.min.js +0 -11
- package/dist/global/ej2-richtexteditor.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class ToolbarSettings
|
|
@@ -6,44 +6,44 @@ import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';import {
|
|
|
6
6
|
export interface ToolbarSettingsModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Specifies whether to render toolbar in RichTextEditor.
|
|
10
|
-
*
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
enable?: boolean;
|
|
9
|
+
* Specifies whether to render toolbar in RichTextEditor.
|
|
10
|
+
*
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
enable?: boolean;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Specifies whether to enable/disable floating toolbar.
|
|
17
|
-
*
|
|
18
|
-
* @default true
|
|
19
|
-
*/
|
|
20
|
-
enableFloating?: boolean;
|
|
16
|
+
* Specifies whether to enable/disable floating toolbar.
|
|
17
|
+
*
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
enableFloating?: boolean;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Specifies the Toolbar display types.
|
|
24
|
-
* The possible types are:
|
|
25
|
-
* - Expand: Toolbar items placed within the available space and rest of the items are placed to the extended menu section.
|
|
26
|
-
* - MultiRow: Toolbar which placed at top of Rich Text Editor editing area.
|
|
27
|
-
* - Scrollable: All the toolbar items are displayed in a single line with horizontal scrolling enabled.
|
|
28
|
-
*
|
|
29
|
-
* @default Expand
|
|
30
|
-
*/
|
|
31
|
-
type?: ToolbarType;
|
|
23
|
+
* Specifies the Toolbar display types.
|
|
24
|
+
* The possible types are:
|
|
25
|
+
* - Expand: Toolbar items placed within the available space and rest of the items are placed to the extended menu section.
|
|
26
|
+
* - MultiRow: Toolbar which placed at top of Rich Text Editor editing area.
|
|
27
|
+
* - Scrollable: All the toolbar items are displayed in a single line with horizontal scrolling enabled.
|
|
28
|
+
*
|
|
29
|
+
* @default Expand
|
|
30
|
+
*/
|
|
31
|
+
type?: ToolbarType;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* An array of string or object that is used to configure items.
|
|
35
|
-
*
|
|
36
|
-
* @default ['Bold', 'Italic', 'Underline', '|', 'Formats', 'Alignments', 'OrderedList',
|
|
37
|
-
* 'UnorderedList', '|', 'CreateLink', 'Image', '|', 'SourceCode', 'Undo', 'Redo']
|
|
38
|
-
*/
|
|
39
|
-
items?: (string | IToolbarItems)[];
|
|
34
|
+
* An array of string or object that is used to configure items.
|
|
35
|
+
*
|
|
36
|
+
* @default ['Bold', 'Italic', 'Underline', '|', 'Formats', 'Alignments', 'OrderedList',
|
|
37
|
+
* 'UnorderedList', '|', 'CreateLink', 'Image', '|', 'SourceCode', 'Undo', 'Redo']
|
|
38
|
+
*/
|
|
39
|
+
items?: (string | IToolbarItems)[];
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Using this property, Modify the default toolbar item configuration like icon class.
|
|
43
|
-
*
|
|
44
|
-
* @default {}
|
|
45
|
-
*/
|
|
46
|
-
itemConfigs?: { [key in ToolbarItems]?: IToolsItemConfigs };
|
|
42
|
+
* Using this property, Modify the default toolbar item configuration like icon class.
|
|
43
|
+
*
|
|
44
|
+
* @default {}
|
|
45
|
+
*/
|
|
46
|
+
itemConfigs?: { [key in ToolbarItems]?: IToolsItemConfigs };
|
|
47
47
|
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -53,102 +53,102 @@ export interface ToolbarSettingsModel {
|
|
|
53
53
|
export interface ImageSettingsModel {
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Specifies whether to allowType based file select.
|
|
57
|
-
*
|
|
58
|
-
* @default ['.jpeg', '.jpg', '.png']
|
|
59
|
-
*/
|
|
60
|
-
allowedTypes?: string[];
|
|
56
|
+
* Specifies whether to allowType based file select.
|
|
57
|
+
*
|
|
58
|
+
* @default ['.jpeg', '.jpg', '.png']
|
|
59
|
+
*/
|
|
60
|
+
allowedTypes?: string[];
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Specifies whether insert image inline or break.
|
|
64
|
-
*
|
|
65
|
-
* @default 'inline'
|
|
66
|
-
*/
|
|
67
|
-
display?: string;
|
|
63
|
+
* Specifies whether insert image inline or break.
|
|
64
|
+
*
|
|
65
|
+
* @default 'inline'
|
|
66
|
+
*/
|
|
67
|
+
display?: string;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* Specifies whether the inserted image is saved as blob or base64.
|
|
71
|
-
*
|
|
72
|
-
* @default 'Blob'
|
|
73
|
-
*/
|
|
74
|
-
saveFormat?: SaveFormat;
|
|
70
|
+
* Specifies whether the inserted image is saved as blob or base64.
|
|
71
|
+
*
|
|
72
|
+
* @default 'Blob'
|
|
73
|
+
*/
|
|
74
|
+
saveFormat?: SaveFormat;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Specifies whether image width.
|
|
78
|
-
*
|
|
79
|
-
* @default 'auto'
|
|
80
|
-
*/
|
|
81
|
-
width?: string;
|
|
77
|
+
* Specifies whether image width.
|
|
78
|
+
*
|
|
79
|
+
* @default 'auto'
|
|
80
|
+
*/
|
|
81
|
+
width?: string;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Specifies whether image height.
|
|
85
|
-
*
|
|
86
|
-
* @default 'auto'
|
|
87
|
-
*/
|
|
88
|
-
height?: string;
|
|
84
|
+
* Specifies whether image height.
|
|
85
|
+
*
|
|
86
|
+
* @default 'auto'
|
|
87
|
+
*/
|
|
88
|
+
height?: string;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Specifies the URL of save action that will receive the upload files and save in the server.
|
|
92
|
-
*
|
|
93
|
-
* @default 'null'
|
|
94
|
-
*/
|
|
95
|
-
saveUrl?: string;
|
|
91
|
+
* Specifies the URL of save action that will receive the upload files and save in the server.
|
|
92
|
+
*
|
|
93
|
+
* @default 'null'
|
|
94
|
+
*/
|
|
95
|
+
saveUrl?: string;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* Specifies the path of the location to store the images and refer it to display the images.
|
|
99
|
-
*
|
|
100
|
-
* @default 'null'
|
|
101
|
-
*/
|
|
102
|
-
path?: string;
|
|
98
|
+
* Specifies the path of the location to store the images and refer it to display the images.
|
|
99
|
+
*
|
|
100
|
+
* @default 'null'
|
|
101
|
+
*/
|
|
102
|
+
path?: string;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
* To enable resizing for image element.
|
|
106
|
-
*
|
|
107
|
-
* @default 'true'
|
|
108
|
-
*/
|
|
109
|
-
resize?: boolean;
|
|
105
|
+
* To enable resizing for image element.
|
|
106
|
+
*
|
|
107
|
+
* @default 'true'
|
|
108
|
+
*/
|
|
109
|
+
resize?: boolean;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
* Specifies the URL of remove action that receives the file information and handle the remove operation in server.
|
|
113
|
-
*
|
|
114
|
-
* @default 'null'
|
|
115
|
-
*/
|
|
116
|
-
removeUrl?: string;
|
|
112
|
+
* Specifies the URL of remove action that receives the file information and handle the remove operation in server.
|
|
113
|
+
*
|
|
114
|
+
* @default 'null'
|
|
115
|
+
*/
|
|
116
|
+
removeUrl?: string;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
* Defines the minimum Width of the image.
|
|
120
|
-
*
|
|
121
|
-
* @default '0'
|
|
122
|
-
*/
|
|
123
|
-
minWidth?: string | number;
|
|
119
|
+
* Defines the minimum Width of the image.
|
|
120
|
+
*
|
|
121
|
+
* @default '0'
|
|
122
|
+
*/
|
|
123
|
+
minWidth?: string | number;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* Defines the maximum Width of the image.
|
|
127
|
-
*
|
|
128
|
-
* @default null
|
|
129
|
-
*/
|
|
130
|
-
maxWidth?: string | number;
|
|
126
|
+
* Defines the maximum Width of the image.
|
|
127
|
+
*
|
|
128
|
+
* @default null
|
|
129
|
+
*/
|
|
130
|
+
maxWidth?: string | number;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* Defines the minimum Height of the image.
|
|
134
|
-
*
|
|
135
|
-
* @default '0'
|
|
136
|
-
*/
|
|
137
|
-
minHeight?: string | number;
|
|
133
|
+
* Defines the minimum Height of the image.
|
|
134
|
+
*
|
|
135
|
+
* @default '0'
|
|
136
|
+
*/
|
|
137
|
+
minHeight?: string | number;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* Defines the maximum Height of the image.
|
|
141
|
-
*
|
|
142
|
-
* @default null
|
|
143
|
-
*/
|
|
144
|
-
maxHeight?: string | number;
|
|
140
|
+
* Defines the maximum Height of the image.
|
|
141
|
+
*
|
|
142
|
+
* @default null
|
|
143
|
+
*/
|
|
144
|
+
maxHeight?: string | number;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* image resizing should be done by percentage calculation.
|
|
148
|
-
*
|
|
149
|
-
* @default false
|
|
150
|
-
*/
|
|
151
|
-
resizeByPercent?: boolean;
|
|
147
|
+
* image resizing should be done by percentage calculation.
|
|
148
|
+
*
|
|
149
|
+
* @default false
|
|
150
|
+
*/
|
|
151
|
+
resizeByPercent?: boolean;
|
|
152
152
|
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -158,152 +158,152 @@ export interface ImageSettingsModel {
|
|
|
158
158
|
export interface FileManagerSettingsModel {
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* Specifies the AJAX settings of the file manager.
|
|
162
|
-
*
|
|
163
|
-
* @default {
|
|
164
|
-
* getImageUrl: null;
|
|
165
|
-
* url: null;
|
|
166
|
-
* uploadUrl: null;
|
|
167
|
-
* downloadUrl: null;
|
|
168
|
-
* }
|
|
169
|
-
*/
|
|
170
|
-
ajaxSettings?: AjaxSettingsModel;
|
|
171
|
-
|
|
161
|
+
* Specifies the AJAX settings of the file manager.
|
|
162
|
+
*
|
|
163
|
+
* @default {
|
|
164
|
+
* getImageUrl: null;
|
|
165
|
+
* url: null;
|
|
166
|
+
* uploadUrl: null;
|
|
167
|
+
* downloadUrl: null;
|
|
168
|
+
* }
|
|
169
|
+
*/
|
|
170
|
+
ajaxSettings?: AjaxSettingsModel;
|
|
171
|
+
|
|
172
172
|
/**
|
|
173
|
-
* Enables or disables drag-and-drop of files.
|
|
174
|
-
*
|
|
175
|
-
* @default false
|
|
176
|
-
*/
|
|
177
|
-
allowDragAndDrop?: boolean;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Specifies the context menu settings of the file manager.
|
|
181
|
-
*
|
|
182
|
-
* @default {
|
|
183
|
-
* file: ['Open', '|', 'Cut', 'Copy', '|', 'Delete', 'Rename', '|', 'Details'],
|
|
184
|
-
* folder: ['Open', '|', 'Cut', 'Copy', 'Paste', '|', 'Delete', 'Rename', '|', 'Details'],
|
|
185
|
-
* layout: ['SortBy', 'View', 'Refresh', '|', 'Paste', '|', 'NewFolder', 'Upload', '|', 'Details', '|', 'SelectAll'],
|
|
186
|
-
* visible: true
|
|
187
|
-
* }
|
|
188
|
-
*/
|
|
189
|
-
contextMenuSettings?: ContextMenuSettingsModel;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Specifies the root CSS class of the file manager that allows you to customize the appearance by overriding the styles.
|
|
193
|
-
*
|
|
194
|
-
* @default ''
|
|
195
|
-
*/
|
|
196
|
-
cssClass?: string;
|
|
173
|
+
* Enables or disables drag-and-drop of files.
|
|
174
|
+
*
|
|
175
|
+
* @default false
|
|
176
|
+
*/
|
|
177
|
+
allowDragAndDrop?: boolean;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Specifies the context menu settings of the file manager.
|
|
181
|
+
*
|
|
182
|
+
* @default {
|
|
183
|
+
* file: ['Open', '|', 'Cut', 'Copy', '|', 'Delete', 'Rename', '|', 'Details'],
|
|
184
|
+
* folder: ['Open', '|', 'Cut', 'Copy', 'Paste', '|', 'Delete', 'Rename', '|', 'Details'],
|
|
185
|
+
* layout: ['SortBy', 'View', 'Refresh', '|', 'Paste', '|', 'NewFolder', 'Upload', '|', 'Details', '|', 'SelectAll'],
|
|
186
|
+
* visible: true
|
|
187
|
+
* }
|
|
188
|
+
*/
|
|
189
|
+
contextMenuSettings?: ContextMenuSettingsModel;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Specifies the root CSS class of the file manager that allows you to customize the appearance by overriding the styles.
|
|
193
|
+
*
|
|
194
|
+
* @default ''
|
|
195
|
+
*/
|
|
196
|
+
cssClass?: string;
|
|
197
197
|
|
|
198
|
-
/**
|
|
199
|
-
* Specifies the details view settings of the file manager.
|
|
200
|
-
*
|
|
201
|
-
* @default {
|
|
202
|
-
* columns: [{
|
|
203
|
-
* field: 'name', headerText: 'Name', minWidth: 120, template: '<span class="e-fe-text">${name}</span>',
|
|
204
|
-
* customAttributes: { class: 'e-fe-grid-name'}}, { field: '_fm_modified', headerText: 'DateModified', type: 'dateTime',
|
|
205
|
-
* format: 'MMMM dd, yyyy HH:mm', minWidth: 120, width: '190' }, { field: 'size', headerText: 'Size', minWidth: 90, width: '110',
|
|
206
|
-
* template: '<span class="e-fe-size">${size}</span>'
|
|
207
|
-
* }]
|
|
208
|
-
* }
|
|
209
|
-
*/
|
|
210
|
-
detailsViewSettings?: DetailsViewSettingsModel;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Specifies whether to enable the file manager in RichTextEditor.
|
|
214
|
-
*
|
|
215
|
-
* @default false
|
|
216
|
-
*/
|
|
217
|
-
enable?: boolean;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Specifies the navigation pane settings of the file manager.
|
|
221
|
-
*
|
|
222
|
-
* @default { maxWidth: '650px', minWidth: '240px', visible: true }
|
|
223
|
-
*/
|
|
224
|
-
navigationPaneSettings?: NavigationPaneSettingsModel;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Specifies the current path of the file manager.
|
|
228
|
-
*
|
|
229
|
-
* @default '/'
|
|
230
|
-
*/
|
|
231
|
-
path?: string;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Specifies the root folder alias name in file manager
|
|
235
|
-
*
|
|
236
|
-
* @default null
|
|
237
|
-
*/
|
|
238
|
-
rootAliasName?: string;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Specifies the search settings of the file manager.
|
|
242
|
-
*
|
|
243
|
-
* @default {
|
|
244
|
-
* allowSearchOnTyping: true,
|
|
245
|
-
* filterType: 'contains',
|
|
246
|
-
* ignoreCase: true
|
|
247
|
-
* }
|
|
248
|
-
*/
|
|
249
|
-
searchSettings?: SearchSettingsModel;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Shows or hides the file extension in file manager.
|
|
253
|
-
*
|
|
254
|
-
* @default true
|
|
255
|
-
*/
|
|
256
|
-
showFileExtension?: boolean;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Shows or hides the files and folders that are marked as hidden.
|
|
260
|
-
*
|
|
261
|
-
* @default false
|
|
262
|
-
*/
|
|
263
|
-
showHiddenItems?: boolean;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Shows or hides the thumbnail images in large icons view.
|
|
267
|
-
*
|
|
268
|
-
* @default true
|
|
269
|
-
*/
|
|
270
|
-
showThumbnail?: boolean;
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Specifies a value that indicates whether the folders and files are sorted in the ascending or descending order,
|
|
274
|
-
* or they are not sorted at all. The available types of sort orders are,
|
|
275
|
-
* `None` - Indicates that the folders and files are not sorted.
|
|
276
|
-
* `Ascending` - Indicates that the folders and files are sorted in the ascending order.
|
|
277
|
-
* `Descending` - Indicates that the folders and files are sorted in the descending order.
|
|
278
|
-
*
|
|
279
|
-
* @default 'Ascending'
|
|
280
|
-
*/
|
|
281
|
-
sortOrder?: SortOrder;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Specifies the group of items aligned horizontally in the toolbar.
|
|
285
|
-
*
|
|
286
|
-
* @default { visible: true, items: ['NewFolder', 'Upload', 'Cut', 'Copy', 'Paste', 'Delete', 'Download', 'Rename', 'SortBy', 'Refresh', 'Selection', 'View', 'Details'] }
|
|
287
|
-
*/
|
|
288
|
-
toolbarSettings?: FileToolbarSettingsModel;
|
|
198
|
+
/**
|
|
199
|
+
* Specifies the details view settings of the file manager.
|
|
200
|
+
*
|
|
201
|
+
* @default {
|
|
202
|
+
* columns: [{
|
|
203
|
+
* field: 'name', headerText: 'Name', minWidth: 120, template: '<span class="e-fe-text">${name}</span>',
|
|
204
|
+
* customAttributes: { class: 'e-fe-grid-name'}}, { field: '_fm_modified', headerText: 'DateModified', type: 'dateTime',
|
|
205
|
+
* format: 'MMMM dd, yyyy HH:mm', minWidth: 120, width: '190' }, { field: 'size', headerText: 'Size', minWidth: 90, width: '110',
|
|
206
|
+
* template: '<span class="e-fe-size">${size}</span>'
|
|
207
|
+
* }]
|
|
208
|
+
* }
|
|
209
|
+
*/
|
|
210
|
+
detailsViewSettings?: DetailsViewSettingsModel;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Specifies whether to enable the file manager in RichTextEditor.
|
|
214
|
+
*
|
|
215
|
+
* @default false
|
|
216
|
+
*/
|
|
217
|
+
enable?: boolean;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Specifies the navigation pane settings of the file manager.
|
|
221
|
+
*
|
|
222
|
+
* @default { maxWidth: '650px', minWidth: '240px', visible: true }
|
|
223
|
+
*/
|
|
224
|
+
navigationPaneSettings?: NavigationPaneSettingsModel;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Specifies the current path of the file manager.
|
|
228
|
+
*
|
|
229
|
+
* @default '/'
|
|
230
|
+
*/
|
|
231
|
+
path?: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Specifies the root folder alias name in file manager
|
|
235
|
+
*
|
|
236
|
+
* @default null
|
|
237
|
+
*/
|
|
238
|
+
rootAliasName?: string;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Specifies the search settings of the file manager.
|
|
242
|
+
*
|
|
243
|
+
* @default {
|
|
244
|
+
* allowSearchOnTyping: true,
|
|
245
|
+
* filterType: 'contains',
|
|
246
|
+
* ignoreCase: true
|
|
247
|
+
* }
|
|
248
|
+
*/
|
|
249
|
+
searchSettings?: SearchSettingsModel;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Shows or hides the file extension in file manager.
|
|
253
|
+
*
|
|
254
|
+
* @default true
|
|
255
|
+
*/
|
|
256
|
+
showFileExtension?: boolean;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Shows or hides the files and folders that are marked as hidden.
|
|
260
|
+
*
|
|
261
|
+
* @default false
|
|
262
|
+
*/
|
|
263
|
+
showHiddenItems?: boolean;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Shows or hides the thumbnail images in large icons view.
|
|
267
|
+
*
|
|
268
|
+
* @default true
|
|
269
|
+
*/
|
|
270
|
+
showThumbnail?: boolean;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Specifies a value that indicates whether the folders and files are sorted in the ascending or descending order,
|
|
274
|
+
* or they are not sorted at all. The available types of sort orders are,
|
|
275
|
+
* `None` - Indicates that the folders and files are not sorted.
|
|
276
|
+
* `Ascending` - Indicates that the folders and files are sorted in the ascending order.
|
|
277
|
+
* `Descending` - Indicates that the folders and files are sorted in the descending order.
|
|
278
|
+
*
|
|
279
|
+
* @default 'Ascending'
|
|
280
|
+
*/
|
|
281
|
+
sortOrder?: SortOrder;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Specifies the group of items aligned horizontally in the toolbar.
|
|
285
|
+
*
|
|
286
|
+
* @default { visible: true, items: ['NewFolder', 'Upload', 'Cut', 'Copy', 'Paste', 'Delete', 'Download', 'Rename', 'SortBy', 'Refresh', 'Selection', 'View', 'Details'] }
|
|
287
|
+
*/
|
|
288
|
+
toolbarSettings?: FileToolbarSettingsModel;
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
|
-
* Specifies the upload settings for the file manager.
|
|
292
|
-
*
|
|
293
|
-
* @default { autoUpload: true, minFileSize: 0, maxFileSize: 30000000, allowedExtensions: '', autoClose: false }
|
|
294
|
-
*/
|
|
295
|
-
uploadSettings?: UploadSettingsModel;
|
|
296
|
-
|
|
291
|
+
* Specifies the upload settings for the file manager.
|
|
292
|
+
*
|
|
293
|
+
* @default { autoUpload: true, minFileSize: 0, maxFileSize: 30000000, allowedExtensions: '', autoClose: false }
|
|
294
|
+
*/
|
|
295
|
+
uploadSettings?: UploadSettingsModel;
|
|
296
|
+
|
|
297
297
|
/**
|
|
298
|
-
* Specifies the initial view of the file manager.
|
|
299
|
-
*
|
|
300
|
-
* With the help of this property, initial view can be changed to details or largeicons view. The available views are:
|
|
301
|
-
* * `LargeIcons`
|
|
302
|
-
* * `Details`
|
|
303
|
-
*
|
|
304
|
-
* @default 'LargeIcons'
|
|
305
|
-
*/
|
|
306
|
-
view?: ViewType;
|
|
298
|
+
* Specifies the initial view of the file manager.
|
|
299
|
+
*
|
|
300
|
+
* With the help of this property, initial view can be changed to details or largeicons view. The available views are:
|
|
301
|
+
* * `LargeIcons`
|
|
302
|
+
* * `Details`
|
|
303
|
+
*
|
|
304
|
+
* @default 'LargeIcons'
|
|
305
|
+
*/
|
|
306
|
+
view?: ViewType;
|
|
307
307
|
|
|
308
308
|
}
|
|
309
309
|
|
|
@@ -313,40 +313,40 @@ export interface FileManagerSettingsModel {
|
|
|
313
313
|
export interface TableSettingsModel {
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
|
-
* To specify the width of table
|
|
317
|
-
*
|
|
318
|
-
* @default '100%'
|
|
319
|
-
*/
|
|
320
|
-
width?: string | number;
|
|
316
|
+
* To specify the width of table
|
|
317
|
+
*
|
|
318
|
+
* @default '100%'
|
|
319
|
+
*/
|
|
320
|
+
width?: string | number;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
|
-
* Class name should be appended by default in table element.
|
|
324
|
-
* It helps to design the table in specific CSS styles always when inserting in editor.
|
|
325
|
-
*
|
|
326
|
-
* @default TableStyleItems;
|
|
327
|
-
*/
|
|
328
|
-
styles?: IDropDownItemModel[];
|
|
323
|
+
* Class name should be appended by default in table element.
|
|
324
|
+
* It helps to design the table in specific CSS styles always when inserting in editor.
|
|
325
|
+
*
|
|
326
|
+
* @default TableStyleItems;
|
|
327
|
+
*/
|
|
328
|
+
styles?: IDropDownItemModel[];
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
|
-
* To enable resizing for table element.
|
|
332
|
-
*
|
|
333
|
-
* @default 'true'
|
|
334
|
-
*/
|
|
335
|
-
resize?: boolean;
|
|
331
|
+
* To enable resizing for table element.
|
|
332
|
+
*
|
|
333
|
+
* @default 'true'
|
|
334
|
+
*/
|
|
335
|
+
resize?: boolean;
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
|
-
* Defines the minimum Width of the table.
|
|
339
|
-
*
|
|
340
|
-
* @default '0'
|
|
341
|
-
*/
|
|
342
|
-
minWidth?: string | number;
|
|
338
|
+
* Defines the minimum Width of the table.
|
|
339
|
+
*
|
|
340
|
+
* @default '0'
|
|
341
|
+
*/
|
|
342
|
+
minWidth?: string | number;
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
|
-
* Defines the maximum Width of the table.
|
|
346
|
-
*
|
|
347
|
-
* @default null
|
|
348
|
-
*/
|
|
349
|
-
maxWidth?: string | number;
|
|
345
|
+
* Defines the maximum Width of the table.
|
|
346
|
+
*
|
|
347
|
+
* @default null
|
|
348
|
+
*/
|
|
349
|
+
maxWidth?: string | number;
|
|
350
350
|
|
|
351
351
|
}
|
|
352
352
|
|
|
@@ -356,54 +356,54 @@ export interface TableSettingsModel {
|
|
|
356
356
|
export interface QuickToolbarSettingsModel {
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
|
-
* Specifies whether to enable quick toolbar in RichTextEditor.
|
|
360
|
-
*
|
|
361
|
-
* @default true
|
|
362
|
-
*/
|
|
363
|
-
enable?: boolean;
|
|
359
|
+
* Specifies whether to enable quick toolbar in RichTextEditor.
|
|
360
|
+
*
|
|
361
|
+
* @default true
|
|
362
|
+
*/
|
|
363
|
+
enable?: boolean;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
|
-
* Specifies whether to opens a quick toolbar on the right click.
|
|
367
|
-
*
|
|
368
|
-
* @default false
|
|
369
|
-
*/
|
|
370
|
-
showOnRightClick?: boolean;
|
|
366
|
+
* Specifies whether to opens a quick toolbar on the right click.
|
|
367
|
+
*
|
|
368
|
+
* @default false
|
|
369
|
+
*/
|
|
370
|
+
showOnRightClick?: boolean;
|
|
371
371
|
|
|
372
372
|
/**
|
|
373
|
-
* Specifies the action that should happen when scroll the target-parent container.
|
|
374
|
-
*
|
|
375
|
-
* @default 'hide'
|
|
376
|
-
*/
|
|
377
|
-
actionOnScroll?: ActionOnScroll;
|
|
373
|
+
* Specifies the action that should happen when scroll the target-parent container.
|
|
374
|
+
*
|
|
375
|
+
* @default 'hide'
|
|
376
|
+
*/
|
|
377
|
+
actionOnScroll?: ActionOnScroll;
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
|
-
* Specifies the items to render in quick toolbar, when link selected.
|
|
381
|
-
*
|
|
382
|
-
* @default ['Open', 'Edit', 'UnLink']
|
|
383
|
-
*/
|
|
384
|
-
link?: (string | IToolbarItems)[];
|
|
380
|
+
* Specifies the items to render in quick toolbar, when link selected.
|
|
381
|
+
*
|
|
382
|
+
* @default ['Open', 'Edit', 'UnLink']
|
|
383
|
+
*/
|
|
384
|
+
link?: (string | IToolbarItems)[];
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
|
-
* Specifies the items to render in quick toolbar, when image selected.
|
|
388
|
-
*
|
|
389
|
-
* @default ['Replace', 'Align', 'Caption', 'Remove', '-', 'InsertLink','OpenImageLink', 'EditImageLink', 'RemoveImageLink', 'Display', 'AltText', 'Dimension']
|
|
390
|
-
*/
|
|
391
|
-
image?: (string | IToolbarItems)[];
|
|
387
|
+
* Specifies the items to render in quick toolbar, when image selected.
|
|
388
|
+
*
|
|
389
|
+
* @default ['Replace', 'Align', 'Caption', 'Remove', '-', 'InsertLink','OpenImageLink', 'EditImageLink', 'RemoveImageLink', 'Display', 'AltText', 'Dimension']
|
|
390
|
+
*/
|
|
391
|
+
image?: (string | IToolbarItems)[];
|
|
392
392
|
|
|
393
393
|
/**
|
|
394
|
-
* Specifies the items to render in quick toolbar, when text selected.
|
|
395
|
-
*
|
|
396
|
-
* @default ['Cut', 'Copy', 'Paste']
|
|
397
|
-
|
|
398
|
-
*/
|
|
399
|
-
text?: (string | IToolbarItems)[];
|
|
394
|
+
* Specifies the items to render in quick toolbar, when text selected.
|
|
395
|
+
*
|
|
396
|
+
* @default ['Cut', 'Copy', 'Paste']
|
|
397
|
+
* @deprecated
|
|
398
|
+
*/
|
|
399
|
+
text?: (string | IToolbarItems)[];
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
|
-
* Specifies the items to render in quick toolbar, when table selected.
|
|
403
|
-
*
|
|
404
|
-
* @default ['TableHeader', 'TableRows', 'TableColumns', 'BackgroundColor', '-', 'TableRemove', 'Alignments', 'TableCellVerticalAlign', 'Styles']
|
|
405
|
-
*/
|
|
406
|
-
table?: (string | IToolbarItems)[];
|
|
402
|
+
* Specifies the items to render in quick toolbar, when table selected.
|
|
403
|
+
*
|
|
404
|
+
* @default ['TableHeader', 'TableRows', 'TableColumns', 'BackgroundColor', '-', 'TableRemove', 'Alignments', 'TableCellVerticalAlign', 'Styles']
|
|
405
|
+
*/
|
|
406
|
+
table?: (string | IToolbarItems)[];
|
|
407
407
|
|
|
408
408
|
}
|
|
409
409
|
|
|
@@ -413,46 +413,46 @@ export interface QuickToolbarSettingsModel {
|
|
|
413
413
|
export interface PasteCleanupSettingsModel {
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
|
-
* Specifies whether to enable the prompt for paste in RichTextEditor.
|
|
417
|
-
*
|
|
418
|
-
* @default false
|
|
419
|
-
*/
|
|
420
|
-
prompt?: boolean;
|
|
416
|
+
* Specifies whether to enable the prompt for paste in RichTextEditor.
|
|
417
|
+
*
|
|
418
|
+
* @default false
|
|
419
|
+
*/
|
|
420
|
+
prompt?: boolean;
|
|
421
421
|
|
|
422
422
|
/**
|
|
423
|
-
* Specifies the attributes to restrict when pasting in RichTextEditor.
|
|
424
|
-
*
|
|
425
|
-
* @default null
|
|
426
|
-
*/
|
|
427
|
-
deniedAttrs?: string[];
|
|
423
|
+
* Specifies the attributes to restrict when pasting in RichTextEditor.
|
|
424
|
+
*
|
|
425
|
+
* @default null
|
|
426
|
+
*/
|
|
427
|
+
deniedAttrs?: string[];
|
|
428
428
|
|
|
429
429
|
/**
|
|
430
|
-
* Specifies the allowed style properties when pasting in RichTextEditor.
|
|
431
|
-
*
|
|
432
|
-
* @default ['background', 'background-color', 'border', 'border-bottom', 'border-left', 'border-radius', 'border-right', 'border-style', 'border-top', 'border-width', 'clear', 'color', 'cursor', 'direction', 'display', 'float', 'font', 'font-family', 'font-size', 'font-weight', 'font-style', 'height', 'left', 'line-height', 'margin', 'margin-top', 'margin-left', 'margin-right', 'margin-bottom', 'max-height', 'max-width', 'min-height', 'min-width', 'overflow', 'overflow-x', 'overflow-y', 'padding', 'padding-bottom', 'padding-left', 'padding-right', 'padding-top', 'position', 'right', 'table-layout', 'text-align', 'text-decoration', 'text-indent', 'top', 'vertical-align', 'visibility', 'white-space', 'width']
|
|
433
|
-
*/
|
|
434
|
-
allowedStyleProps?: string[];
|
|
430
|
+
* Specifies the allowed style properties when pasting in RichTextEditor.
|
|
431
|
+
*
|
|
432
|
+
* @default ['background', 'background-color', 'border', 'border-bottom', 'border-left', 'border-radius', 'border-right', 'border-style', 'border-top', 'border-width', 'clear', 'color', 'cursor', 'direction', 'display', 'float', 'font', 'font-family', 'font-size', 'font-weight', 'font-style', 'height', 'left', 'line-height', 'margin', 'margin-top', 'margin-left', 'margin-right', 'margin-bottom', 'max-height', 'max-width', 'min-height', 'min-width', 'overflow', 'overflow-x', 'overflow-y', 'padding', 'padding-bottom', 'padding-left', 'padding-right', 'padding-top', 'position', 'right', 'table-layout', 'text-align', 'text-decoration', 'text-indent', 'top', 'vertical-align', 'visibility', 'white-space', 'width']
|
|
433
|
+
*/
|
|
434
|
+
allowedStyleProps?: string[];
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
* Specifies the tags to restrict when pasting in RichTextEditor.
|
|
438
|
-
*
|
|
439
|
-
* @default null
|
|
440
|
-
*/
|
|
441
|
-
deniedTags?: string[];
|
|
437
|
+
* Specifies the tags to restrict when pasting in RichTextEditor.
|
|
438
|
+
*
|
|
439
|
+
* @default null
|
|
440
|
+
*/
|
|
441
|
+
deniedTags?: string[];
|
|
442
442
|
|
|
443
443
|
/**
|
|
444
|
-
* Specifies whether to keep or remove the format when pasting in RichTextEditor.
|
|
445
|
-
*
|
|
446
|
-
* @default true
|
|
447
|
-
*/
|
|
448
|
-
keepFormat?: boolean;
|
|
444
|
+
* Specifies whether to keep or remove the format when pasting in RichTextEditor.
|
|
445
|
+
*
|
|
446
|
+
* @default true
|
|
447
|
+
*/
|
|
448
|
+
keepFormat?: boolean;
|
|
449
449
|
|
|
450
450
|
/**
|
|
451
|
-
* Specifies whether to paste as plain text or not in RichTextEditor.
|
|
452
|
-
*
|
|
453
|
-
* @default false
|
|
454
|
-
*/
|
|
455
|
-
plainText?: boolean;
|
|
451
|
+
* Specifies whether to paste as plain text or not in RichTextEditor.
|
|
452
|
+
*
|
|
453
|
+
* @default false
|
|
454
|
+
*/
|
|
455
|
+
plainText?: boolean;
|
|
456
456
|
|
|
457
457
|
}
|
|
458
458
|
|
|
@@ -462,25 +462,25 @@ export interface PasteCleanupSettingsModel {
|
|
|
462
462
|
export interface FontFamilyModel {
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
|
-
* Specifies default font family selection
|
|
466
|
-
*
|
|
467
|
-
* @default 'null'
|
|
468
|
-
*/
|
|
469
|
-
default?: string;
|
|
465
|
+
* Specifies default font family selection
|
|
466
|
+
*
|
|
467
|
+
* @default 'null'
|
|
468
|
+
*/
|
|
469
|
+
default?: string;
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
|
-
* Specifies content width
|
|
473
|
-
*
|
|
474
|
-
* @default '65px'
|
|
475
|
-
*/
|
|
476
|
-
width?: string;
|
|
472
|
+
* Specifies content width
|
|
473
|
+
*
|
|
474
|
+
* @default '65px'
|
|
475
|
+
*/
|
|
476
|
+
width?: string;
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
|
-
* Specifies default font family items
|
|
480
|
-
*
|
|
481
|
-
* @default fontFamily
|
|
482
|
-
*/
|
|
483
|
-
items?: IDropDownItemModel[];
|
|
479
|
+
* Specifies default font family items
|
|
480
|
+
*
|
|
481
|
+
* @default fontFamily
|
|
482
|
+
*/
|
|
483
|
+
items?: IDropDownItemModel[];
|
|
484
484
|
|
|
485
485
|
}
|
|
486
486
|
|
|
@@ -490,25 +490,25 @@ export interface FontFamilyModel {
|
|
|
490
490
|
export interface FontSizeModel {
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
|
-
* Specifies default font size selection
|
|
494
|
-
*
|
|
495
|
-
* @default 'null'
|
|
496
|
-
*/
|
|
497
|
-
default?: string;
|
|
493
|
+
* Specifies default font size selection
|
|
494
|
+
*
|
|
495
|
+
* @default 'null'
|
|
496
|
+
*/
|
|
497
|
+
default?: string;
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
|
-
* Specifies content width
|
|
501
|
-
*
|
|
502
|
-
* @default '35px'
|
|
503
|
-
*/
|
|
504
|
-
width?: string;
|
|
500
|
+
* Specifies content width
|
|
501
|
+
*
|
|
502
|
+
* @default '35px'
|
|
503
|
+
*/
|
|
504
|
+
width?: string;
|
|
505
505
|
|
|
506
506
|
/**
|
|
507
|
-
* Specifies default font size items
|
|
508
|
-
*
|
|
509
|
-
* @default fontSize
|
|
510
|
-
*/
|
|
511
|
-
items?: IDropDownItemModel[];
|
|
507
|
+
* Specifies default font size items
|
|
508
|
+
*
|
|
509
|
+
* @default fontSize
|
|
510
|
+
*/
|
|
511
|
+
items?: IDropDownItemModel[];
|
|
512
512
|
|
|
513
513
|
}
|
|
514
514
|
|
|
@@ -518,25 +518,25 @@ export interface FontSizeModel {
|
|
|
518
518
|
export interface FormatModel {
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
|
-
* Specifies default format
|
|
522
|
-
*
|
|
523
|
-
* @default 'null'
|
|
524
|
-
*/
|
|
525
|
-
default?: string;
|
|
521
|
+
* Specifies default format
|
|
522
|
+
*
|
|
523
|
+
* @default 'null'
|
|
524
|
+
*/
|
|
525
|
+
default?: string;
|
|
526
526
|
|
|
527
527
|
/**
|
|
528
|
-
* Specifies content width
|
|
529
|
-
*
|
|
530
|
-
* @default '65px'
|
|
531
|
-
*/
|
|
532
|
-
width?: string;
|
|
528
|
+
* Specifies content width
|
|
529
|
+
*
|
|
530
|
+
* @default '65px'
|
|
531
|
+
*/
|
|
532
|
+
width?: string;
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
|
-
* Specifies default font size items
|
|
536
|
-
*
|
|
537
|
-
* @default formatItems
|
|
538
|
-
*/
|
|
539
|
-
types?: IDropDownItemModel[];
|
|
535
|
+
* Specifies default font size items
|
|
536
|
+
*
|
|
537
|
+
* @default formatItems
|
|
538
|
+
*/
|
|
539
|
+
types?: IDropDownItemModel[];
|
|
540
540
|
|
|
541
541
|
}
|
|
542
542
|
|
|
@@ -546,39 +546,39 @@ export interface FormatModel {
|
|
|
546
546
|
export interface FontColorModel {
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
|
-
* Specifies default font color
|
|
550
|
-
*
|
|
551
|
-
* @default '#ff0000'
|
|
552
|
-
*/
|
|
553
|
-
default?: string;
|
|
549
|
+
* Specifies default font color
|
|
550
|
+
*
|
|
551
|
+
* @default '#ff0000'
|
|
552
|
+
*/
|
|
553
|
+
default?: string;
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
|
-
* Specifies mode
|
|
557
|
-
*
|
|
558
|
-
* @default 'Palette'
|
|
559
|
-
*/
|
|
560
|
-
mode?: ColorModeType;
|
|
556
|
+
* Specifies mode
|
|
557
|
+
*
|
|
558
|
+
* @default 'Palette'
|
|
559
|
+
*/
|
|
560
|
+
mode?: ColorModeType;
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
* Specifies columns
|
|
564
|
-
*
|
|
565
|
-
* @default 10
|
|
566
|
-
*/
|
|
567
|
-
columns?: number;
|
|
563
|
+
* Specifies columns
|
|
564
|
+
*
|
|
565
|
+
* @default 10
|
|
566
|
+
*/
|
|
567
|
+
columns?: number;
|
|
568
568
|
|
|
569
569
|
/**
|
|
570
|
-
* Specifies color code customization
|
|
571
|
-
*
|
|
572
|
-
* @default fontColor
|
|
573
|
-
*/
|
|
574
|
-
colorCode?: { [key: string]: string[] };
|
|
570
|
+
* Specifies color code customization
|
|
571
|
+
*
|
|
572
|
+
* @default fontColor
|
|
573
|
+
*/
|
|
574
|
+
colorCode?: { [key: string]: string[] };
|
|
575
575
|
|
|
576
576
|
/**
|
|
577
|
-
* Specifies modeSwitcher button
|
|
578
|
-
*
|
|
579
|
-
* @default false
|
|
580
|
-
*/
|
|
581
|
-
modeSwitcher?: boolean;
|
|
577
|
+
* Specifies modeSwitcher button
|
|
578
|
+
*
|
|
579
|
+
* @default false
|
|
580
|
+
*/
|
|
581
|
+
modeSwitcher?: boolean;
|
|
582
582
|
|
|
583
583
|
}
|
|
584
584
|
|
|
@@ -588,39 +588,39 @@ export interface FontColorModel {
|
|
|
588
588
|
export interface BackgroundColorModel {
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
|
-
* Specifies default font color
|
|
592
|
-
*
|
|
593
|
-
* @default '#ffff00'
|
|
594
|
-
*/
|
|
595
|
-
default?: string;
|
|
591
|
+
* Specifies default font color
|
|
592
|
+
*
|
|
593
|
+
* @default '#ffff00'
|
|
594
|
+
*/
|
|
595
|
+
default?: string;
|
|
596
596
|
|
|
597
597
|
/**
|
|
598
|
-
* Specifies mode
|
|
599
|
-
*
|
|
600
|
-
* @default 'Palette'
|
|
601
|
-
*/
|
|
602
|
-
mode?: ColorModeType;
|
|
598
|
+
* Specifies mode
|
|
599
|
+
*
|
|
600
|
+
* @default 'Palette'
|
|
601
|
+
*/
|
|
602
|
+
mode?: ColorModeType;
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
|
-
* Specifies columns
|
|
606
|
-
*
|
|
607
|
-
* @default 10
|
|
608
|
-
*/
|
|
609
|
-
columns?: number;
|
|
605
|
+
* Specifies columns
|
|
606
|
+
*
|
|
607
|
+
* @default 10
|
|
608
|
+
*/
|
|
609
|
+
columns?: number;
|
|
610
610
|
|
|
611
611
|
/**
|
|
612
|
-
* Specifies color code customization
|
|
613
|
-
*
|
|
614
|
-
* @default backgroundColor
|
|
615
|
-
*/
|
|
616
|
-
colorCode?: { [key: string]: string[] };
|
|
612
|
+
* Specifies color code customization
|
|
613
|
+
*
|
|
614
|
+
* @default backgroundColor
|
|
615
|
+
*/
|
|
616
|
+
colorCode?: { [key: string]: string[] };
|
|
617
617
|
|
|
618
618
|
/**
|
|
619
|
-
* Specifies a modeSwitcher button
|
|
620
|
-
*
|
|
621
|
-
* @default false
|
|
622
|
-
*/
|
|
623
|
-
modeSwitcher?: boolean;
|
|
619
|
+
* Specifies a modeSwitcher button
|
|
620
|
+
*
|
|
621
|
+
* @default false
|
|
622
|
+
*/
|
|
623
|
+
modeSwitcher?: boolean;
|
|
624
624
|
|
|
625
625
|
}
|
|
626
626
|
|
|
@@ -630,11 +630,11 @@ export interface BackgroundColorModel {
|
|
|
630
630
|
export interface NumberFormatListModel {
|
|
631
631
|
|
|
632
632
|
/**
|
|
633
|
-
* Specifies default numberFormatList items
|
|
634
|
-
*
|
|
635
|
-
* @default numberFormatList
|
|
636
|
-
*/
|
|
637
|
-
types?: IListDropDownModel[];
|
|
633
|
+
* Specifies default numberFormatList items
|
|
634
|
+
*
|
|
635
|
+
* @default numberFormatList
|
|
636
|
+
*/
|
|
637
|
+
types?: IListDropDownModel[];
|
|
638
638
|
|
|
639
639
|
}
|
|
640
640
|
|
|
@@ -644,10 +644,10 @@ export interface NumberFormatListModel {
|
|
|
644
644
|
export interface BulletFormatListModel {
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
|
-
* Specifies default numberFormatList items
|
|
648
|
-
*
|
|
649
|
-
* @default bulletFormatList
|
|
650
|
-
*/
|
|
651
|
-
types?: IListDropDownModel[];
|
|
647
|
+
* Specifies default numberFormatList items
|
|
648
|
+
*
|
|
649
|
+
* @default bulletFormatList
|
|
650
|
+
*/
|
|
651
|
+
types?: IListDropDownModel[];
|
|
652
652
|
|
|
653
653
|
}
|