@syncfusion/ej2-richtexteditor 18.4.39 → 18.4.42-70943

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