@syncfusion/ej2-richtexteditor 25.2.3 → 25.2.4-621927

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 (279) hide show
  1. package/.eslintrc.json +259 -259
  2. package/CHANGELOG.md +2067 -2011
  3. package/README.md +76 -76
  4. package/dist/ej2-richtexteditor.umd.min.js +1 -10
  5. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-richtexteditor.es2015.js +575 -287
  7. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-richtexteditor.es5.js +675 -383
  9. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  10. package/helpers/e2e/index.js +3 -3
  11. package/helpers/e2e/rte-helper.js +13 -13
  12. package/license +9 -9
  13. package/package.json +84 -84
  14. package/src/common/interface.d.ts +22 -8
  15. package/src/common/util.js +4 -1
  16. package/src/editor-manager/base/classes.d.ts +1 -1
  17. package/src/editor-manager/base/classes.js +1 -1
  18. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  19. package/src/editor-manager/base/editor-manager.js +8 -6
  20. package/src/editor-manager/base/enum.d.ts +2 -2
  21. package/src/editor-manager/base/interface.d.ts +9 -9
  22. package/src/editor-manager/base/types.d.ts +1 -1
  23. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  24. package/src/editor-manager/plugin/alignments.js +5 -2
  25. package/src/editor-manager/plugin/audio.d.ts +3 -3
  26. package/src/editor-manager/plugin/audio.js +3 -3
  27. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  28. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  29. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  30. package/src/editor-manager/plugin/clearformat.js +1 -1
  31. package/src/editor-manager/plugin/dom-node.d.ts +54 -34
  32. package/src/editor-manager/plugin/dom-node.js +139 -36
  33. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  34. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  35. package/src/editor-manager/plugin/formats.d.ts +2 -2
  36. package/src/editor-manager/plugin/formats.js +3 -3
  37. package/src/editor-manager/plugin/image.d.ts +3 -3
  38. package/src/editor-manager/plugin/image.js +3 -3
  39. package/src/editor-manager/plugin/indents.d.ts +2 -2
  40. package/src/editor-manager/plugin/indents.js +5 -2
  41. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  42. package/src/editor-manager/plugin/insert-methods.js +4 -4
  43. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  44. package/src/editor-manager/plugin/insert-text.js +2 -2
  45. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  46. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  47. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  48. package/src/editor-manager/plugin/inserthtml.js +5 -2
  49. package/src/editor-manager/plugin/isformatted.d.ts +8 -8
  50. package/src/editor-manager/plugin/isformatted.js +8 -8
  51. package/src/editor-manager/plugin/link.d.ts +2 -2
  52. package/src/editor-manager/plugin/link.js +2 -2
  53. package/src/editor-manager/plugin/lists.d.ts +2 -3
  54. package/src/editor-manager/plugin/lists.js +57 -80
  55. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  56. package/src/editor-manager/plugin/ms-word-clean-up.js +2 -2
  57. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  58. package/src/editor-manager/plugin/nodecutter.js +6 -6
  59. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  60. package/src/editor-manager/plugin/selection-commands.js +1 -1
  61. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  62. package/src/editor-manager/plugin/selection-exec.js +2 -2
  63. package/src/editor-manager/plugin/table.d.ts +2 -2
  64. package/src/editor-manager/plugin/table.js +2 -2
  65. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  66. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  67. package/src/editor-manager/plugin/undo.d.ts +6 -6
  68. package/src/editor-manager/plugin/undo.js +6 -6
  69. package/src/editor-manager/plugin/video.d.ts +3 -3
  70. package/src/editor-manager/plugin/video.js +3 -3
  71. package/src/markdown-parser/base/interface.d.ts +10 -10
  72. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  73. package/src/markdown-parser/base/markdown-parser.js +3 -3
  74. package/src/markdown-parser/base/types.d.ts +1 -1
  75. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  76. package/src/markdown-parser/plugin/clearformat.js +2 -2
  77. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  78. package/src/markdown-parser/plugin/formats.js +2 -2
  79. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  80. package/src/markdown-parser/plugin/insert-text.js +2 -2
  81. package/src/markdown-parser/plugin/link.d.ts +2 -2
  82. package/src/markdown-parser/plugin/link.js +2 -2
  83. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  84. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  85. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  86. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  87. package/src/markdown-parser/plugin/table.d.ts +3 -3
  88. package/src/markdown-parser/plugin/table.js +3 -3
  89. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  90. package/src/markdown-parser/plugin/undo.js +6 -6
  91. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  92. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  93. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  94. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  95. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  96. package/src/rich-text-editor/actions/color-picker.js +2 -2
  97. package/src/rich-text-editor/actions/count.d.ts +3 -3
  98. package/src/rich-text-editor/actions/count.js +3 -3
  99. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  100. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  101. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  102. package/src/rich-text-editor/actions/emoji-picker.js +1 -1
  103. package/src/rich-text-editor/actions/enter-key.d.ts +5 -0
  104. package/src/rich-text-editor/actions/enter-key.js +98 -13
  105. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  106. package/src/rich-text-editor/actions/full-screen.js +3 -9
  107. package/src/rich-text-editor/actions/html-editor.d.ts +4 -3
  108. package/src/rich-text-editor/actions/html-editor.js +66 -13
  109. package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
  110. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  111. package/src/rich-text-editor/actions/keyboard.js +20 -20
  112. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  113. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  114. package/src/rich-text-editor/actions/paste-clean-up.d.ts +2 -1
  115. package/src/rich-text-editor/actions/paste-clean-up.js +44 -7
  116. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  117. package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
  118. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  119. package/src/rich-text-editor/actions/toolbar.js +13 -13
  120. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  121. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  122. package/src/rich-text-editor/base/classes.d.ts +121 -121
  123. package/src/rich-text-editor/base/classes.js +121 -121
  124. package/src/rich-text-editor/base/constant.d.ts +158 -158
  125. package/src/rich-text-editor/base/constant.js +158 -158
  126. package/src/rich-text-editor/base/enum.d.ts +1 -1
  127. package/src/rich-text-editor/base/enum.js +1 -1
  128. package/src/rich-text-editor/base/interface.d.ts +50 -50
  129. package/src/rich-text-editor/base/interface.js +1 -1
  130. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +891 -891
  131. package/src/rich-text-editor/base/rich-text-editor.d.ts +63 -61
  132. package/src/rich-text-editor/base/rich-text-editor.js +82 -67
  133. package/src/rich-text-editor/base/util.d.ts +1 -1
  134. package/src/rich-text-editor/base/util.js +1 -1
  135. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  136. package/src/rich-text-editor/formatter/formatter.js +8 -8
  137. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  138. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  139. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  140. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  141. package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
  142. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  143. package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
  144. package/src/rich-text-editor/models/inline-mode.js +19 -19
  145. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
  146. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  147. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  148. package/src/rich-text-editor/renderer/audio-module.js +7 -2
  149. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  150. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  151. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  152. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  153. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  154. package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
  155. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  156. package/src/rich-text-editor/renderer/image-module.js +10 -5
  157. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  158. package/src/rich-text-editor/renderer/link-module.js +1 -1
  159. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  160. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  161. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  162. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  163. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  164. package/src/rich-text-editor/renderer/render.js +2 -2
  165. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  166. package/src/rich-text-editor/renderer/table-module.js +3 -2
  167. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
  168. package/src/rich-text-editor/renderer/toolbar-renderer.js +16 -18
  169. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  170. package/src/rich-text-editor/renderer/video-module.js +7 -2
  171. package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
  172. package/src/rich-text-editor/renderer/view-source.js +6 -6
  173. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  174. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  175. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  176. package/src/rich-text-editor/services/service-locator.js +3 -3
  177. package/src/selection/selection.d.ts +22 -22
  178. package/src/selection/selection.js +22 -22
  179. package/styles/_all.scss +1 -1
  180. package/styles/bootstrap-dark.css +702 -795
  181. package/styles/bootstrap-dark.scss +4 -1
  182. package/styles/bootstrap.css +686 -795
  183. package/styles/bootstrap.scss +4 -1
  184. package/styles/bootstrap4.css +689 -797
  185. package/styles/bootstrap4.scss +4 -1
  186. package/styles/bootstrap5-dark.css +713 -834
  187. package/styles/bootstrap5-dark.scss +4 -1
  188. package/styles/bootstrap5.css +712 -833
  189. package/styles/bootstrap5.scss +4 -1
  190. package/styles/fabric-dark.css +687 -791
  191. package/styles/fabric-dark.scss +4 -1
  192. package/styles/fabric.css +683 -791
  193. package/styles/fabric.scss +4 -1
  194. package/styles/fluent-dark.css +690 -814
  195. package/styles/fluent-dark.scss +4 -1
  196. package/styles/fluent.css +689 -813
  197. package/styles/fluent.scss +4 -1
  198. package/styles/fluent2.css +4219 -0
  199. package/styles/fluent2.scss +4 -0
  200. package/styles/highcontrast-light.css +658 -789
  201. package/styles/highcontrast-light.scss +4 -1
  202. package/styles/highcontrast.css +664 -787
  203. package/styles/highcontrast.scss +4 -1
  204. package/styles/material-dark.css +679 -792
  205. package/styles/material-dark.scss +4 -1
  206. package/styles/material.css +676 -794
  207. package/styles/material.scss +4 -1
  208. package/styles/material3-dark.css +715 -852
  209. package/styles/material3-dark.scss +4 -1
  210. package/styles/material3.css +715 -852
  211. package/styles/material3.scss +4 -1
  212. package/styles/rich-text-editor/_all.scss +2 -2
  213. package/styles/rich-text-editor/_bds-definition.scss +288 -285
  214. package/styles/rich-text-editor/_bigger.scss +610 -0
  215. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +289 -287
  216. package/styles/rich-text-editor/_bootstrap-definition.scss +347 -343
  217. package/styles/rich-text-editor/_bootstrap4-definition.scss +474 -470
  218. package/styles/rich-text-editor/_bootstrap5-definition.scss +276 -272
  219. package/styles/rich-text-editor/_bootstrap5.3-definition.scss +276 -0
  220. package/styles/rich-text-editor/_fabric-dark-definition.scss +273 -269
  221. package/styles/rich-text-editor/_fabric-definition.scss +271 -267
  222. package/styles/rich-text-editor/_fluent-definition.scss +277 -273
  223. package/styles/rich-text-editor/_fluent2-definition.scss +285 -0
  224. package/styles/rich-text-editor/_fusionnew-definition.scss +274 -271
  225. package/styles/rich-text-editor/_highcontrast-definition.scss +272 -267
  226. package/styles/rich-text-editor/_highcontrast-light-definition.scss +271 -267
  227. package/styles/rich-text-editor/_layout.scss +2148 -2269
  228. package/styles/rich-text-editor/_material-dark-definition.scss +276 -272
  229. package/styles/rich-text-editor/_material-definition.scss +274 -270
  230. package/styles/rich-text-editor/_material3-definition.scss +276 -272
  231. package/styles/rich-text-editor/_tailwind-definition.scss +271 -267
  232. package/styles/rich-text-editor/_theme.scss +802 -927
  233. package/styles/rich-text-editor/bootstrap-dark.css +702 -795
  234. package/styles/rich-text-editor/bootstrap.css +686 -795
  235. package/styles/rich-text-editor/bootstrap4.css +689 -797
  236. package/styles/rich-text-editor/bootstrap5-dark.css +713 -834
  237. package/styles/rich-text-editor/bootstrap5.css +712 -833
  238. package/styles/rich-text-editor/fabric-dark.css +687 -791
  239. package/styles/rich-text-editor/fabric.css +683 -791
  240. package/styles/rich-text-editor/fluent-dark.css +690 -814
  241. package/styles/rich-text-editor/fluent.css +689 -813
  242. package/styles/rich-text-editor/fluent2.css +4219 -0
  243. package/styles/rich-text-editor/fluent2.scss +4 -0
  244. package/styles/rich-text-editor/highcontrast-light.css +658 -789
  245. package/styles/rich-text-editor/highcontrast.css +664 -787
  246. package/styles/rich-text-editor/icons/_bds.scss +372 -351
  247. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +373 -352
  248. package/styles/rich-text-editor/icons/_bootstrap.scss +373 -352
  249. package/styles/rich-text-editor/icons/_bootstrap4.scss +373 -352
  250. package/styles/rich-text-editor/icons/_bootstrap5.3.scss +372 -0
  251. package/styles/rich-text-editor/icons/_bootstrap5.scss +372 -351
  252. package/styles/rich-text-editor/icons/_fabric-dark.scss +373 -352
  253. package/styles/rich-text-editor/icons/_fabric.scss +373 -352
  254. package/styles/rich-text-editor/icons/_fluent.scss +372 -351
  255. package/styles/rich-text-editor/icons/_fluent2.scss +369 -0
  256. package/styles/rich-text-editor/icons/_fusionnew.scss +357 -348
  257. package/styles/rich-text-editor/icons/_highcontrast-light.scss +361 -352
  258. package/styles/rich-text-editor/icons/_highcontrast.scss +361 -352
  259. package/styles/rich-text-editor/icons/_material-dark.scss +373 -352
  260. package/styles/rich-text-editor/icons/_material.scss +373 -352
  261. package/styles/rich-text-editor/icons/_material3.scss +372 -351
  262. package/styles/rich-text-editor/icons/_tailwind.scss +372 -351
  263. package/styles/rich-text-editor/material-dark.css +679 -792
  264. package/styles/rich-text-editor/material.css +676 -794
  265. package/styles/rich-text-editor/material3-dark.css +715 -852
  266. package/styles/rich-text-editor/material3-dark.scss +1 -1
  267. package/styles/rich-text-editor/material3.css +715 -852
  268. package/styles/rich-text-editor/material3.scss +1 -1
  269. package/styles/rich-text-editor/tailwind-dark.css +702 -822
  270. package/styles/rich-text-editor/tailwind.css +702 -822
  271. package/styles/tailwind-dark.css +702 -822
  272. package/styles/tailwind-dark.scss +4 -1
  273. package/styles/tailwind.css +702 -822
  274. package/styles/tailwind.scss +4 -1
  275. package/dist/ej2-richtexteditor.min.js +0 -10
  276. package/dist/global/ej2-richtexteditor.min.js +0 -11
  277. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  278. package/dist/global/index.d.ts +0 -14
  279. 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, 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';
@@ -79,7 +79,7 @@ var RichTextEditor = /** @class */ (function (_super) {
79
79
  *
80
80
  * @returns {ModuleDeclaration[]} - specifies the declaration.
81
81
  * @hidden
82
-
82
+ * @deprecated
83
83
  */
84
84
  RichTextEditor.prototype.requiredModules = function () {
85
85
  var modules = [];
@@ -162,7 +162,7 @@ var RichTextEditor = /** @class */ (function (_super) {
162
162
  *
163
163
  * @returns {void}
164
164
  * @hidden
165
-
165
+ * @deprecated
166
166
  */
167
167
  RichTextEditor.prototype.setEnable = function () {
168
168
  this.updateEnable();
@@ -196,6 +196,7 @@ var RichTextEditor = /** @class */ (function (_super) {
196
196
  this.persistData();
197
197
  setStyleAttribute(this.element, { 'width': formatUnit(this.width) });
198
198
  attributes(this.element, { role: 'application', 'aria-label': 'Rich Text Editor' });
199
+ this.beforeRenderClassValue = this.element.getAttribute('class');
199
200
  };
200
201
  RichTextEditor.prototype.persistData = function () {
201
202
  if (this.enablePersistence && this.originalElement.tagName === 'TEXTAREA') {
@@ -260,7 +261,7 @@ var RichTextEditor = /** @class */ (function (_super) {
260
261
  *
261
262
  * @returns {void}
262
263
  * @hidden
263
-
264
+ * @deprecated
264
265
  */
265
266
  RichTextEditor.prototype.getPersistData = function () {
266
267
  return this.addOnPersist(['value']);
@@ -548,7 +549,7 @@ var RichTextEditor = /** @class */ (function (_super) {
548
549
  *
549
550
  * @returns {void}
550
551
  * @private
551
-
552
+ * @deprecated
552
553
  */
553
554
  RichTextEditor.prototype.render = function () {
554
555
  this.value = (!(this.editorMode === 'Markdown') && !isNOU(this.value)) ? this.addAnchorAriaLabel(this.value) : this.value;
@@ -586,7 +587,7 @@ var RichTextEditor = /** @class */ (function (_super) {
586
587
  *
587
588
  * @returns {void}
588
589
  * @hidden
589
-
590
+ * @deprecated
590
591
  */
591
592
  RichTextEditor.prototype.addAudioVideoWrapper = function () {
592
593
  var _this = this;
@@ -648,7 +649,7 @@ var RichTextEditor = /** @class */ (function (_super) {
648
649
  *
649
650
  * @returns {void}
650
651
  * @private
651
-
652
+ * @deprecated
652
653
  * @hidden
653
654
  */
654
655
  RichTextEditor.prototype.eventInitializer = function () {
@@ -699,7 +700,7 @@ var RichTextEditor = /** @class */ (function (_super) {
699
700
  * @param {KeyboardEvent} e - specifies the event.
700
701
  * @returns {void}
701
702
  * @private
702
-
703
+ * @deprecated
703
704
  * @hidden
704
705
  */
705
706
  RichTextEditor.prototype.keyDown = function (e) {
@@ -858,7 +859,7 @@ var RichTextEditor = /** @class */ (function (_super) {
858
859
  * @param {string} value - specifies the value.
859
860
  * @returns {void}
860
861
  * @hidden
861
-
862
+ * @deprecated
862
863
  */
863
864
  RichTextEditor.prototype.serializeValue = function (value) {
864
865
  if (this.editorMode === 'HTML' && !isNOU(value)) {
@@ -889,7 +890,7 @@ var RichTextEditor = /** @class */ (function (_super) {
889
890
  * @param {string} value - specifies the string value.
890
891
  * @returns {void}
891
892
  * @hidden
892
-
893
+ * @deprecated
893
894
  */
894
895
  RichTextEditor.prototype.updateValue = function (value) {
895
896
  if (isNOU(value)) {
@@ -945,7 +946,7 @@ var RichTextEditor = /** @class */ (function (_super) {
945
946
  * @param {Function} module - specifies the module function.
946
947
  * @returns {void}
947
948
  * @hidden
948
-
949
+ * @deprecated
949
950
  */
950
951
  RichTextEditor.prototype.ensureModuleInjected = function (module) {
951
952
  return this.getInjectedModules().indexOf(module) >= 0;
@@ -953,7 +954,7 @@ var RichTextEditor = /** @class */ (function (_super) {
953
954
  /**
954
955
  * @returns {void}
955
956
  * @hidden
956
-
957
+ * @deprecated
957
958
  */
958
959
  RichTextEditor.prototype.onCopy = function () {
959
960
  this.contentModule.getDocument().execCommand('copy', false, null);
@@ -961,7 +962,7 @@ var RichTextEditor = /** @class */ (function (_super) {
961
962
  /**
962
963
  * @returns {void}
963
964
  * @hidden
964
-
965
+ * @deprecated
965
966
  */
966
967
  RichTextEditor.prototype.onCut = function () {
967
968
  this.contentModule.getDocument().execCommand('cut', false, null);
@@ -970,7 +971,7 @@ var RichTextEditor = /** @class */ (function (_super) {
970
971
  * @param {KeyboardEvent} e - specifies the keyboard event.
971
972
  * @returns {void}
972
973
  * @hidden
973
-
974
+ * @deprecated
974
975
  */
975
976
  RichTextEditor.prototype.onPaste = function (e) {
976
977
  var _this = this;
@@ -1034,7 +1035,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1034
1035
  * @param {MouseEvent} event - specifies the event.
1035
1036
  * @returns {void}
1036
1037
  * @hidden
1037
-
1038
+ * @deprecated
1038
1039
  */
1039
1040
  RichTextEditor.prototype.clipboardAction = function (action, event) {
1040
1041
  switch (action.toLowerCase()) {
@@ -1068,6 +1069,10 @@ var RichTextEditor = /** @class */ (function (_super) {
1068
1069
  if (this.isDestroyed || !this.isRendered) {
1069
1070
  return;
1070
1071
  }
1072
+ this.element.className = this.beforeRenderClassValue;
1073
+ this.removeHtmlAttributes();
1074
+ this.removeAttributes();
1075
+ this.beforeRenderClassValue = null;
1071
1076
  if (!isNOU(this.timeInterval)) {
1072
1077
  clearInterval(this.timeInterval);
1073
1078
  this.timeInterval = null;
@@ -1135,8 +1140,6 @@ var RichTextEditor = /** @class */ (function (_super) {
1135
1140
  }
1136
1141
  }
1137
1142
  }
1138
- this.removeHtmlAttributes();
1139
- this.removeAttributes();
1140
1143
  _super.prototype.destroy.call(this);
1141
1144
  this.isRendered = false;
1142
1145
  };
@@ -1167,6 +1170,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1167
1170
  this.element.removeAttribute('aria-disabled');
1168
1171
  this.element.removeAttribute('role');
1169
1172
  this.element.removeAttribute('tabindex');
1173
+ this.element.removeAttribute('aria-label');
1170
1174
  };
1171
1175
  RichTextEditor.prototype.destroyDependentModules = function () {
1172
1176
  /* destroy dependent modules */
@@ -1234,7 +1238,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1234
1238
  *
1235
1239
  * @returns {void}
1236
1240
  * @private
1237
-
1241
+ * @deprecated
1238
1242
  */
1239
1243
  RichTextEditor.prototype.getModuleName = function () {
1240
1244
  return 'richtexteditor';
@@ -1246,7 +1250,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1246
1250
  * @param {RichTextEditorModel} oldProp - specifies the old property.
1247
1251
  * @returns {void}
1248
1252
  * @hidden
1249
-
1253
+ * @deprecated
1250
1254
  */
1251
1255
  /* eslint-disable */
1252
1256
  RichTextEditor.prototype.onPropertyChanged = function (newProp, oldProp) {
@@ -1401,7 +1405,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1401
1405
  /**
1402
1406
  * @hidden
1403
1407
  * @returns {void}
1404
-
1408
+ * @deprecated
1405
1409
  */
1406
1410
  RichTextEditor.prototype.updateValueData = function () {
1407
1411
  if (this.enableHtmlEncode) {
@@ -1421,7 +1425,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1421
1425
  }
1422
1426
  };
1423
1427
  RichTextEditor.prototype.updatePanelValue = function () {
1424
- var value = this.value;
1428
+ var value = this.listOrderCorrection(this.value);
1425
1429
  value = (this.enableHtmlEncode && this.value) ? decode(value) : value;
1426
1430
  var getTextArea = this.element.querySelector('.' + classes.CLS_RTE_SOURCE_CODE_TXTAREA);
1427
1431
  if (value) {
@@ -1465,6 +1469,17 @@ var RichTextEditor = /** @class */ (function (_super) {
1465
1469
  this.countModule.refresh();
1466
1470
  }
1467
1471
  };
1472
+ RichTextEditor.prototype.listOrderCorrection = function (value) {
1473
+ var valueElementWrapper = this.createElement('div');
1474
+ valueElementWrapper.innerHTML = value;
1475
+ var listElements = valueElementWrapper.querySelectorAll('UL, OL');
1476
+ for (var i = 0; i < listElements.length; i++) {
1477
+ if (!isNOU(listElements[i]) && !isNOU(listElements[i].parentElement) && !isNOU(listElements[i].previousElementSibling) && (listElements[i].parentElement.nodeName === 'UL' || listElements[i].parentElement.nodeName === 'OL')) {
1478
+ listElements[i].previousElementSibling.appendChild(listElements[i]);
1479
+ }
1480
+ }
1481
+ return valueElementWrapper.innerHTML;
1482
+ };
1468
1483
  RichTextEditor.prototype.setHeight = function (height) {
1469
1484
  if (height !== 'auto') {
1470
1485
  this.element.style.height = formatUnit(height);
@@ -1485,7 +1500,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1485
1500
  *
1486
1501
  * @returns {void}
1487
1502
  * @hidden
1488
-
1503
+ * @deprecated
1489
1504
  */
1490
1505
  RichTextEditor.prototype.setPlaceHolder = function () {
1491
1506
  if (this.inputElement && this.placeholder && this.iframeSettings.enable !== true) {
@@ -1563,7 +1578,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1563
1578
  * @param {boolean} initial - specifies the boolean value
1564
1579
  * @returns {void}
1565
1580
  * @hidden
1566
-
1581
+ * @deprecated
1567
1582
  */
1568
1583
  RichTextEditor.prototype.setReadOnly = function (initial) {
1569
1584
  this.updateReadOnly();
@@ -1664,7 +1679,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1664
1679
  *
1665
1680
  * @returns {void}
1666
1681
  * @public
1667
-
1682
+ * @deprecated
1668
1683
  */
1669
1684
  RichTextEditor.prototype.getRange = function () {
1670
1685
  return this.formatter.editorManager.nodeSelection.getRange(this.contentModule.getDocument());
@@ -1809,7 +1824,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1809
1824
  *
1810
1825
  * @returns {void}
1811
1826
  * @hidden
1812
-
1827
+ * @deprecated
1813
1828
  */
1814
1829
  RichTextEditor.prototype.getInsertImgMaxWidth = function () {
1815
1830
  var maxWidth = this.insertImageSettings.maxWidth;
@@ -1835,7 +1850,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1835
1850
  *
1836
1851
  * @returns {void}
1837
1852
  * @hidden
1838
-
1853
+ * @deprecated
1839
1854
  */
1840
1855
  RichTextEditor.prototype.getInsertVidMaxWidth = function () {
1841
1856
  var maxWidth = this.insertVideoSettings.maxWidth;
@@ -1856,7 +1871,7 @@ var RichTextEditor = /** @class */ (function (_super) {
1856
1871
  * @param {boolean} isExpand - specifies the bollean value.
1857
1872
  * @returns {void}
1858
1873
  * @hidden
1859
-
1874
+ * @deprecated
1860
1875
  */
1861
1876
  RichTextEditor.prototype.setContentHeight = function (target, isExpand) {
1862
1877
  var heightValue;
@@ -2014,7 +2029,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2014
2029
  /**
2015
2030
  * @returns {void}
2016
2031
  * @hidden
2017
-
2032
+ * @deprecated
2018
2033
  */
2019
2034
  RichTextEditor.prototype.getBaseToolbarObject = function () {
2020
2035
  var tbObj;
@@ -2029,7 +2044,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2029
2044
  /**
2030
2045
  * @returns {void}
2031
2046
  * @hidden
2032
-
2047
+ * @deprecated
2033
2048
  */
2034
2049
  RichTextEditor.prototype.getToolbar = function () {
2035
2050
  return this.toolbarModule ? this.toolbarModule.getToolbarElement() : null;
@@ -2037,7 +2052,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2037
2052
  /**
2038
2053
  * @returns {void}
2039
2054
  * @hidden
2040
-
2055
+ * @deprecated
2041
2056
  */
2042
2057
  RichTextEditor.prototype.getToolbarElement = function () {
2043
2058
  return this.toolbarModule && this.toolbarModule.getToolbarElement();
@@ -2047,7 +2062,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2047
2062
  * getID method
2048
2063
  *
2049
2064
  * @hidden
2050
-
2065
+ * @deprecated
2051
2066
  */
2052
2067
  RichTextEditor.prototype.getID = function () {
2053
2068
  return (this.originalElement.tagName === 'TEXTAREA' ? this.valueContainer.id : this.element.id);
@@ -2057,7 +2072,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2057
2072
  * getCssClass method
2058
2073
  *
2059
2074
  * @hidden
2060
-
2075
+ * @deprecated
2061
2076
  */
2062
2077
  RichTextEditor.prototype.getCssClass = function (isSpace) {
2063
2078
  return (isNOU(this.cssClass) ? '' : isSpace ? ' ' + this.cssClass : this.cssClass);
@@ -2081,7 +2096,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2081
2096
  * @param {FocusEvent} e - specifies the event.
2082
2097
  * @returns {void}
2083
2098
  * @hidden
2084
-
2099
+ * @deprecated
2085
2100
  */
2086
2101
  // eslint-disable-next-line
2087
2102
  RichTextEditor.prototype.preventDefaultResize = function (e) {
@@ -2317,7 +2332,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2317
2332
  *
2318
2333
  * @returns {void}
2319
2334
  * @hidden
2320
-
2335
+ * @deprecated
2321
2336
  */
2322
2337
  RichTextEditor.prototype.contentChanged = function () {
2323
2338
  if (this.autoSaveOnIdle) {
@@ -2332,7 +2347,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2332
2347
  *
2333
2348
  * @returns {void}
2334
2349
  * @hidden
2335
-
2350
+ * @deprecated
2336
2351
  */
2337
2352
  RichTextEditor.prototype.invokeChangeEvent = function () {
2338
2353
  var currentValue;
@@ -2354,7 +2369,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2354
2369
  /**
2355
2370
  * @returns {void}
2356
2371
  * @hidden
2357
-
2372
+ * @deprecated
2358
2373
  */
2359
2374
  RichTextEditor.prototype.wireScrollElementsEvents = function () {
2360
2375
  this.scrollParentElements = getScrollableParent(this.element);
@@ -2384,7 +2399,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2384
2399
  /**
2385
2400
  * @returns {void}
2386
2401
  * @hidden
2387
-
2402
+ * @deprecated
2388
2403
  */
2389
2404
  RichTextEditor.prototype.unWireScrollElementsEvents = function () {
2390
2405
  this.scrollParentElements = getScrollableParent(this.element);
@@ -2416,7 +2431,7 @@ var RichTextEditor = /** @class */ (function (_super) {
2416
2431
  /**
2417
2432
  * @returns {void}
2418
2433
  * @hidden
2419
-
2434
+ * @deprecated
2420
2435
  */
2421
2436
  RichTextEditor.prototype.autoResize = function () {
2422
2437
  if (this.height === 'auto') {
@@ -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
  /**
@@ -326,7 +326,7 @@ export function updateUndoRedoStatus(baseToolbar, undoRedoStatus) {
326
326
  * @param {string} type - specifies the string type.
327
327
  * @returns {void}
328
328
  * @hidden
329
-
329
+ * @deprecated
330
330
  */
331
331
  export function dispatchEvent(element, type) {
332
332
  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;
@@ -169,7 +169,7 @@ var Formatter = /** @class */ (function () {
169
169
  * @param {KeyboardEvent} e - specifies the keyboard event.
170
170
  * @returns {void}
171
171
  * @hidden
172
-
172
+ * @deprecated
173
173
  */
174
174
  Formatter.prototype.onKeyHandler = function (self, e) {
175
175
  var _this = this;
@@ -188,7 +188,7 @@ var Formatter = /** @class */ (function () {
188
188
  * @param {IMarkdownFormatterCallBack} events - specifies the event call back
189
189
  * @returns {void}
190
190
  * @hidden
191
-
191
+ * @deprecated
192
192
  */
193
193
  Formatter.prototype.onSuccess = function (self, events) {
194
194
  self.notify(CONSTANT.contentChanged, {});
@@ -222,7 +222,7 @@ var Formatter = /** @class */ (function () {
222
222
  * @param {KeyboardEvent} e - specifies the keyboard event.
223
223
  * @returns {void}
224
224
  * @hidden
225
-
225
+ * @deprecated
226
226
  */
227
227
  Formatter.prototype.saveData = function (e) {
228
228
  this.editorManager.undoRedoManager.saveData(e);
@@ -232,7 +232,7 @@ var Formatter = /** @class */ (function () {
232
232
  *
233
233
  * @returns {void}
234
234
  * @hidden
235
-
235
+ * @deprecated
236
236
  */
237
237
  Formatter.prototype.getUndoStatus = function () {
238
238
  return this.editorManager.undoRedoManager.getUndoStatus();
@@ -244,7 +244,7 @@ var Formatter = /** @class */ (function () {
244
244
  * @param {IHtmlUndoRedoData} - specifies the redo data.
245
245
  * @returns {void}
246
246
  * @hidden
247
-
247
+ * @deprecated
248
248
  */
249
249
  /* eslint-enable */
250
250
  Formatter.prototype.getUndoRedoStack = function () {
@@ -256,7 +256,7 @@ var Formatter = /** @class */ (function () {
256
256
  * @param {IRichTextEditor} self - specifies the self element.
257
257
  * @returns {void}
258
258
  * @hidden
259
-
259
+ * @deprecated
260
260
  */
261
261
  Formatter.prototype.enableUndo = function (self) {
262
262
  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;
@@ -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);
@@ -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;