@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,33 +1,33 @@
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 __assign = (this && this.__assign) || function () {
15
- __assign = Object.assign || function(t) {
16
- for (var s, i = 1, n = arguments.length; i < n; i++) {
17
- s = arguments[i];
18
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
19
- t[p] = s[p];
20
- }
21
- return t;
22
- };
23
- return __assign.apply(this, arguments);
24
- };
25
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
26
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
27
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
28
- 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;
29
- return c > 3 && r && Object.defineProperty(target, key, r), r;
30
- };
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 __assign = (this && this.__assign) || function () {
15
+ __assign = Object.assign || function(t) {
16
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
17
+ s = arguments[i];
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
19
+ t[p] = s[p];
20
+ }
21
+ return t;
22
+ };
23
+ return __assign.apply(this, arguments);
24
+ };
25
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
26
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
27
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
28
+ 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;
29
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
30
+ };
31
31
  import { Component, EventHandler, Complex, Browser, addClass, select, detach } from '@syncfusion/ej2-base';
32
32
  import { Property, NotifyPropertyChanges, formatUnit, L10n, closest } from '@syncfusion/ej2-base';
33
33
  import { setStyleAttribute, Event, removeClass, print as printWindow, attributes } from '@syncfusion/ej2-base';
@@ -75,17 +75,17 @@ var RichTextEditor = /** @class */ (function (_super) {
75
75
  _this.isResizeInitialized = false;
76
76
  /**
77
77
  * @hidden
78
-
78
+ * @deprecated
79
79
  */
80
80
  _this.isFocusOut = false;
81
81
  /**
82
82
  * @hidden
83
-
83
+ * @deprecated
84
84
  */
85
85
  _this.isRTE = false;
86
86
  /**
87
87
  * @hidden
88
-
88
+ * @deprecated
89
89
  */
90
90
  _this.isBlur = true;
91
91
  _this.needsID = true;
@@ -96,7 +96,7 @@ var RichTextEditor = /** @class */ (function (_super) {
96
96
  *
97
97
  * @returns {ModuleDeclaration[]} - specifies the declaration.
98
98
  * @hidden
99
-
99
+ * @deprecated
100
100
  */
101
101
  RichTextEditor.prototype.requiredModules = function () {
102
102
  var modules = [];
@@ -163,7 +163,7 @@ var RichTextEditor = /** @class */ (function (_super) {
163
163
  *
164
164
  * @returns {void}
165
165
  * @hidden
166
-
166
+ * @deprecated
167
167
  */
168
168
  RichTextEditor.prototype.setEnable = function () {
169
169
  this.updateEnable();
@@ -246,7 +246,7 @@ var RichTextEditor = /** @class */ (function (_super) {
246
246
  *
247
247
  * @returns {void}
248
248
  * @hidden
249
-
249
+ * @deprecated
250
250
  */
251
251
  RichTextEditor.prototype.getPersistData = function () {
252
252
  return this.addOnPersist(['value']);
@@ -423,7 +423,7 @@ var RichTextEditor = /** @class */ (function (_super) {
423
423
  *
424
424
  * @returns {void}
425
425
  * @private
426
-
426
+ * @deprecated
427
427
  */
428
428
  RichTextEditor.prototype.render = function () {
429
429
  if (this.value && !this.valueTemplate) {
@@ -457,7 +457,7 @@ var RichTextEditor = /** @class */ (function (_super) {
457
457
  *
458
458
  * @returns {void}
459
459
  * @private
460
-
460
+ * @deprecated
461
461
  * @hidden
462
462
  */
463
463
  RichTextEditor.prototype.eventInitializer = function () {
@@ -469,7 +469,7 @@ var RichTextEditor = /** @class */ (function (_super) {
469
469
  * @param {KeyboardEvent} e - specifies the event.
470
470
  * @returns {void}
471
471
  * @private
472
-
472
+ * @deprecated
473
473
  * @hidden
474
474
  */
475
475
  RichTextEditor.prototype.keyDown = function (e) {
@@ -571,7 +571,7 @@ var RichTextEditor = /** @class */ (function (_super) {
571
571
  * @param {string} value - specifies the value.
572
572
  * @returns {void}
573
573
  * @hidden
574
-
574
+ * @deprecated
575
575
  */
576
576
  RichTextEditor.prototype.serializeValue = function (value) {
577
577
  if (this.editorMode === 'HTML' && !isNOU(value)) {
@@ -601,7 +601,7 @@ var RichTextEditor = /** @class */ (function (_super) {
601
601
  * @param {string} value - specifies the string value.
602
602
  * @returns {void}
603
603
  * @hidden
604
-
604
+ * @deprecated
605
605
  */
606
606
  RichTextEditor.prototype.updateValue = function (value) {
607
607
  if (isNOU(value)) {
@@ -663,7 +663,7 @@ var RichTextEditor = /** @class */ (function (_super) {
663
663
  * @param {Function} module - specifies the module function.
664
664
  * @returns {void}
665
665
  * @hidden
666
-
666
+ * @deprecated
667
667
  */
668
668
  RichTextEditor.prototype.ensureModuleInjected = function (module) {
669
669
  return this.getInjectedModules().indexOf(module) >= 0;
@@ -671,7 +671,7 @@ var RichTextEditor = /** @class */ (function (_super) {
671
671
  /**
672
672
  * @returns {void}
673
673
  * @hidden
674
-
674
+ * @deprecated
675
675
  */
676
676
  RichTextEditor.prototype.onCopy = function () {
677
677
  this.contentModule.getDocument().execCommand('copy', false, null);
@@ -679,7 +679,7 @@ var RichTextEditor = /** @class */ (function (_super) {
679
679
  /**
680
680
  * @returns {void}
681
681
  * @hidden
682
-
682
+ * @deprecated
683
683
  */
684
684
  RichTextEditor.prototype.onCut = function () {
685
685
  this.contentModule.getDocument().execCommand('cut', false, null);
@@ -688,7 +688,7 @@ var RichTextEditor = /** @class */ (function (_super) {
688
688
  * @param {KeyboardEvent} e - specifies the keyboard event.
689
689
  * @returns {void}
690
690
  * @hidden
691
-
691
+ * @deprecated
692
692
  */
693
693
  RichTextEditor.prototype.onPaste = function (e) {
694
694
  var _this = this;
@@ -747,7 +747,7 @@ var RichTextEditor = /** @class */ (function (_super) {
747
747
  * @param {MouseEvent} event - specifies the event.
748
748
  * @returns {void}
749
749
  * @hidden
750
-
750
+ * @deprecated
751
751
  */
752
752
  RichTextEditor.prototype.clipboardAction = function (action, event) {
753
753
  switch (action.toLowerCase()) {
@@ -932,7 +932,7 @@ var RichTextEditor = /** @class */ (function (_super) {
932
932
  *
933
933
  * @returns {void}
934
934
  * @private
935
-
935
+ * @deprecated
936
936
  */
937
937
  RichTextEditor.prototype.getModuleName = function () {
938
938
  return 'richtexteditor';
@@ -944,7 +944,7 @@ var RichTextEditor = /** @class */ (function (_super) {
944
944
  * @param {RichTextEditorModel} oldProp - specifies the old property.
945
945
  * @returns {void}
946
946
  * @hidden
947
-
947
+ * @deprecated
948
948
  */
949
949
  RichTextEditor.prototype.onPropertyChanged = function (newProp, oldProp) {
950
950
  for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
@@ -1089,7 +1089,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1089
1089
  /**
1090
1090
  * @hidden
1091
1091
  * @returns {void}
1092
-
1092
+ * @deprecated
1093
1093
  */
1094
1094
  RichTextEditor.prototype.updateValueData = function () {
1095
1095
  if (this.enableHtmlEncode) {
@@ -1176,7 +1176,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1176
1176
  *
1177
1177
  * @returns {void}
1178
1178
  * @hidden
1179
-
1179
+ * @deprecated
1180
1180
  */
1181
1181
  RichTextEditor.prototype.setPlaceHolder = function () {
1182
1182
  if (this.inputElement && this.placeholder && this.iframeSettings.enable !== true) {
@@ -1241,7 +1241,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1241
1241
  * @param {boolean} initial - specifies the boolean value
1242
1242
  * @returns {void}
1243
1243
  * @hidden
1244
-
1244
+ * @deprecated
1245
1245
  */
1246
1246
  RichTextEditor.prototype.setReadOnly = function (initial) {
1247
1247
  this.updateReadOnly();
@@ -1341,7 +1341,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1341
1341
  *
1342
1342
  * @returns {void}
1343
1343
  * @public
1344
-
1344
+ * @deprecated
1345
1345
  */
1346
1346
  RichTextEditor.prototype.getRange = function () {
1347
1347
  return this.formatter.editorManager.nodeSelection.getRange(this.contentModule.getDocument());
@@ -1431,8 +1431,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1431
1431
  this.setProperties({ value: this.valueTemplate });
1432
1432
  }
1433
1433
  else {
1434
- var compiledString = compile(this.valueTemplate);
1435
- var compiledTemplate = compiledString({});
1434
+ var compiledTemplate = compile(this.valueTemplate)('', this, 'valueTemplate');
1436
1435
  for (var i = 0; i < compiledTemplate.length; i++) {
1437
1436
  var item = compiledTemplate[i];
1438
1437
  append([item], this.element);
@@ -1461,7 +1460,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1461
1460
  *
1462
1461
  * @returns {void}
1463
1462
  * @hidden
1464
-
1463
+ * @deprecated
1465
1464
  */
1466
1465
  RichTextEditor.prototype.getInsertImgMaxWidth = function () {
1467
1466
  var maxWidth = this.insertImageSettings.maxWidth;
@@ -1482,7 +1481,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1482
1481
  * @param {boolean} isExpand - specifies the bollean value.
1483
1482
  * @returns {void}
1484
1483
  * @hidden
1485
-
1484
+ * @deprecated
1486
1485
  */
1487
1486
  RichTextEditor.prototype.setContentHeight = function (target, isExpand) {
1488
1487
  var heightValue;
@@ -1628,7 +1627,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1628
1627
  /**
1629
1628
  * @returns {void}
1630
1629
  * @hidden
1631
-
1630
+ * @deprecated
1632
1631
  */
1633
1632
  RichTextEditor.prototype.getBaseToolbarObject = function () {
1634
1633
  var tbObj;
@@ -1643,7 +1642,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1643
1642
  /**
1644
1643
  * @returns {void}
1645
1644
  * @hidden
1646
-
1645
+ * @deprecated
1647
1646
  */
1648
1647
  RichTextEditor.prototype.getToolbar = function () {
1649
1648
  return this.toolbarModule ? this.toolbarModule.getToolbarElement() : null;
@@ -1651,7 +1650,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1651
1650
  /**
1652
1651
  * @returns {void}
1653
1652
  * @hidden
1654
-
1653
+ * @deprecated
1655
1654
  */
1656
1655
  RichTextEditor.prototype.getToolbarElement = function () {
1657
1656
  return this.toolbarModule && this.toolbarModule.getToolbarElement();
@@ -1661,7 +1660,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1661
1660
  * getID method
1662
1661
  *
1663
1662
  * @hidden
1664
-
1663
+ * @deprecated
1665
1664
  */
1666
1665
  RichTextEditor.prototype.getID = function () {
1667
1666
  return (this.originalElement.tagName === 'TEXTAREA' ? this.valueContainer.id : this.element.id);
@@ -1684,7 +1683,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1684
1683
  * @param {FocusEvent} e - specifies the event.
1685
1684
  * @returns {void}
1686
1685
  * @hidden
1687
-
1686
+ * @deprecated
1688
1687
  */
1689
1688
  // eslint-disable-next-line
1690
1689
  RichTextEditor.prototype.preventDefaultResize = function (e) {
@@ -1876,7 +1875,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1876
1875
  *
1877
1876
  * @returns {void}
1878
1877
  * @hidden
1879
-
1878
+ * @deprecated
1880
1879
  */
1881
1880
  RichTextEditor.prototype.contentChanged = function () {
1882
1881
  if (this.autoSaveOnIdle) {
@@ -1891,7 +1890,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1891
1890
  *
1892
1891
  * @returns {void}
1893
1892
  * @hidden
1894
-
1893
+ * @deprecated
1895
1894
  */
1896
1895
  RichTextEditor.prototype.invokeChangeEvent = function () {
1897
1896
  var currentValue;
@@ -1912,7 +1911,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1912
1911
  /**
1913
1912
  * @returns {void}
1914
1913
  * @hidden
1915
-
1914
+ * @deprecated
1916
1915
  */
1917
1916
  RichTextEditor.prototype.wireScrollElementsEvents = function () {
1918
1917
  this.scrollParentElements = getScrollableParent(this.element);
@@ -1941,7 +1940,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1941
1940
  /**
1942
1941
  * @returns {void}
1943
1942
  * @hidden
1944
-
1943
+ * @deprecated
1945
1944
  */
1946
1945
  RichTextEditor.prototype.unWireScrollElementsEvents = function () {
1947
1946
  this.scrollParentElements = getScrollableParent(this.element);
@@ -1971,7 +1970,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1971
1970
  /**
1972
1971
  * @returns {void}
1973
1972
  * @hidden
1974
-
1973
+ * @deprecated
1975
1974
  */
1976
1975
  RichTextEditor.prototype.autoResize = function () {
1977
1976
  var _this = this;
@@ -88,7 +88,7 @@ export declare function updateUndoRedoStatus(baseToolbar: BaseToolbar, undoRedoS
88
88
  * @param {string} type - specifies the string type.
89
89
  * @returns {void}
90
90
  * @hidden
91
-
91
+ * @deprecated
92
92
  */
93
93
  export declare function dispatchEvent(element: Element | HTMLDocument, type: string): void;
94
94
  /**
@@ -316,7 +316,7 @@ export function updateUndoRedoStatus(baseToolbar, undoRedoStatus) {
316
316
  * @param {string} type - specifies the string type.
317
317
  * @returns {void}
318
318
  * @hidden
319
-
319
+ * @deprecated
320
320
  */
321
321
  export function dispatchEvent(element, type) {
322
322
  var evt = document.createEvent('HTMLEvents');
@@ -7,7 +7,7 @@ import { IHtmlUndoRedoData } from '../../editor-manager/base/interface';
7
7
  * Formatter
8
8
  *
9
9
  * @hidden
10
-
10
+ * @deprecated
11
11
  */
12
12
  export declare class Formatter {
13
13
  editorManager: IEditorModel;
@@ -21,7 +21,7 @@ export declare class Formatter {
21
21
  * @param {IItemCollectionArgs} value - specifies the collection arguments
22
22
  * @returns {void}
23
23
  * @hidden
24
-
24
+ * @deprecated
25
25
  */
26
26
  process(self: IRichTextEditor, args: ActionBeginEventArgs, event: MouseEvent | KeyboardEvent, value: IItemCollectionArgs): void;
27
27
  private getAncestorNode;
@@ -32,7 +32,7 @@ export declare class Formatter {
32
32
  * @param {KeyboardEvent} e - specifies the keyboard event.
33
33
  * @returns {void}
34
34
  * @hidden
35
-
35
+ * @deprecated
36
36
  */
37
37
  onKeyHandler(self: IRichTextEditor, e: KeyboardEvent): void;
38
38
  /**
@@ -42,7 +42,7 @@ export declare class Formatter {
42
42
  * @param {IMarkdownFormatterCallBack} events - specifies the event call back
43
43
  * @returns {void}
44
44
  * @hidden
45
-
45
+ * @deprecated
46
46
  */
47
47
  onSuccess(self: IRichTextEditor, events: IMarkdownFormatterCallBack | IHtmlFormatterCallBack): void;
48
48
  /**
@@ -51,7 +51,7 @@ export declare class Formatter {
51
51
  * @param {KeyboardEvent} e - specifies the keyboard event.
52
52
  * @returns {void}
53
53
  * @hidden
54
-
54
+ * @deprecated
55
55
  */
56
56
  saveData(e?: KeyboardEvent | MouseEvent | IUndoCallBack): void;
57
57
  /**
@@ -59,7 +59,7 @@ export declare class Formatter {
59
59
  *
60
60
  * @returns {void}
61
61
  * @hidden
62
-
62
+ * @deprecated
63
63
  */
64
64
  getUndoStatus(): {
65
65
  [key: string]: boolean;
@@ -70,7 +70,7 @@ export declare class Formatter {
70
70
  * @param {IHtmlUndoRedoData} - specifies the redo data.
71
71
  * @returns {void}
72
72
  * @hidden
73
-
73
+ * @deprecated
74
74
  */
75
75
  getUndoRedoStack(): IHtmlUndoRedoData[] | MarkdownUndoRedoData[];
76
76
  /**
@@ -79,7 +79,7 @@ export declare class Formatter {
79
79
  * @param {IRichTextEditor} self - specifies the self element.
80
80
  * @returns {void}
81
81
  * @hidden
82
-
82
+ * @deprecated
83
83
  */
84
84
  enableUndo(self: IRichTextEditor): void;
85
85
  }
@@ -6,7 +6,7 @@ import { KEY_DOWN, KEY_UP } from './../../common/constant';
6
6
  * Formatter
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  var Formatter = /** @class */ (function () {
12
12
  function Formatter() {
@@ -20,7 +20,7 @@ var Formatter = /** @class */ (function () {
20
20
  * @param {IItemCollectionArgs} value - specifies the collection arguments
21
21
  * @returns {void}
22
22
  * @hidden
23
-
23
+ * @deprecated
24
24
  */
25
25
  Formatter.prototype.process = function (self, args, event, value) {
26
26
  var _this = this;
@@ -127,7 +127,7 @@ var Formatter = /** @class */ (function () {
127
127
  * @param {KeyboardEvent} e - specifies the keyboard event.
128
128
  * @returns {void}
129
129
  * @hidden
130
-
130
+ * @deprecated
131
131
  */
132
132
  Formatter.prototype.onKeyHandler = function (self, e) {
133
133
  var _this = this;
@@ -145,7 +145,7 @@ var Formatter = /** @class */ (function () {
145
145
  * @param {IMarkdownFormatterCallBack} events - specifies the event call back
146
146
  * @returns {void}
147
147
  * @hidden
148
-
148
+ * @deprecated
149
149
  */
150
150
  Formatter.prototype.onSuccess = function (self, events) {
151
151
  self.notify(CONSTANT.contentChanged, {});
@@ -176,7 +176,7 @@ var Formatter = /** @class */ (function () {
176
176
  * @param {KeyboardEvent} e - specifies the keyboard event.
177
177
  * @returns {void}
178
178
  * @hidden
179
-
179
+ * @deprecated
180
180
  */
181
181
  Formatter.prototype.saveData = function (e) {
182
182
  this.editorManager.undoRedoManager.saveData(e);
@@ -186,7 +186,7 @@ var Formatter = /** @class */ (function () {
186
186
  *
187
187
  * @returns {void}
188
188
  * @hidden
189
-
189
+ * @deprecated
190
190
  */
191
191
  Formatter.prototype.getUndoStatus = function () {
192
192
  return this.editorManager.undoRedoManager.getUndoStatus();
@@ -198,7 +198,7 @@ var Formatter = /** @class */ (function () {
198
198
  * @param {IHtmlUndoRedoData} - specifies the redo data.
199
199
  * @returns {void}
200
200
  * @hidden
201
-
201
+ * @deprecated
202
202
  */
203
203
  /* eslint-enable */
204
204
  Formatter.prototype.getUndoRedoStack = function () {
@@ -210,7 +210,7 @@ var Formatter = /** @class */ (function () {
210
210
  * @param {IRichTextEditor} self - specifies the self element.
211
211
  * @returns {void}
212
212
  * @hidden
213
-
213
+ * @deprecated
214
214
  */
215
215
  Formatter.prototype.enableUndo = function (self) {
216
216
  var status = this.getUndoStatus();
@@ -4,7 +4,7 @@ import { IEditorModel, IHtmlFormatterModel } from './../base/interface';
4
4
  * HTML adapter
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  export declare class HTMLFormatter extends Formatter {
10
10
  keyConfig: {
@@ -24,7 +24,7 @@ export declare class HTMLFormatter extends Formatter {
24
24
  * @param {number} options - specifies the options
25
25
  * @returns {void}
26
26
  * @hidden
27
-
27
+ * @deprecated
28
28
  */
29
29
  updateFormatter(editElement: Element, doc?: Document, options?: {
30
30
  [key: string]: number;
@@ -1,16 +1,16 @@
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
- })();
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
14
  import { Formatter } from './formatter';
15
15
  import { EditorManager } from './../../editor-manager/base/editor-manager';
16
16
  import { extend } from '@syncfusion/ej2-base';
@@ -19,7 +19,7 @@ import { htmlKeyConfig } from './../../common/config';
19
19
  * HTML adapter
20
20
  *
21
21
  * @hidden
22
-
22
+ * @deprecated
23
23
  */
24
24
  var HTMLFormatter = /** @class */ (function (_super) {
25
25
  __extends(HTMLFormatter, _super);
@@ -43,7 +43,7 @@ var HTMLFormatter = /** @class */ (function (_super) {
43
43
  * @param {number} options - specifies the options
44
44
  * @returns {void}
45
45
  * @hidden
46
-
46
+ * @deprecated
47
47
  */
48
48
  HTMLFormatter.prototype.updateFormatter = function (editElement, doc, options) {
49
49
  if (editElement && doc) {
@@ -4,7 +4,7 @@ import { IEditorModel, IMarkdownFormatterModel } from './../base/interface';
4
4
  * Markdown adapter
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  export declare class MarkdownFormatter extends Formatter {
10
10
  keyConfig: {
@@ -31,7 +31,7 @@ export declare class MarkdownFormatter extends Formatter {
31
31
  * @param {number} options - specifies the options
32
32
  * @returns {void}
33
33
  * @hidden
34
-
34
+ * @deprecated
35
35
  */
36
36
  updateFormatter(editElement: Element, doc?: Document, options?: {
37
37
  [key: string]: number;
@@ -1,16 +1,16 @@
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
- })();
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
14
  import { Formatter } from './formatter';
15
15
  import { MarkdownParser } from './../../markdown-parser/base/markdown-parser';
16
16
  import { extend } from '@syncfusion/ej2-base';
@@ -19,7 +19,7 @@ import { markdownKeyConfig, markdownListsTags, markdownFormatTags, markdownSelec
19
19
  * Markdown adapter
20
20
  *
21
21
  * @hidden
22
-
22
+ * @deprecated
23
23
  */
24
24
  var MarkdownFormatter = /** @class */ (function (_super) {
25
25
  __extends(MarkdownFormatter, _super);
@@ -46,7 +46,7 @@ var MarkdownFormatter = /** @class */ (function (_super) {
46
46
  * @param {number} options - specifies the options
47
47
  * @returns {void}
48
48
  * @hidden
49
-
49
+ * @deprecated
50
50
  */
51
51
  MarkdownFormatter.prototype.updateFormatter = function (editElement, doc, options) {
52
52
  if (editElement) {