@syncfusion/ej2-richtexteditor 28.1.36 → 28.1.38-680214

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 (183) hide show
  1. package/README.md +1 -1
  2. package/dist/ej2-richtexteditor.min.js +1 -1
  3. package/dist/ej2-richtexteditor.umd.min.js +1 -1
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +221 -167
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +221 -167
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-richtexteditor.min.js +1 -1
  10. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  11. package/package.json +59 -82
  12. package/src/common/interface.d.ts +8 -8
  13. package/src/common/util.d.ts +1 -2
  14. package/src/common/util.js +49 -95
  15. package/src/editor-manager/base/classes.d.ts +1 -1
  16. package/src/editor-manager/base/classes.js +1 -1
  17. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  18. package/src/editor-manager/base/editor-manager.js +3 -3
  19. package/src/editor-manager/base/enum.d.ts +2 -2
  20. package/src/editor-manager/base/interface.d.ts +17 -9
  21. package/src/editor-manager/base/types.d.ts +1 -1
  22. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  23. package/src/editor-manager/plugin/alignments.js +2 -2
  24. package/src/editor-manager/plugin/audio.d.ts +3 -3
  25. package/src/editor-manager/plugin/audio.js +3 -3
  26. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  27. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  28. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  29. package/src/editor-manager/plugin/clearformat.js +1 -1
  30. package/src/editor-manager/plugin/dom-node.d.ts +36 -36
  31. package/src/editor-manager/plugin/dom-node.js +36 -36
  32. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  33. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  34. package/src/editor-manager/plugin/formats.d.ts +2 -2
  35. package/src/editor-manager/plugin/formats.js +2 -2
  36. package/src/editor-manager/plugin/image.d.ts +3 -3
  37. package/src/editor-manager/plugin/image.js +3 -3
  38. package/src/editor-manager/plugin/indents.d.ts +2 -2
  39. package/src/editor-manager/plugin/indents.js +2 -2
  40. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  41. package/src/editor-manager/plugin/insert-methods.js +4 -4
  42. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  43. package/src/editor-manager/plugin/insert-text.js +2 -2
  44. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  45. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  46. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  47. package/src/editor-manager/plugin/inserthtml.js +5 -5
  48. package/src/editor-manager/plugin/isformatted.d.ts +9 -9
  49. package/src/editor-manager/plugin/isformatted.js +9 -9
  50. package/src/editor-manager/plugin/link.d.ts +2 -2
  51. package/src/editor-manager/plugin/link.js +2 -2
  52. package/src/editor-manager/plugin/lists.d.ts +3 -2
  53. package/src/editor-manager/plugin/lists.js +15 -3
  54. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  55. package/src/editor-manager/plugin/ms-word-clean-up.js +1 -1
  56. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  57. package/src/editor-manager/plugin/nodecutter.js +6 -6
  58. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  59. package/src/editor-manager/plugin/selection-commands.js +2 -1
  60. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  61. package/src/editor-manager/plugin/selection-exec.js +2 -2
  62. package/src/editor-manager/plugin/table.d.ts +2 -2
  63. package/src/editor-manager/plugin/table.js +2 -2
  64. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  65. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  66. package/src/editor-manager/plugin/undo.d.ts +6 -6
  67. package/src/editor-manager/plugin/undo.js +6 -6
  68. package/src/editor-manager/plugin/video.d.ts +3 -3
  69. package/src/editor-manager/plugin/video.js +3 -3
  70. package/src/markdown-parser/base/interface.d.ts +10 -10
  71. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  72. package/src/markdown-parser/base/markdown-parser.js +3 -3
  73. package/src/markdown-parser/base/types.d.ts +1 -1
  74. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  75. package/src/markdown-parser/plugin/clearformat.js +2 -2
  76. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  77. package/src/markdown-parser/plugin/formats.js +2 -2
  78. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  79. package/src/markdown-parser/plugin/insert-text.js +2 -2
  80. package/src/markdown-parser/plugin/link.d.ts +2 -2
  81. package/src/markdown-parser/plugin/link.js +2 -2
  82. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  83. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  84. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  85. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  86. package/src/markdown-parser/plugin/table.d.ts +3 -3
  87. package/src/markdown-parser/plugin/table.js +3 -3
  88. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  89. package/src/markdown-parser/plugin/undo.js +6 -6
  90. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  91. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  92. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  93. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  94. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  95. package/src/rich-text-editor/actions/color-picker.js +2 -2
  96. package/src/rich-text-editor/actions/count.d.ts +3 -3
  97. package/src/rich-text-editor/actions/count.js +3 -3
  98. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  99. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  100. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  101. package/src/rich-text-editor/actions/emoji-picker.js +1 -1
  102. package/src/rich-text-editor/actions/enter-key.js +37 -5
  103. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  104. package/src/rich-text-editor/actions/full-screen.js +3 -3
  105. package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
  106. package/src/rich-text-editor/actions/html-editor.js +28 -6
  107. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  108. package/src/rich-text-editor/actions/keyboard.js +1 -1
  109. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  110. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  111. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
  112. package/src/rich-text-editor/actions/paste-clean-up.js +27 -11
  113. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  114. package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
  115. package/src/rich-text-editor/actions/resize.d.ts +2 -0
  116. package/src/rich-text-editor/actions/resize.js +14 -2
  117. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  118. package/src/rich-text-editor/actions/toolbar.js +13 -13
  119. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  120. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  121. package/src/rich-text-editor/base/classes.d.ts +125 -125
  122. package/src/rich-text-editor/base/classes.js +125 -125
  123. package/src/rich-text-editor/base/constant.d.ts +158 -158
  124. package/src/rich-text-editor/base/constant.js +158 -158
  125. package/src/rich-text-editor/base/enum.d.ts +1 -1
  126. package/src/rich-text-editor/base/enum.js +1 -1
  127. package/src/rich-text-editor/base/interface.d.ts +51 -51
  128. package/src/rich-text-editor/base/interface.js +1 -1
  129. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
  130. package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
  131. package/src/rich-text-editor/base/rich-text-editor.js +34 -35
  132. package/src/rich-text-editor/base/util.d.ts +1 -1
  133. package/src/rich-text-editor/base/util.js +1 -1
  134. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  135. package/src/rich-text-editor/formatter/formatter.js +9 -9
  136. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  137. package/src/rich-text-editor/formatter/html-formatter.js +2 -2
  138. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  139. package/src/rich-text-editor/formatter/markdown-formatter.js +2 -2
  140. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  141. package/src/rich-text-editor/renderer/audio-module.js +1 -1
  142. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  143. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  144. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  145. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  146. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  147. package/src/rich-text-editor/renderer/iframe-content-renderer.js +4 -4
  148. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  149. package/src/rich-text-editor/renderer/image-module.js +1 -1
  150. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  151. package/src/rich-text-editor/renderer/link-module.js +3 -3
  152. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  153. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  154. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  155. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  156. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  157. package/src/rich-text-editor/renderer/render.js +2 -2
  158. package/src/rich-text-editor/renderer/table-module.d.ts +3 -2
  159. package/src/rich-text-editor/renderer/table-module.js +44 -41
  160. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
  161. package/src/rich-text-editor/renderer/toolbar-renderer.js +16 -13
  162. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  163. package/src/rich-text-editor/renderer/video-module.js +1 -1
  164. package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
  165. package/src/rich-text-editor/renderer/view-source.js +5 -5
  166. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  167. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  168. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  169. package/src/rich-text-editor/services/service-locator.js +3 -3
  170. package/src/selection/selection.d.ts +22 -22
  171. package/src/selection/selection.js +22 -22
  172. package/styles/bootstrap5.3-lite.css +5 -0
  173. package/styles/bootstrap5.3.css +5 -0
  174. package/styles/material3-dark.scss +1 -1
  175. package/styles/material3.scss +1 -1
  176. package/styles/rich-text-editor/_layout.scss +1 -1
  177. package/styles/rich-text-editor/_theme.scss +1 -1
  178. package/styles/rich-text-editor/bootstrap5.3.css +5 -0
  179. package/styles/rich-text-editor/material3-dark.scss +1 -1
  180. package/styles/rich-text-editor/material3.scss +1 -1
  181. package/styles/rich-text-editor/tailwind3.css +5 -0
  182. package/styles/tailwind3-lite.css +5 -0
  183. package/styles/tailwind3.css +5 -0
@@ -83,7 +83,7 @@ var RichTextEditor = /** @class */ (function (_super) {
83
83
  *
84
84
  * @returns {ModuleDeclaration[]} - specifies the declaration.
85
85
  * @hidden
86
-
86
+ * @deprecated
87
87
  */
88
88
  RichTextEditor.prototype.requiredModules = function () {
89
89
  var modules = [];
@@ -170,7 +170,7 @@ var RichTextEditor = /** @class */ (function (_super) {
170
170
  *
171
171
  * @returns {void}
172
172
  * @hidden
173
-
173
+ * @deprecated
174
174
  */
175
175
  RichTextEditor.prototype.setEnable = function () {
176
176
  this.updateEnable();
@@ -269,7 +269,7 @@ var RichTextEditor = /** @class */ (function (_super) {
269
269
  *
270
270
  * @returns {void}
271
271
  * @hidden
272
-
272
+ * @deprecated
273
273
  */
274
274
  RichTextEditor.prototype.getPersistData = function () {
275
275
  return this.addOnPersist(['value']);
@@ -569,7 +569,7 @@ var RichTextEditor = /** @class */ (function (_super) {
569
569
  *
570
570
  * @returns {void}
571
571
  * @private
572
-
572
+ * @deprecated
573
573
  */
574
574
  RichTextEditor.prototype.render = function () {
575
575
  if (this.value && !this.valueTemplate) {
@@ -607,7 +607,7 @@ var RichTextEditor = /** @class */ (function (_super) {
607
607
  *
608
608
  * @returns {void}
609
609
  * @hidden
610
-
610
+ * @deprecated
611
611
  */
612
612
  RichTextEditor.prototype.addAudioVideoWrapper = function () {
613
613
  var _this = this;
@@ -669,7 +669,7 @@ var RichTextEditor = /** @class */ (function (_super) {
669
669
  *
670
670
  * @returns {void}
671
671
  * @private
672
-
672
+ * @deprecated
673
673
  * @hidden
674
674
  */
675
675
  RichTextEditor.prototype.eventInitializer = function () {
@@ -720,7 +720,7 @@ var RichTextEditor = /** @class */ (function (_super) {
720
720
  * @param {KeyboardEvent} e - specifies the event.
721
721
  * @returns {void}
722
722
  * @private
723
-
723
+ * @deprecated
724
724
  * @hidden
725
725
  */
726
726
  RichTextEditor.prototype.keyDown = function (e) {
@@ -892,7 +892,7 @@ var RichTextEditor = /** @class */ (function (_super) {
892
892
  * @param {string} value - specifies the value.
893
893
  * @returns {void}
894
894
  * @hidden
895
-
895
+ * @deprecated
896
896
  */
897
897
  RichTextEditor.prototype.serializeValue = function (value) {
898
898
  if (this.editorMode === 'HTML' && !isNOU(value)) {
@@ -923,7 +923,7 @@ var RichTextEditor = /** @class */ (function (_super) {
923
923
  * @param {string} value - specifies the string value.
924
924
  * @returns {void}
925
925
  * @hidden
926
-
926
+ * @deprecated
927
927
  */
928
928
  RichTextEditor.prototype.updateValue = function (value) {
929
929
  if (isNOU(value)) {
@@ -982,7 +982,7 @@ var RichTextEditor = /** @class */ (function (_super) {
982
982
  * @param {Function} module - specifies the module function.
983
983
  * @returns {void}
984
984
  * @hidden
985
-
985
+ * @deprecated
986
986
  */
987
987
  RichTextEditor.prototype.ensureModuleInjected = function (module) {
988
988
  return this.getInjectedModules().indexOf(module) >= 0;
@@ -990,7 +990,7 @@ var RichTextEditor = /** @class */ (function (_super) {
990
990
  /**
991
991
  * @returns {void}
992
992
  * @hidden
993
-
993
+ * @deprecated
994
994
  */
995
995
  RichTextEditor.prototype.onCopy = function () {
996
996
  this.contentModule.getDocument().execCommand('copy', false, null);
@@ -998,7 +998,7 @@ var RichTextEditor = /** @class */ (function (_super) {
998
998
  /**
999
999
  * @returns {void}
1000
1000
  * @hidden
1001
-
1001
+ * @deprecated
1002
1002
  */
1003
1003
  RichTextEditor.prototype.onCut = function () {
1004
1004
  this.contentModule.getDocument().execCommand('cut', false, null);
@@ -1007,7 +1007,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1007
1007
  * @param {KeyboardEvent} e - specifies the keyboard event.
1008
1008
  * @returns {void}
1009
1009
  * @hidden
1010
-
1010
+ * @deprecated
1011
1011
  */
1012
1012
  RichTextEditor.prototype.onPaste = function (e) {
1013
1013
  var _this = this;
@@ -1074,7 +1074,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1074
1074
  * @param {MouseEvent} event - specifies the event.
1075
1075
  * @returns {void}
1076
1076
  * @hidden
1077
-
1077
+ * @deprecated
1078
1078
  */
1079
1079
  RichTextEditor.prototype.clipboardAction = function (action, event) {
1080
1080
  switch (action.toLowerCase()) {
@@ -1283,7 +1283,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1283
1283
  *
1284
1284
  * @returns {void}
1285
1285
  * @private
1286
-
1286
+ * @deprecated
1287
1287
  */
1288
1288
  RichTextEditor.prototype.getModuleName = function () {
1289
1289
  return 'richtexteditor';
@@ -1295,7 +1295,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1295
1295
  * @param {RichTextEditorModel} oldProp - specifies the old property.
1296
1296
  * @returns {void}
1297
1297
  * @hidden
1298
-
1298
+ * @deprecated
1299
1299
  */
1300
1300
  /* eslint-disable */
1301
1301
  RichTextEditor.prototype.onPropertyChanged = function (newProp, oldProp) {
@@ -1448,7 +1448,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1448
1448
  /**
1449
1449
  * @hidden
1450
1450
  * @returns {void}
1451
-
1451
+ * @deprecated
1452
1452
  */
1453
1453
  RichTextEditor.prototype.updateValueData = function () {
1454
1454
  if (this.enableHtmlEncode) {
@@ -1543,7 +1543,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1543
1543
  *
1544
1544
  * @returns {void}
1545
1545
  * @hidden
1546
-
1546
+ * @deprecated
1547
1547
  */
1548
1548
  RichTextEditor.prototype.setPlaceHolder = function () {
1549
1549
  if (this.inputElement && this.placeholder && this.iframeSettings.enable !== true) {
@@ -1560,7 +1560,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1560
1560
  this.placeHolderWrapper.innerHTML = this.placeholder;
1561
1561
  if (this.inputElement.textContent.length === 0 && this.inputElement.childNodes.length < 2 && !isNOU(this.inputElement.firstChild) && (this.inputElement.firstChild.nodeName === 'BR' ||
1562
1562
  ((this.inputElement.firstChild.nodeName === 'P' || this.inputElement.firstChild.nodeName === 'DIV') && !isNOU(this.inputElement.firstChild.firstChild) &&
1563
- this.inputElement.firstChild.firstChild.nodeName === 'BR'))) {
1563
+ this.inputElement.firstChild.childNodes.length < 2 && this.inputElement.firstChild.firstChild.nodeName === 'BR'))) {
1564
1564
  this.placeHolderWrapper.classList.add('enabled');
1565
1565
  }
1566
1566
  else {
@@ -1621,7 +1621,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1621
1621
  * @param {boolean} initial - specifies the boolean value
1622
1622
  * @returns {void}
1623
1623
  * @hidden
1624
-
1624
+ * @deprecated
1625
1625
  */
1626
1626
  RichTextEditor.prototype.setReadOnly = function (initial) {
1627
1627
  this.updateReadOnly();
@@ -1722,7 +1722,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1722
1722
  *
1723
1723
  * @returns {void}
1724
1724
  * @public
1725
-
1725
+ * @deprecated
1726
1726
  */
1727
1727
  RichTextEditor.prototype.getRange = function () {
1728
1728
  return this.formatter.editorManager.nodeSelection.getRange(this.contentModule.getDocument());
@@ -1869,7 +1869,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1869
1869
  *
1870
1870
  * @returns {void}
1871
1871
  * @hidden
1872
-
1872
+ * @deprecated
1873
1873
  */
1874
1874
  RichTextEditor.prototype.getInsertImgMaxWidth = function () {
1875
1875
  var maxWidth = this.insertImageSettings.maxWidth;
@@ -1895,7 +1895,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1895
1895
  *
1896
1896
  * @returns {void}
1897
1897
  * @hidden
1898
-
1898
+ * @deprecated
1899
1899
  */
1900
1900
  RichTextEditor.prototype.getInsertVidMaxWidth = function () {
1901
1901
  var maxWidth = this.insertVideoSettings.maxWidth;
@@ -2014,7 +2014,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2014
2014
  /**
2015
2015
  * @returns {void}
2016
2016
  * @hidden
2017
-
2017
+ * @deprecated
2018
2018
  */
2019
2019
  RichTextEditor.prototype.getBaseToolbarObject = function () {
2020
2020
  var tbObj;
@@ -2029,7 +2029,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2029
2029
  /**
2030
2030
  * @returns {void}
2031
2031
  * @hidden
2032
-
2032
+ * @deprecated
2033
2033
  */
2034
2034
  RichTextEditor.prototype.getToolbar = function () {
2035
2035
  return this.toolbarModule ? this.toolbarModule.getToolbarElement() : null;
@@ -2037,7 +2037,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2037
2037
  /**
2038
2038
  * @returns {void}
2039
2039
  * @hidden
2040
-
2040
+ * @deprecated
2041
2041
  */
2042
2042
  RichTextEditor.prototype.getToolbarElement = function () {
2043
2043
  return this.toolbarModule && this.toolbarModule.getToolbarElement();
@@ -2047,7 +2047,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2047
2047
  * getID method
2048
2048
  *
2049
2049
  * @hidden
2050
-
2050
+ * @deprecated
2051
2051
  */
2052
2052
  RichTextEditor.prototype.getID = function () {
2053
2053
  return this.internalID;
@@ -2058,7 +2058,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2058
2058
  * @param {boolean} [isSpace] - Specifies whether to include a space before the CSS class.
2059
2059
  * @returns {string} The CSS class.
2060
2060
  * @hidden
2061
-
2061
+ * @deprecated
2062
2062
  */
2063
2063
  RichTextEditor.prototype.getCssClass = function (isSpace) {
2064
2064
  return (isNOU(this.cssClass) ? '' : isSpace ? ' ' + this.cssClass : this.cssClass);
@@ -2082,7 +2082,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2082
2082
  * @param {FocusEvent} e - specifies the event.
2083
2083
  * @returns {void}
2084
2084
  * @hidden
2085
-
2085
+ * @deprecated
2086
2086
  */
2087
2087
  // eslint-disable-next-line
2088
2088
  RichTextEditor.prototype.preventDefaultResize = function (e) {
@@ -2296,7 +2296,6 @@ var RichTextEditor = /** @class */ (function (_super) {
2296
2296
  var value = this.getUpdatedValue();
2297
2297
  this.setProperties({ value: value });
2298
2298
  this.valueContainer.value = this.value;
2299
- this.notify(events.toolbarRefresh, { args: e, documentNode: document });
2300
2299
  this.isValueChangeBlurhandler = true;
2301
2300
  this.invokeChangeEvent();
2302
2301
  this.isFocusOut = true;
@@ -2325,7 +2324,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2325
2324
  *
2326
2325
  * @returns {void}
2327
2326
  * @hidden
2328
-
2327
+ * @deprecated
2329
2328
  */
2330
2329
  RichTextEditor.prototype.contentChanged = function () {
2331
2330
  var tempSpanToRemove = this.inputElement.querySelector('.tempSpan');
@@ -2344,7 +2343,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2344
2343
  *
2345
2344
  * @returns {void}
2346
2345
  * @hidden
2347
-
2346
+ * @deprecated
2348
2347
  */
2349
2348
  RichTextEditor.prototype.invokeChangeEvent = function () {
2350
2349
  var currentValue;
@@ -2366,7 +2365,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2366
2365
  /**
2367
2366
  * @returns {void}
2368
2367
  * @hidden
2369
-
2368
+ * @deprecated
2370
2369
  */
2371
2370
  RichTextEditor.prototype.wireScrollElementsEvents = function () {
2372
2371
  this.scrollParentElements = getScrollableParent(this.element);
@@ -2396,7 +2395,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2396
2395
  /**
2397
2396
  * @returns {void}
2398
2397
  * @hidden
2399
-
2398
+ * @deprecated
2400
2399
  */
2401
2400
  RichTextEditor.prototype.unWireScrollElementsEvents = function () {
2402
2401
  this.scrollParentElements = getScrollableParent(this.element);
@@ -2433,7 +2432,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2433
2432
  /**
2434
2433
  * @returns {void}
2435
2434
  * @hidden
2436
-
2435
+ * @deprecated
2437
2436
  */
2438
2437
  RichTextEditor.prototype.autoResize = function () {
2439
2438
  if (!this.element || !this.originalElement || !this.valueContainer) {
@@ -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
  /**
@@ -335,7 +335,7 @@ export function updateUndoRedoStatus(baseToolbar, undoRedoStatus) {
335
335
  * @param {string} type - specifies the string type.
336
336
  * @returns {void}
337
337
  * @hidden
338
-
338
+ * @deprecated
339
339
  */
340
340
  export function dispatchEvent(element, type) {
341
341
  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
  beforeSlashMenuApply(): void;
@@ -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;
@@ -143,7 +143,7 @@ var Formatter = /** @class */ (function () {
143
143
  }
144
144
  }
145
145
  var command = actionBeginArgs.item.subCommand.toLocaleLowerCase();
146
- if (command === 'image') {
146
+ if (command === 'image' || command === 'file' || command === 'replace') {
147
147
  value = actionBeginArgs.itemCollection;
148
148
  }
149
149
  if (command === 'paste' || command === 'cut' || command === 'copy') {
@@ -172,7 +172,7 @@ var Formatter = /** @class */ (function () {
172
172
  * @param {KeyboardEvent} e - specifies the keyboard event.
173
173
  * @returns {void}
174
174
  * @hidden
175
-
175
+ * @deprecated
176
176
  */
177
177
  Formatter.prototype.onKeyHandler = function (self, e) {
178
178
  var _this = this;
@@ -191,7 +191,7 @@ var Formatter = /** @class */ (function () {
191
191
  * @param {IMarkdownFormatterCallBack} events - specifies the event call back
192
192
  * @returns {void}
193
193
  * @hidden
194
-
194
+ * @deprecated
195
195
  */
196
196
  Formatter.prototype.onSuccess = function (self, events) {
197
197
  self.notify(CONSTANT.contentChanged, {});
@@ -225,7 +225,7 @@ var Formatter = /** @class */ (function () {
225
225
  * @param {KeyboardEvent} e - specifies the keyboard event.
226
226
  * @returns {void}
227
227
  * @hidden
228
-
228
+ * @deprecated
229
229
  */
230
230
  Formatter.prototype.saveData = function (e) {
231
231
  this.editorManager.undoRedoManager.saveData(e);
@@ -235,7 +235,7 @@ var Formatter = /** @class */ (function () {
235
235
  *
236
236
  * @returns {void}
237
237
  * @hidden
238
-
238
+ * @deprecated
239
239
  */
240
240
  Formatter.prototype.getUndoStatus = function () {
241
241
  return this.editorManager.undoRedoManager.getUndoStatus();
@@ -247,7 +247,7 @@ var Formatter = /** @class */ (function () {
247
247
  * @param {IHtmlUndoRedoData} - specifies the redo data.
248
248
  * @returns {void}
249
249
  * @hidden
250
-
250
+ * @deprecated
251
251
  */
252
252
  /* eslint-enable */
253
253
  Formatter.prototype.getUndoRedoStack = function () {
@@ -259,7 +259,7 @@ var Formatter = /** @class */ (function () {
259
259
  * @param {IRichTextEditor} self - specifies the self element.
260
260
  * @returns {void}
261
261
  * @hidden
262
-
262
+ * @deprecated
263
263
  */
264
264
  Formatter.prototype.enableUndo = function (self) {
265
265
  var status = this.getUndoStatus();
@@ -5,7 +5,7 @@ import { FormatPainterSettingsModel } from '../models';
5
5
  * HTML adapter
6
6
  *
7
7
  * @hidden
8
-
8
+ * @deprecated
9
9
  */
10
10
  export declare class HTMLFormatter extends Formatter {
11
11
  keyConfig: {
@@ -26,7 +26,7 @@ export declare class HTMLFormatter extends Formatter {
26
26
  * @param {FormatPainterSettingsModel} formatPainterSettings - specifies the format painter settings
27
27
  * @returns {void}
28
28
  * @hidden
29
-
29
+ * @deprecated
30
30
  */
31
31
  updateFormatter(editElement: Element, doc?: Document, options?: {
32
32
  [key: string]: number;
@@ -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);
@@ -44,7 +44,7 @@ var HTMLFormatter = /** @class */ (function (_super) {
44
44
  * @param {FormatPainterSettingsModel} formatPainterSettings - specifies the format painter settings
45
45
  * @returns {void}
46
46
  * @hidden
47
-
47
+ * @deprecated
48
48
  */
49
49
  HTMLFormatter.prototype.updateFormatter = function (editElement, doc, options, formatPainterSettings) {
50
50
  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;
@@ -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) {
@@ -69,7 +69,7 @@ export declare class Audio {
69
69
  * @method destroy
70
70
  * @returns {void}
71
71
  * @hidden
72
-
72
+ * @deprecated
73
73
  */
74
74
  destroy(): void;
75
75
  /**
@@ -882,7 +882,7 @@ var Audio = /** @class */ (function () {
882
882
  * @method destroy
883
883
  * @returns {void}
884
884
  * @hidden
885
-
885
+ * @deprecated
886
886
  */
887
887
  /* eslint-enable */
888
888
  Audio.prototype.destroy = function () {
@@ -3,7 +3,7 @@ import { IRenderer, IRichTextEditor } from '../base/interface';
3
3
  * Content module is used to render Rich Text Editor content
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class ContentRender implements IRenderer {
9
9
  protected contentPanel: Element;
@@ -20,7 +20,7 @@ export declare class ContentRender implements IRenderer {
20
20
  *
21
21
  * @returns {void}
22
22
  * @hidden
23
-
23
+ * @deprecated
24
24
  */
25
25
  renderPanel(): void;
26
26
  /**
@@ -28,7 +28,7 @@ export declare class ContentRender implements IRenderer {
28
28
  *
29
29
  * @returns {Element} - specifies the element.
30
30
  * @hidden
31
-
31
+ * @deprecated
32
32
  */
33
33
  getPanel(): Element;
34
34
  /**
@@ -36,7 +36,7 @@ export declare class ContentRender implements IRenderer {
36
36
  *
37
37
  * @returns {Element} - specifies the return element.
38
38
  * @hidden
39
-
39
+ * @deprecated
40
40
  */
41
41
  getEditPanel(): Element;
42
42
  /**
@@ -51,7 +51,7 @@ export declare class ContentRender implements IRenderer {
51
51
  * @param {Element} panel - specifies the panel element.
52
52
  * @returns {void}
53
53
  * @hidden
54
-
54
+ * @deprecated
55
55
  */
56
56
  setPanel(panel: Element): void;
57
57
  /**
@@ -59,7 +59,7 @@ export declare class ContentRender implements IRenderer {
59
59
  *
60
60
  * @returns {Document} - specifies the document.
61
61
  * @hidden
62
-
62
+ * @deprecated
63
63
  */
64
64
  getDocument(): Document;
65
65
  }
@@ -4,7 +4,7 @@ import { isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
4
4
  * Content module is used to render Rich Text Editor content
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  var ContentRender = /** @class */ (function () {
10
10
  /**
@@ -20,7 +20,7 @@ var ContentRender = /** @class */ (function () {
20
20
  *
21
21
  * @returns {void}
22
22
  * @hidden
23
-
23
+ * @deprecated
24
24
  */
25
25
  ContentRender.prototype.renderPanel = function () {
26
26
  var rteObj = this.parent;
@@ -49,7 +49,7 @@ var ContentRender = /** @class */ (function () {
49
49
  *
50
50
  * @returns {Element} - specifies the element.
51
51
  * @hidden
52
-
52
+ * @deprecated
53
53
  */
54
54
  ContentRender.prototype.getPanel = function () {
55
55
  return this.contentPanel;
@@ -59,7 +59,7 @@ var ContentRender = /** @class */ (function () {
59
59
  *
60
60
  * @returns {Element} - specifies the return element.
61
61
  * @hidden
62
-
62
+ * @deprecated
63
63
  */
64
64
  ContentRender.prototype.getEditPanel = function () {
65
65
  return this.editableElement;
@@ -79,7 +79,7 @@ var ContentRender = /** @class */ (function () {
79
79
  * @param {Element} panel - specifies the panel element.
80
80
  * @returns {void}
81
81
  * @hidden
82
-
82
+ * @deprecated
83
83
  */
84
84
  ContentRender.prototype.setPanel = function (panel) {
85
85
  this.contentPanel = panel;
@@ -89,7 +89,7 @@ var ContentRender = /** @class */ (function () {
89
89
  *
90
90
  * @returns {Document} - specifies the document.
91
91
  * @hidden
92
-
92
+ * @deprecated
93
93
  */
94
94
  ContentRender.prototype.getDocument = function () {
95
95
  return this.getEditPanel().ownerDocument;
@@ -17,7 +17,7 @@ export declare class DialogRenderer {
17
17
  * @param {DialogModel} e - specifies the dialog model.
18
18
  * @returns {void}
19
19
  * @hidden
20
-
20
+ * @deprecated
21
21
  */
22
22
  render(e: DialogModel): Dialog;
23
23
  private beforeOpen;
@@ -33,7 +33,7 @@ export declare class DialogRenderer {
33
33
  * @param {Object} args - specifies the arguments.
34
34
  * @returns {void}
35
35
  * @hidden
36
-
36
+ * @deprecated
37
37
  */
38
38
  close(args: Object): void;
39
39
  }