@syncfusion/ej2-richtexteditor 19.3.46 → 19.3.47-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.
Files changed (192) hide show
  1. package/CHANGELOG.md +999 -977
  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 +174 -131
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +283 -240
  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 +55 -74
  12. package/src/common/interface.d.ts +7 -7
  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 +3 -3
  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 +2 -2
  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 +2 -2
  45. package/src/editor-manager/plugin/lists.d.ts +2 -2
  46. package/src/editor-manager/plugin/lists.js +2 -2
  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 +1 -1
  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 +1 -1
  52. package/src/editor-manager/plugin/selection-commands.js +19 -2
  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 +2 -2
  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 +1 -1
  75. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  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/enter-key.js +1 -0
  91. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  92. package/src/rich-text-editor/actions/full-screen.js +3 -3
  93. package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
  94. package/src/rich-text-editor/actions/html-editor.js +3 -3
  95. package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
  96. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  97. package/src/rich-text-editor/actions/keyboard.js +20 -20
  98. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  99. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  100. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
  101. package/src/rich-text-editor/actions/paste-clean-up.js +1 -1
  102. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  103. package/src/rich-text-editor/actions/quick-toolbar.js +14 -11
  104. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  105. package/src/rich-text-editor/actions/toolbar.js +13 -13
  106. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  107. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  108. package/src/rich-text-editor/base/classes.d.ts +107 -107
  109. package/src/rich-text-editor/base/classes.js +107 -107
  110. package/src/rich-text-editor/base/constant.d.ts +120 -120
  111. package/src/rich-text-editor/base/constant.js +120 -120
  112. package/src/rich-text-editor/base/enum.d.ts +1 -1
  113. package/src/rich-text-editor/base/enum.js +1 -1
  114. package/src/rich-text-editor/base/interface.d.ts +45 -45
  115. package/src/rich-text-editor/base/interface.js +1 -1
  116. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +851 -851
  117. package/src/rich-text-editor/base/rich-text-editor.d.ts +53 -53
  118. package/src/rich-text-editor/base/rich-text-editor.js +65 -66
  119. package/src/rich-text-editor/base/util.d.ts +1 -1
  120. package/src/rich-text-editor/base/util.js +1 -1
  121. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  122. package/src/rich-text-editor/formatter/formatter.js +8 -8
  123. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  124. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  125. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  126. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  127. package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
  128. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  129. package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
  130. package/src/rich-text-editor/models/inline-mode.js +19 -19
  131. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +439 -439
  132. package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
  133. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  134. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  135. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  136. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  137. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  138. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  139. package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
  140. package/src/rich-text-editor/renderer/image-module.d.ts +3 -1
  141. package/src/rich-text-editor/renderer/image-module.js +24 -3
  142. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  143. package/src/rich-text-editor/renderer/link-module.js +4 -3
  144. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  145. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  146. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  147. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  148. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  149. package/src/rich-text-editor/renderer/render.js +2 -2
  150. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  151. package/src/rich-text-editor/renderer/table-module.js +4 -3
  152. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
  153. package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
  154. package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
  155. package/src/rich-text-editor/renderer/view-source.js +6 -6
  156. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  157. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  158. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  159. package/src/rich-text-editor/services/service-locator.js +3 -3
  160. package/src/selection/selection.d.ts +22 -22
  161. package/src/selection/selection.js +22 -22
  162. package/styles/_all.scss +2 -2
  163. package/styles/rich-text-editor/_all.scss +2 -2
  164. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +187 -187
  165. package/styles/rich-text-editor/_bootstrap-definition.scss +244 -244
  166. package/styles/rich-text-editor/_bootstrap4-definition.scss +370 -370
  167. package/styles/rich-text-editor/_bootstrap5-definition.scss +168 -168
  168. package/styles/rich-text-editor/_fabric-dark-definition.scss +168 -168
  169. package/styles/rich-text-editor/_fabric-definition.scss +167 -167
  170. package/styles/rich-text-editor/_highcontrast-definition.scss +167 -167
  171. package/styles/rich-text-editor/_highcontrast-light-definition.scss +167 -167
  172. package/styles/rich-text-editor/_layout.scss +1635 -1635
  173. package/styles/rich-text-editor/_material-dark-definition.scss +172 -172
  174. package/styles/rich-text-editor/_material-definition.scss +169 -169
  175. package/styles/rich-text-editor/_tailwind-definition.scss +167 -167
  176. package/styles/rich-text-editor/_theme.scss +626 -626
  177. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +304 -304
  178. package/styles/rich-text-editor/icons/_bootstrap.scss +304 -304
  179. package/styles/rich-text-editor/icons/_bootstrap4.scss +304 -304
  180. package/styles/rich-text-editor/icons/_bootstrap5.scss +303 -303
  181. package/styles/rich-text-editor/icons/_fabric-dark.scss +304 -304
  182. package/styles/rich-text-editor/icons/_fabric.scss +304 -304
  183. package/styles/rich-text-editor/icons/_highcontrast-light.scss +304 -304
  184. package/styles/rich-text-editor/icons/_highcontrast.scss +304 -304
  185. package/styles/rich-text-editor/icons/_material-dark.scss +304 -304
  186. package/styles/rich-text-editor/icons/_material.scss +304 -304
  187. package/styles/rich-text-editor/icons/_tailwind.scss +304 -304
  188. package/.eslintrc.json +0 -244
  189. package/dist/global/ej2-richtexteditor.min.js +0 -11
  190. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  191. package/dist/global/index.d.ts +0 -14
  192. 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 Resources
@@ -6,18 +6,18 @@ import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
6
6
  export interface ResourcesModel {
7
7
 
8
8
  /**
9
- * Specifies styles that inject into iframe.
10
- *
11
- * @default []
12
- */
13
- styles?: string[];
9
+ * Specifies styles that inject into iframe.
10
+ *
11
+ * @default []
12
+ */
13
+ styles?: string[];
14
14
 
15
15
  /**
16
- * Specifies scripts that inject into iframe.
17
- *
18
- * @default []
19
- */
20
- scripts?: string[];
16
+ * Specifies scripts that inject into iframe.
17
+ *
18
+ * @default []
19
+ */
20
+ scripts?: string[];
21
21
 
22
22
  }
23
23
 
@@ -27,24 +27,24 @@ export interface ResourcesModel {
27
27
  export interface IFrameSettingsModel {
28
28
 
29
29
  /**
30
- * Specifies whether to render iframe based editable element in RTE.
31
- *
32
- * @default false
33
- */
34
- enable?: boolean;
30
+ * Specifies whether to render iframe based editable element in RTE.
31
+ *
32
+ * @default false
33
+ */
34
+ enable?: boolean;
35
35
 
36
36
  /**
37
- * Defines additional attributes to render iframe.
38
- *
39
- * @default 'null'
40
- */
41
- attributes?: { [key: string]: string };
37
+ * Defines additional attributes to render iframe.
38
+ *
39
+ * @default 'null'
40
+ */
41
+ attributes?: { [key: string]: string };
42
42
 
43
43
  /**
44
- * The object used for inject styles and scripts.
45
- *
46
- * @default {}
47
- */
48
- resources?: ResourcesModel;
44
+ * The object used for inject styles and scripts.
45
+ *
46
+ * @default {}
47
+ */
48
+ resources?: ResourcesModel;
49
49
 
50
50
  }
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Objects used for configuring the iframe resources properties.
@@ -1,4 +1,4 @@
1
- import { Property, ChildProperty } from '@syncfusion/ej2-base';
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class InlineMode
@@ -6,17 +6,17 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
6
6
  export interface InlineModeModel {
7
7
 
8
8
  /**
9
- * Specifies whether enable/disable inline toolbar in RTE.
10
- *
11
- * @default false
12
- */
13
- enable?: boolean;
9
+ * Specifies whether enable/disable inline toolbar in RTE.
10
+ *
11
+ * @default false
12
+ */
13
+ enable?: boolean;
14
14
 
15
15
  /**
16
- * Specifies the inline toolbar render based on with or without selection.
17
- *
18
- * @default true
19
- */
20
- onSelection?: boolean;
16
+ * Specifies the inline toolbar render based on with or without selection.
17
+ *
18
+ * @default true
19
+ */
20
+ onSelection?: boolean;
21
21
 
22
22
  }
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Configures the inlineMode property of the RTE.