@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
@@ -22,7 +22,7 @@ export declare class Count {
22
22
  *
23
23
  * @returns {void}
24
24
  * @hidden
25
-
25
+ * @deprecated
26
26
  */
27
27
  renderCount(): void;
28
28
  private appendCount;
@@ -30,7 +30,7 @@ export declare class Count {
30
30
  /**
31
31
  * @returns {void}
32
32
  * @hidden
33
-
33
+ * @deprecated
34
34
  */
35
35
  refresh(): void;
36
36
  /**
@@ -39,7 +39,7 @@ export declare class Count {
39
39
  * @function destroy
40
40
  * @returns {void}
41
41
  * @hidden
42
-
42
+ * @deprecated
43
43
  */
44
44
  destroy(): void;
45
45
  private toggle;
@@ -22,7 +22,7 @@ var Count = /** @class */ (function () {
22
22
  *
23
23
  * @returns {void}
24
24
  * @hidden
25
-
25
+ * @deprecated
26
26
  */
27
27
  Count.prototype.renderCount = function () {
28
28
  this.initializeInstance();
@@ -63,7 +63,7 @@ var Count = /** @class */ (function () {
63
63
  /**
64
64
  * @returns {void}
65
65
  * @hidden
66
-
66
+ * @deprecated
67
67
  */
68
68
  Count.prototype.refresh = function () {
69
69
  if (!isNullOrUndefined(this.editPanel)) {
@@ -79,7 +79,7 @@ var Count = /** @class */ (function () {
79
79
  * @function destroy
80
80
  * @returns {void}
81
81
  * @hidden
82
-
82
+ * @deprecated
83
83
  */
84
84
  Count.prototype.destroy = function () {
85
85
  if (this.element && !isNullOrUndefined(this.parent.element.querySelector('.' + CLS_COUNT))) {
@@ -37,7 +37,7 @@ export declare class DropDownButtons {
37
37
  * @param {IDropDownRenderArgs} args - specifies the arguments
38
38
  * @returns {void}
39
39
  * @hidden
40
-
40
+ * @deprecated
41
41
  */
42
42
  renderDropDowns(args: IDropDownRenderArgs): void;
43
43
  private getUpdateItems;
@@ -56,7 +56,7 @@ export declare class DropDownButtons {
56
56
  *
57
57
  * @returns {void}
58
58
  * @hidden
59
-
59
+ * @deprecated
60
60
  */
61
61
  destroyDropDowns(): void;
62
62
  private setRtl;
@@ -39,7 +39,7 @@ var DropDownButtons = /** @class */ (function () {
39
39
  * @param {IDropDownRenderArgs} args - specifies the arguments
40
40
  * @returns {void}
41
41
  * @hidden
42
-
42
+ * @deprecated
43
43
  */
44
44
  DropDownButtons.prototype.renderDropDowns = function (args) {
45
45
  var _this = this;
@@ -406,7 +406,7 @@ var DropDownButtons = /** @class */ (function () {
406
406
  *
407
407
  * @returns {void}
408
408
  * @hidden
409
-
409
+ * @deprecated
410
410
  */
411
411
  DropDownButtons.prototype.destroyDropDowns = function () {
412
412
  if (this.formatDropDown) {
@@ -21,7 +21,7 @@ export declare class EmojiPicker {
21
21
  * @function destroy
22
22
  * @returns {void}
23
23
  * @hidden
24
-
24
+ * @deprecated
25
25
  */
26
26
  destroy(): void;
27
27
  protected addEventListener(): void;
@@ -19,7 +19,7 @@ var EmojiPicker = /** @class */ (function () {
19
19
  * @function destroy
20
20
  * @returns {void}
21
21
  * @hidden
22
-
22
+ * @deprecated
23
23
  */
24
24
  EmojiPicker.prototype.destroy = function () {
25
25
  this.removeEventListener();
@@ -19,5 +19,10 @@ export declare class EnterKeyAction {
19
19
  private insertBRElement;
20
20
  private insertFocusContent;
21
21
  private createInsertElement;
22
+ private triggerActionComplete;
22
23
  private handleCursorAtTableSide;
24
+ private handleEnterKeyAtImageSide;
25
+ private isTableOrImageStart;
26
+ private isTableOrImageEnd;
27
+ private processedTableImageCursor;
23
28
  }
@@ -39,16 +39,18 @@ var EnterKeyAction = /** @class */ (function () {
39
39
  this.getRangeNode();
40
40
  var isTableEnter = true;
41
41
  this.formatTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote'];
42
- var isCursorAtTableEnd = this.range.collapsed && (this.range.startContainer.nodeType === 1) &&
43
- this.range.startContainer.isContentEditable &&
44
- this.range.startContainer.childNodes[this.range.startOffset - 1] &&
45
- this.range.startContainer.childNodes[this.range.startOffset - 1].nodeName === 'TABLE';
46
- var isCursorAtTableStart = this.range.collapsed && (this.range.startContainer.nodeType === 1) &&
47
- this.range.startContainer.isContentEditable && this.range.startContainer.childNodes[this.range.startOffset] &&
48
- this.range.startContainer.childNodes[this.range.startOffset].nodeName === 'TABLE';
49
- if (isCursorAtTableEnd || isCursorAtTableStart) {
50
- this.handleCursorAtTableSide(e, isCursorAtTableStart, isCursorAtTableEnd);
51
- return;
42
+ var tableImagCursor = this.processedTableImageCursor();
43
+ if (tableImagCursor.start || tableImagCursor.end) {
44
+ if (tableImagCursor.startName === 'TABLE' || tableImagCursor.endName === 'TABLE') { // Default browser action prevented and hanled manually.
45
+ this.handleCursorAtTableSide(e, tableImagCursor.start, tableImagCursor.end);
46
+ return;
47
+ }
48
+ }
49
+ if (tableImagCursor.start || tableImagCursor.end || this.range.startContainer.nodeName === 'IMG') {
50
+ if (this.parent.enterKey === 'BR' && (tableImagCursor.startName === 'IMG' || tableImagCursor.endName === 'IMG' || this.range.startContainer.nodeName === 'IMG')) { // Default browser action prevented and hanled manually.
51
+ this.handleEnterKeyAtImageSide(e, tableImagCursor.start, tableImagCursor.end);
52
+ return;
53
+ }
52
54
  }
53
55
  if (!isNOU(this.startNode.closest('TABLE')) && !isNOU(this.endNode.closest('TABLE'))) {
54
56
  isTableEnter = false;
@@ -417,7 +419,6 @@ var EnterKeyAction = /** @class */ (function () {
417
419
  var outerBRElem = _this.parent.createElement('br');
418
420
  if (_this.range.startOffset === 0 && _this.range.endOffset === 0 &&
419
421
  !isNOU(currentParent.previousSibling) && currentParent.previousSibling.nodeName === 'BR' && currentParent.nodeName !== 'P' && currentParent.nodeName !== 'DIV') {
420
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
421
422
  newElem = _this.parent.formatter.editorManager.nodeCutter.SplitNode(_this.range, currentParent, false).cloneNode(true);
422
423
  _this.parent.formatter.editorManager.domNode.insertAfter(outerBRElem, currentParent);
423
424
  _this.insertFocusContent();
@@ -447,7 +448,7 @@ var EnterKeyAction = /** @class */ (function () {
447
448
  }
448
449
  e.args.preventDefault();
449
450
  }
450
- _this.parent.trigger(events.actionComplete, { requestType: shiftKey_1 ? 'ShiftEnterAction' : 'EnterAction', args: e.args });
451
+ _this.triggerActionComplete(e, shiftKey_1);
451
452
  }
452
453
  });
453
454
  }
@@ -517,6 +518,9 @@ var EnterKeyAction = /** @class */ (function () {
517
518
  }
518
519
  return insertElem;
519
520
  };
521
+ EnterKeyAction.prototype.triggerActionComplete = function (e, shiftKey) {
522
+ this.parent.trigger(events.actionComplete, { requestType: shiftKey ? 'ShiftEnterAction' : 'EnterAction', args: e.args });
523
+ };
520
524
  EnterKeyAction.prototype.handleCursorAtTableSide = function (e, isStart, isEnd) {
521
525
  var _this = this;
522
526
  if (this.parent.enterKey !== 'BR') {
@@ -547,11 +551,92 @@ var EnterKeyAction = /** @class */ (function () {
547
551
  }
548
552
  _this.parent.formatter.editorManager.nodeSelection.setCursorPoint(_this.parent.contentModule.getDocument(), newElement, 0);
549
553
  e.args.preventDefault();
550
- _this.parent.trigger(events.actionComplete, { requestType: shiftKey_2 ? 'ShiftEnterAction' : 'EnterAction', args: e.args });
554
+ _this.triggerActionComplete(e, shiftKey_2);
551
555
  }
552
556
  });
553
557
  }
554
558
  };
559
+ EnterKeyAction.prototype.handleEnterKeyAtImageSide = function (e, isStart, isEnd) {
560
+ var _this = this;
561
+ var actionBeginArgs = {
562
+ cancel: false,
563
+ name: events.actionBegin,
564
+ requestType: e.args.shiftKey ? 'ShiftEnterAction' : 'EnterAction',
565
+ originalEvent: e.args
566
+ };
567
+ var directRange = false;
568
+ if (this.range.startContainer.nodeName === 'IMG' && this.range.startOffset === 0) {
569
+ directRange = true;
570
+ }
571
+ this.parent.trigger(events.actionBegin, actionBeginArgs, function (actionBeginArgs) {
572
+ if (!actionBeginArgs.cancel) {
573
+ if (_this.parent.enterKey === 'BR') {
574
+ var newElement = _this.parent.createElement('BR');
575
+ var imageElement = void 0;
576
+ if (directRange) {
577
+ imageElement = _this.range.startContainer;
578
+ imageElement.parentElement.insertBefore(newElement, imageElement);
579
+ _this.parent.formatter.editorManager.nodeSelection.
580
+ setCursorPoint(_this.parent.contentModule.getDocument(), imageElement, 0);
581
+ }
582
+ if (isStart) {
583
+ imageElement = _this.range.startContainer.childNodes[_this.range.startOffset];
584
+ imageElement.parentElement.insertBefore(newElement, imageElement);
585
+ _this.parent.formatter.editorManager.nodeSelection.
586
+ setCursorPoint(_this.parent.contentModule.getDocument(), imageElement, 0);
587
+ }
588
+ if (isEnd) {
589
+ imageElement = _this.range.startContainer.childNodes[_this.range.startOffset - 1];
590
+ if (!isNOU(imageElement.nextSibling)) {
591
+ imageElement.parentElement.insertBefore(newElement, imageElement.nextSibling);
592
+ _this.parent.formatter.editorManager.nodeSelection.setCursorPoint(_this.parent.contentModule.getDocument(), newElement.nextSibling, 0);
593
+ }
594
+ else if (isNOU(imageElement.nextSibling)) {
595
+ imageElement.parentElement.appendChild(newElement);
596
+ var brElement = _this.parent.createElement('BR');
597
+ imageElement.parentElement.appendChild(brElement);
598
+ _this.parent.formatter.editorManager.nodeSelection.setCursorPoint(_this.parent.contentModule.getDocument(), brElement, 0);
599
+ }
600
+ }
601
+ e.args.preventDefault();
602
+ _this.triggerActionComplete(e, e.args.shiftKey);
603
+ }
604
+ }
605
+ });
606
+ };
607
+ EnterKeyAction.prototype.isTableOrImageStart = function () {
608
+ var customHandlerElements = ['IMG', 'TABLE'];
609
+ var startContainer = this.range.startContainer;
610
+ var startOffset = this.range.startOffset;
611
+ var isCursorAtStart = this.range.collapsed && (startContainer.nodeType === 1) &&
612
+ startContainer.isContentEditable && startContainer.childNodes[startOffset] &&
613
+ (customHandlerElements.indexOf(startContainer.childNodes[startOffset].nodeName) > -1);
614
+ if (isCursorAtStart) {
615
+ return { start: isCursorAtStart, startNodeName: startContainer.childNodes[startOffset].nodeName };
616
+ }
617
+ else {
618
+ return { start: false, startNodeName: '' };
619
+ }
620
+ };
621
+ EnterKeyAction.prototype.isTableOrImageEnd = function () {
622
+ var customHandlerElements = ['IMG', 'TABLE'];
623
+ var startContainer = this.range.startContainer;
624
+ var startOffset = this.range.startOffset;
625
+ var isCursorAtEnd = this.range.collapsed && (startContainer.nodeType === 1) &&
626
+ startContainer.isContentEditable && startContainer.childNodes[startOffset - 1] &&
627
+ (customHandlerElements.indexOf(startContainer.childNodes[startOffset - 1].nodeName) > -1);
628
+ if (isCursorAtEnd) {
629
+ return { end: isCursorAtEnd, endNodeName: startContainer.childNodes[startOffset - 1].nodeName };
630
+ }
631
+ else {
632
+ return { end: false, endNodeName: '' };
633
+ }
634
+ };
635
+ EnterKeyAction.prototype.processedTableImageCursor = function () {
636
+ var _a = this.isTableOrImageStart(), start = _a.start, startNodeName = _a.startNodeName;
637
+ var _b = this.isTableOrImageEnd(), end = _b.end, endNodeName = _b.endNodeName;
638
+ return { start: start, startName: startNodeName, end: end, endName: endNodeName };
639
+ };
555
640
  return EnterKeyAction;
556
641
  }());
557
642
  export { EnterKeyAction };
@@ -13,7 +13,7 @@ export declare class FullScreen {
13
13
  * @param {MouseEvent} event - specifies the mouse event
14
14
  * @returns {void}
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  showFullScreen(event?: MouseEvent | KeyboardEventArgs): void;
19
19
  /**
@@ -22,7 +22,7 @@ export declare class FullScreen {
22
22
  * @param {MouseEvent} event - specifies the mouse event
23
23
  * @returns {void}
24
24
  * @hidden
25
-
25
+ * @deprecated
26
26
  */
27
27
  hideFullScreen(event?: MouseEvent | KeyboardEventArgs): void;
28
28
  private toggleParentOverflow;
@@ -34,7 +34,7 @@ export declare class FullScreen {
34
34
  *
35
35
  * @returns {void}
36
36
  * @hidden
37
-
37
+ * @deprecated
38
38
  */
39
39
  destroy(): void;
40
40
  private moduleDestroy;
@@ -17,7 +17,7 @@ var FullScreen = /** @class */ (function () {
17
17
  * @param {MouseEvent} event - specifies the mouse event
18
18
  * @returns {void}
19
19
  * @hidden
20
-
20
+ * @deprecated
21
21
  */
22
22
  FullScreen.prototype.showFullScreen = function (event) {
23
23
  var _this = this;
@@ -25,9 +25,6 @@ var FullScreen = /** @class */ (function () {
25
25
  && !isNOU(this.parent.quickToolbarModule)) {
26
26
  this.parent.quickToolbarModule.hideQuickToolbars();
27
27
  }
28
- if (this.parent.showTooltip && !isNOU(document.querySelector('.e-tooltip-wrap'))) {
29
- this.parent.notify(events.destroyTooltip, { args: event });
30
- }
31
28
  this.scrollableParent = getScrollableParent(this.parent.element);
32
29
  if (!this.parent.element.classList.contains(classes.CLS_FULL_SCREEN)) {
33
30
  var evenArgs = {
@@ -72,7 +69,7 @@ var FullScreen = /** @class */ (function () {
72
69
  * @param {MouseEvent} event - specifies the mouse event
73
70
  * @returns {void}
74
71
  * @hidden
75
-
72
+ * @deprecated
76
73
  */
77
74
  FullScreen.prototype.hideFullScreen = function (event) {
78
75
  var _this = this;
@@ -80,9 +77,6 @@ var FullScreen = /** @class */ (function () {
80
77
  && !isNOU(this.parent.quickToolbarModule)) {
81
78
  this.parent.quickToolbarModule.hideQuickToolbars();
82
79
  }
83
- if (this.parent.showTooltip && !isNOU(document.querySelector('.e-tooltip-wrap'))) {
84
- this.parent.notify(events.destroyTooltip, { args: event });
85
- }
86
80
  if (this.parent.element.classList.contains(classes.CLS_FULL_SCREEN)) {
87
81
  var evenArgs = {
88
82
  cancel: false,
@@ -162,7 +156,7 @@ var FullScreen = /** @class */ (function () {
162
156
  *
163
157
  * @returns {void}
164
158
  * @hidden
165
-
159
+ * @deprecated
166
160
  */
167
161
  FullScreen.prototype.destroy = function () {
168
162
  if (isNOU(this.parent)) {
@@ -29,14 +29,14 @@ export declare class HtmlEditor {
29
29
  * @function destroy
30
30
  * @returns {void}
31
31
  * @hidden
32
-
32
+ * @deprecated
33
33
  */
34
34
  destroy(): void;
35
35
  /**
36
36
  * @param {string} value - specifies the string value
37
37
  * @returns {void}
38
38
  * @hidden
39
-
39
+ * @deprecated
40
40
  */
41
41
  sanitizeHelper(value: string): string;
42
42
  private addEventListener;
@@ -69,7 +69,7 @@ export declare class HtmlEditor {
69
69
  * @param {RichTextEditorModel} e - specifies the editor model
70
70
  * @returns {void}
71
71
  * @hidden
72
-
72
+ * @deprecated
73
73
  */
74
74
  protected onPropertyChanged(e: {
75
75
  [key: string]: RichTextEditorModel;
@@ -106,4 +106,5 @@ export declare class HtmlEditor {
106
106
  * @hidden
107
107
  */
108
108
  private getSelectedHtml;
109
+ private marginTabAdd;
109
110
  }
@@ -34,7 +34,7 @@ var HtmlEditor = /** @class */ (function () {
34
34
  * @function destroy
35
35
  * @returns {void}
36
36
  * @hidden
37
-
37
+ * @deprecated
38
38
  */
39
39
  HtmlEditor.prototype.destroy = function () {
40
40
  this.removeEventListener();
@@ -43,7 +43,7 @@ var HtmlEditor = /** @class */ (function () {
43
43
  * @param {string} value - specifies the string value
44
44
  * @returns {void}
45
45
  * @hidden
46
-
46
+ * @deprecated
47
47
  */
48
48
  HtmlEditor.prototype.sanitizeHelper = function (value) {
49
49
  value = sanitizeHelper(value, this.parent);
@@ -287,25 +287,54 @@ var HtmlEditor = /** @class */ (function () {
287
287
  this.deleteCleanup(e, currentRange);
288
288
  }
289
289
  if (args.keyCode === 9 && this.parent.enableTabKey) {
290
+ this.parent.formatter.saveData(e);
290
291
  if (!isNOU(args.target) && isNullOrUndefined(closest(args.target, '.e-rte-toolbar'))) {
291
292
  var range = this.nodeSelectionObj.getRange(this.contentRenderer.getDocument());
292
293
  var parentNode = this.nodeSelectionObj.getParentNodeCollection(range);
293
294
  if (!((parentNode[0].nodeName === 'LI' || closest(parentNode[0], 'li') ||
294
- closest(parentNode[0], 'table')) && range.startOffset === 0)) {
295
+ closest(parentNode[0], 'table')))) {
295
296
  args.preventDefault();
296
- if (!args.shiftKey) {
297
- InsertHtml.Insert(this.contentRenderer.getDocument(), '    ');
298
- this.rangeCollection.push(this.nodeSelectionObj.getRange(this.contentRenderer.getDocument()));
297
+ var selection = this.contentRenderer.getDocument().getSelection().getRangeAt(0);
298
+ var alignmentNodes = this.parent.formatter.editorManager.domNode.blockNodes();
299
+ if (this.parent.enterKey === 'BR') {
300
+ if (selection.startOffset !== selection.endOffset && selection.startOffset === 0) {
301
+ var save = this.nodeSelectionObj.save(range, this.contentRenderer.getDocument());
302
+ this.parent.formatter.editorManager.domNode.setMarker(save);
303
+ alignmentNodes = this.parent.formatter.editorManager.domNode.blockNodes();
304
+ this.parent.formatter.editorManager.domNode.convertToBlockNodes(alignmentNodes, false);
305
+ this.marginTabAdd(args.shiftKey, alignmentNodes);
306
+ save = this.parent.formatter.editorManager.domNode.saveMarker(save);
307
+ save.restore();
308
+ }
309
+ else {
310
+ InsertHtml.Insert(this.contentRenderer.getDocument(), '    ');
311
+ this.rangeCollection.push(this.nodeSelectionObj.getRange(this.contentRenderer.getDocument()));
312
+ }
299
313
  }
300
- else if (this.rangeCollection.length > 0 &&
301
- this.rangeCollection[this.rangeCollection.length - 1].startContainer.textContent.length === 4) {
302
- var textCont = this.rangeCollection[this.rangeCollection.length - 1].startContainer;
303
- this.nodeSelectionObj.setSelectionText(this.contentRenderer.getDocument(), textCont, textCont, 0, textCont.textContent.length);
304
- InsertHtml.Insert(this.contentRenderer.getDocument(), document.createTextNode(''));
305
- this.rangeCollection.pop();
314
+ else {
315
+ if (!args.shiftKey) {
316
+ if (selection.startOffset !== selection.endOffset && selection.startOffset === 0) {
317
+ this.marginTabAdd(args.shiftKey, alignmentNodes);
318
+ }
319
+ else {
320
+ InsertHtml.Insert(this.contentRenderer.getDocument(), '    ');
321
+ this.rangeCollection.push(this.nodeSelectionObj.getRange(this.contentRenderer.getDocument()));
322
+ }
323
+ }
324
+ else if (this.rangeCollection.length > 0 &&
325
+ this.rangeCollection[this.rangeCollection.length - 1].startContainer.textContent.length === 4) {
326
+ var textCont = this.rangeCollection[this.rangeCollection.length - 1].startContainer;
327
+ this.nodeSelectionObj.setSelectionText(this.contentRenderer.getDocument(), textCont, textCont, 0, textCont.textContent.length);
328
+ InsertHtml.Insert(this.contentRenderer.getDocument(), document.createTextNode(''));
329
+ this.rangeCollection.pop();
330
+ }
331
+ else {
332
+ this.marginTabAdd(args.shiftKey, alignmentNodes);
333
+ }
306
334
  }
307
335
  }
308
336
  }
337
+ this.parent.formatter.saveData(e);
309
338
  }
310
339
  if (e.args.action === 'space' ||
311
340
  e.args.action === 'enter' ||
@@ -911,7 +940,7 @@ var HtmlEditor = /** @class */ (function () {
911
940
  * @param {RichTextEditorModel} e - specifies the editor model
912
941
  * @returns {void}
913
942
  * @hidden
914
-
943
+ * @deprecated
915
944
  */
916
945
  HtmlEditor.prototype.onPropertyChanged = function (e) {
917
946
  // On property code change here
@@ -968,6 +997,30 @@ var HtmlEditor = /** @class */ (function () {
968
997
  HtmlEditor.prototype.getSelectedHtml = function (e) {
969
998
  e.callBack(this.parent.formatter.editorManager.nodeSelection.getRange(this.parent.contentModule.getDocument()).toString());
970
999
  };
1000
+ HtmlEditor.prototype.marginTabAdd = function (val, alignmentNodes) {
1001
+ for (var index = 0; index < alignmentNodes.length; index++) {
1002
+ var element = alignmentNodes[index];
1003
+ if (element.closest('li')) {
1004
+ continue;
1005
+ }
1006
+ if (element.style.marginLeft) {
1007
+ var count = parseInt(element.style.marginLeft, 10);
1008
+ if (val) {
1009
+ count -= 20;
1010
+ }
1011
+ else {
1012
+ count += 20;
1013
+ }
1014
+ element.style.marginLeft = count.toString() + 'px';
1015
+ if (element.style.marginLeft === '0px') {
1016
+ element.removeAttribute('style');
1017
+ }
1018
+ }
1019
+ else if (!val) {
1020
+ element.style.marginLeft = '20px';
1021
+ }
1022
+ }
1023
+ };
971
1024
  return HtmlEditor;
972
1025
  }());
973
1026
  export { HtmlEditor };
@@ -1,4 +1,4 @@
1
- import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from '@syncfusion/ej2-base';import { Base, EmitType } from '@syncfusion/ej2-base';import { KeyboardEventsModel } from '@syncfusion/ej2-base';
1
+ import { Property, NotifyPropertyChanges, INotifyPropertyChanged, Event } from '@syncfusion/ej2-base';
2
2
  import {KeyboardEventArgs} from "./keyboard";
3
3
 
4
4
  /**
@@ -7,24 +7,24 @@ import {KeyboardEventArgs} from "./keyboard";
7
7
  export interface KeyboardEventsModel {
8
8
 
9
9
  /**
10
- * Specifies key combination and it respective action name.
11
- *
12
- * @default null
13
- */
14
- keyConfigs?: { [key: string]: string };
10
+ * Specifies key combination and it respective action name.
11
+ *
12
+ * @default null
13
+ */
14
+ keyConfigs?: { [key: string]: string };
15
15
 
16
16
  /**
17
- * Specifies on which event keyboardEvents class should listen for key press. For ex., `keyup`, `keydown` or `keypress`
18
- *
19
- * @default 'keyup'
20
- */
21
- eventName?: string;
17
+ * Specifies on which event keyboardEvents class should listen for key press. For ex., `keyup`, `keydown` or `keypress`
18
+ *
19
+ * @default 'keyup'
20
+ */
21
+ eventName?: string;
22
22
 
23
23
  /**
24
- * Specifies the listener when keyboard actions is performed.
25
- *
26
- * @event 'keyAction'
27
- */
28
- keyAction?: EmitType<KeyboardEventArgs>;
24
+ * Specifies the listener when keyboard actions is performed.
25
+ *
26
+ * @event 'keyAction'
27
+ */
28
+ keyAction?: EmitType<KeyboardEventArgs>;
29
29
 
30
30
  }
@@ -27,7 +27,7 @@ export interface KeyboardEventArgs extends KeyboardEvent {
27
27
  * ```
28
28
  *
29
29
  * @hidden
30
-
30
+ * @deprecated
31
31
  */
32
32
  export declare class KeyboardEvents extends Base<HTMLElement> implements INotifyPropertyChanged {
33
33
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, NotifyPropertyChanges, Event } from '@syncfusion/ej2-base';
21
21
  import { Base } from '@syncfusion/ej2-base';
22
22
  var keyCode = {
@@ -86,7 +86,7 @@ var keyCode = {
86
86
  * ```
87
87
  *
88
88
  * @hidden
89
-
89
+ * @deprecated
90
90
  */
91
91
  var KeyboardEvents = /** @class */ (function (_super) {
92
92
  __extends(KeyboardEvents, _super);
@@ -19,7 +19,7 @@ export declare class MarkdownEditor {
19
19
  * @function destroy
20
20
  * @returns {void}
21
21
  * @hidden
22
-
22
+ * @deprecated
23
23
  */
24
24
  destroy(): void;
25
25
  private moduleDestroy;
@@ -37,7 +37,7 @@ export declare class MarkdownEditor {
37
37
  * @param {RichTextEditorModel} e - specifies the editor model
38
38
  * @returns {void}
39
39
  * @hidden
40
-
40
+ * @deprecated
41
41
  */
42
42
  protected onPropertyChanged(e: {
43
43
  [key: string]: RichTextEditorModel;
@@ -22,7 +22,7 @@ var MarkdownEditor = /** @class */ (function () {
22
22
  * @function destroy
23
23
  * @returns {void}
24
24
  * @hidden
25
-
25
+ * @deprecated
26
26
  */
27
27
  MarkdownEditor.prototype.destroy = function () {
28
28
  if (isNullOrUndefined(this.parent)) {
@@ -149,7 +149,7 @@ var MarkdownEditor = /** @class */ (function () {
149
149
  * @param {RichTextEditorModel} e - specifies the editor model
150
150
  * @returns {void}
151
151
  * @hidden
152
-
152
+ * @deprecated
153
153
  */
154
154
  MarkdownEditor.prototype.onPropertyChanged = function (e) {
155
155
  // On property code change here