@syncfusion/ej2-richtexteditor 25.1.40 → 25.1.41-85815

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 (283) hide show
  1. package/.eslintrc.json +259 -259
  2. package/CHANGELOG.md +2067 -1973
  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 +760 -307
  7. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-richtexteditor.es5.js +861 -405
  9. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  10. package/ej2-richtexteditor-component.sln +30 -0
  11. package/helpers/e2e/index.js +3 -3
  12. package/helpers/e2e/rte-helper.js +13 -13
  13. package/license +9 -9
  14. package/package.json +74 -74
  15. package/src/common/interface.d.ts +22 -8
  16. package/src/common/util.d.ts +8 -0
  17. package/src/common/util.js +56 -1
  18. package/src/editor-manager/base/classes.d.ts +1 -1
  19. package/src/editor-manager/base/classes.js +1 -1
  20. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  21. package/src/editor-manager/base/editor-manager.js +8 -6
  22. package/src/editor-manager/base/enum.d.ts +2 -2
  23. package/src/editor-manager/base/interface.d.ts +9 -9
  24. package/src/editor-manager/base/types.d.ts +1 -1
  25. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  26. package/src/editor-manager/plugin/alignments.js +5 -2
  27. package/src/editor-manager/plugin/audio.d.ts +3 -3
  28. package/src/editor-manager/plugin/audio.js +3 -3
  29. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  30. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  31. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  32. package/src/editor-manager/plugin/clearformat.js +1 -1
  33. package/src/editor-manager/plugin/dom-node.d.ts +54 -34
  34. package/src/editor-manager/plugin/dom-node.js +139 -36
  35. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  36. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  37. package/src/editor-manager/plugin/formats.d.ts +2 -2
  38. package/src/editor-manager/plugin/formats.js +3 -3
  39. package/src/editor-manager/plugin/image.d.ts +3 -3
  40. package/src/editor-manager/plugin/image.js +3 -3
  41. package/src/editor-manager/plugin/indents.d.ts +2 -2
  42. package/src/editor-manager/plugin/indents.js +5 -2
  43. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  44. package/src/editor-manager/plugin/insert-methods.js +4 -4
  45. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  46. package/src/editor-manager/plugin/insert-text.js +2 -2
  47. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  48. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  49. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  50. package/src/editor-manager/plugin/inserthtml.js +13 -4
  51. package/src/editor-manager/plugin/isformatted.d.ts +8 -8
  52. package/src/editor-manager/plugin/isformatted.js +8 -8
  53. package/src/editor-manager/plugin/link.d.ts +2 -2
  54. package/src/editor-manager/plugin/link.js +2 -2
  55. package/src/editor-manager/plugin/lists.d.ts +2 -2
  56. package/src/editor-manager/plugin/lists.js +84 -61
  57. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  58. package/src/editor-manager/plugin/ms-word-clean-up.js +4 -4
  59. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  60. package/src/editor-manager/plugin/nodecutter.js +8 -8
  61. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  62. package/src/editor-manager/plugin/selection-commands.js +1 -1
  63. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  64. package/src/editor-manager/plugin/selection-exec.js +2 -2
  65. package/src/editor-manager/plugin/table.d.ts +2 -2
  66. package/src/editor-manager/plugin/table.js +2 -2
  67. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  68. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  69. package/src/editor-manager/plugin/undo.d.ts +6 -6
  70. package/src/editor-manager/plugin/undo.js +9 -7
  71. package/src/editor-manager/plugin/video.d.ts +3 -3
  72. package/src/editor-manager/plugin/video.js +3 -3
  73. package/src/markdown-parser/base/interface.d.ts +10 -10
  74. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  75. package/src/markdown-parser/base/markdown-parser.js +3 -3
  76. package/src/markdown-parser/base/types.d.ts +1 -1
  77. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  78. package/src/markdown-parser/plugin/clearformat.js +2 -2
  79. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  80. package/src/markdown-parser/plugin/formats.js +2 -2
  81. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  82. package/src/markdown-parser/plugin/insert-text.js +2 -2
  83. package/src/markdown-parser/plugin/link.d.ts +2 -2
  84. package/src/markdown-parser/plugin/link.js +2 -2
  85. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  86. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  87. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  88. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  89. package/src/markdown-parser/plugin/table.d.ts +3 -3
  90. package/src/markdown-parser/plugin/table.js +3 -3
  91. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  92. package/src/markdown-parser/plugin/undo.js +6 -6
  93. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  94. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  95. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  96. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  97. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  98. package/src/rich-text-editor/actions/color-picker.js +2 -2
  99. package/src/rich-text-editor/actions/count.d.ts +3 -3
  100. package/src/rich-text-editor/actions/count.js +3 -3
  101. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  102. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  103. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  104. package/src/rich-text-editor/actions/emoji-picker.js +2 -2
  105. package/src/rich-text-editor/actions/enter-key.d.ts +5 -0
  106. package/src/rich-text-editor/actions/enter-key.js +107 -13
  107. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  108. package/src/rich-text-editor/actions/full-screen.js +3 -9
  109. package/src/rich-text-editor/actions/html-editor.d.ts +5 -3
  110. package/src/rich-text-editor/actions/html-editor.js +106 -26
  111. package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
  112. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  113. package/src/rich-text-editor/actions/keyboard.js +20 -20
  114. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  115. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  116. package/src/rich-text-editor/actions/paste-clean-up.d.ts +2 -1
  117. package/src/rich-text-editor/actions/paste-clean-up.js +57 -16
  118. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  119. package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
  120. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  121. package/src/rich-text-editor/actions/toolbar.js +13 -13
  122. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  123. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  124. package/src/rich-text-editor/base/classes.d.ts +121 -121
  125. package/src/rich-text-editor/base/classes.js +121 -121
  126. package/src/rich-text-editor/base/constant.d.ts +158 -158
  127. package/src/rich-text-editor/base/constant.js +158 -158
  128. package/src/rich-text-editor/base/enum.d.ts +5 -5
  129. package/src/rich-text-editor/base/enum.js +10 -10
  130. package/src/rich-text-editor/base/interface.d.ts +53 -53
  131. package/src/rich-text-editor/base/interface.js +1 -1
  132. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +891 -891
  133. package/src/rich-text-editor/base/rich-text-editor.d.ts +63 -61
  134. package/src/rich-text-editor/base/rich-text-editor.js +89 -67
  135. package/src/rich-text-editor/base/util.d.ts +1 -1
  136. package/src/rich-text-editor/base/util.js +1 -1
  137. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  138. package/src/rich-text-editor/formatter/formatter.js +8 -8
  139. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  140. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  141. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  142. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  143. package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
  144. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  145. package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
  146. package/src/rich-text-editor/models/inline-mode.js +19 -19
  147. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
  148. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  149. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  150. package/src/rich-text-editor/renderer/audio-module.js +7 -2
  151. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  152. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  153. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  154. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  155. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  156. package/src/rich-text-editor/renderer/iframe-content-renderer.js +18 -18
  157. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  158. package/src/rich-text-editor/renderer/image-module.js +13 -8
  159. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  160. package/src/rich-text-editor/renderer/link-module.js +4 -1
  161. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  162. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  163. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  164. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  165. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  166. package/src/rich-text-editor/renderer/render.js +2 -2
  167. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  168. package/src/rich-text-editor/renderer/table-module.js +6 -2
  169. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +11 -9
  170. package/src/rich-text-editor/renderer/toolbar-renderer.js +23 -19
  171. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  172. package/src/rich-text-editor/renderer/video-module.js +7 -2
  173. package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
  174. package/src/rich-text-editor/renderer/view-source.js +6 -6
  175. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  176. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  177. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  178. package/src/rich-text-editor/services/service-locator.js +3 -3
  179. package/src/selection/selection.d.ts +22 -22
  180. package/src/selection/selection.js +22 -22
  181. package/styles/_all.scss +1 -1
  182. package/styles/bootstrap-dark.css +739 -801
  183. package/styles/bootstrap-dark.scss +4 -1
  184. package/styles/bootstrap.css +723 -801
  185. package/styles/bootstrap.scss +4 -1
  186. package/styles/bootstrap4.css +726 -803
  187. package/styles/bootstrap4.scss +4 -1
  188. package/styles/bootstrap5-dark.css +750 -840
  189. package/styles/bootstrap5-dark.scss +4 -1
  190. package/styles/bootstrap5.css +749 -839
  191. package/styles/bootstrap5.scss +4 -1
  192. package/styles/fabric-dark.css +724 -797
  193. package/styles/fabric-dark.scss +4 -1
  194. package/styles/fabric.css +720 -797
  195. package/styles/fabric.scss +4 -1
  196. package/styles/fluent-dark.css +727 -820
  197. package/styles/fluent-dark.scss +4 -1
  198. package/styles/fluent.css +726 -819
  199. package/styles/fluent.scss +4 -1
  200. package/styles/fluent2.css +4255 -0
  201. package/styles/fluent2.scss +4 -0
  202. package/styles/highcontrast-light.css +695 -795
  203. package/styles/highcontrast-light.scss +4 -1
  204. package/styles/highcontrast.css +717 -797
  205. package/styles/highcontrast.scss +4 -1
  206. package/styles/material-dark.css +716 -798
  207. package/styles/material-dark.scss +4 -1
  208. package/styles/material.css +713 -800
  209. package/styles/material.scss +4 -1
  210. package/styles/material3-dark.css +751 -857
  211. package/styles/material3-dark.scss +4 -1
  212. package/styles/material3.css +751 -857
  213. package/styles/material3.scss +4 -1
  214. package/styles/rich-text-editor/_all.scss +2 -2
  215. package/styles/rich-text-editor/_bds-definition.scss +290 -285
  216. package/styles/rich-text-editor/_bigger.scss +610 -0
  217. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +291 -287
  218. package/styles/rich-text-editor/_bootstrap-definition.scss +349 -343
  219. package/styles/rich-text-editor/_bootstrap4-definition.scss +476 -470
  220. package/styles/rich-text-editor/_bootstrap5-definition.scss +278 -272
  221. package/styles/rich-text-editor/_bootstrap5.3-definition.scss +278 -0
  222. package/styles/rich-text-editor/_fabric-dark-definition.scss +275 -269
  223. package/styles/rich-text-editor/_fabric-definition.scss +273 -267
  224. package/styles/rich-text-editor/_fluent-definition.scss +279 -273
  225. package/styles/rich-text-editor/_fluent2-definition.scss +287 -0
  226. package/styles/rich-text-editor/_fusionnew-definition.scss +276 -271
  227. package/styles/rich-text-editor/_highcontrast-definition.scss +274 -267
  228. package/styles/rich-text-editor/_highcontrast-light-definition.scss +273 -267
  229. package/styles/rich-text-editor/_layout.scss +2175 -2268
  230. package/styles/rich-text-editor/_material-dark-definition.scss +278 -272
  231. package/styles/rich-text-editor/_material-definition.scss +276 -270
  232. package/styles/rich-text-editor/_material3-definition.scss +278 -272
  233. package/styles/rich-text-editor/_tailwind-definition.scss +273 -267
  234. package/styles/rich-text-editor/_tailwind4-definition.scss +278 -0
  235. package/styles/rich-text-editor/_theme.scss +844 -927
  236. package/styles/rich-text-editor/bootstrap-dark.css +739 -801
  237. package/styles/rich-text-editor/bootstrap.css +723 -801
  238. package/styles/rich-text-editor/bootstrap4.css +726 -803
  239. package/styles/rich-text-editor/bootstrap5-dark.css +750 -840
  240. package/styles/rich-text-editor/bootstrap5.css +749 -839
  241. package/styles/rich-text-editor/fabric-dark.css +724 -797
  242. package/styles/rich-text-editor/fabric.css +720 -797
  243. package/styles/rich-text-editor/fluent-dark.css +727 -820
  244. package/styles/rich-text-editor/fluent.css +726 -819
  245. package/styles/rich-text-editor/fluent2.css +4255 -0
  246. package/styles/rich-text-editor/fluent2.scss +4 -0
  247. package/styles/rich-text-editor/highcontrast-light.css +695 -795
  248. package/styles/rich-text-editor/highcontrast.css +717 -797
  249. package/styles/rich-text-editor/icons/_bds.scss +372 -351
  250. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +373 -352
  251. package/styles/rich-text-editor/icons/_bootstrap.scss +373 -352
  252. package/styles/rich-text-editor/icons/_bootstrap4.scss +373 -352
  253. package/styles/rich-text-editor/icons/_bootstrap5.3.scss +372 -0
  254. package/styles/rich-text-editor/icons/_bootstrap5.scss +372 -351
  255. package/styles/rich-text-editor/icons/_fabric-dark.scss +373 -352
  256. package/styles/rich-text-editor/icons/_fabric.scss +373 -352
  257. package/styles/rich-text-editor/icons/_fluent.scss +372 -351
  258. package/styles/rich-text-editor/icons/_fluent2.scss +369 -0
  259. package/styles/rich-text-editor/icons/_fusionnew.scss +357 -348
  260. package/styles/rich-text-editor/icons/_highcontrast-light.scss +361 -352
  261. package/styles/rich-text-editor/icons/_highcontrast.scss +373 -352
  262. package/styles/rich-text-editor/icons/_material-dark.scss +373 -352
  263. package/styles/rich-text-editor/icons/_material.scss +373 -352
  264. package/styles/rich-text-editor/icons/_material3.scss +372 -351
  265. package/styles/rich-text-editor/icons/_tailwind.scss +372 -351
  266. package/styles/rich-text-editor/icons/_tailwind4.scss +372 -0
  267. package/styles/rich-text-editor/material-dark.css +716 -798
  268. package/styles/rich-text-editor/material.css +713 -800
  269. package/styles/rich-text-editor/material3-dark.css +751 -857
  270. package/styles/rich-text-editor/material3-dark.scss +1 -1
  271. package/styles/rich-text-editor/material3.css +751 -857
  272. package/styles/rich-text-editor/material3.scss +1 -1
  273. package/styles/rich-text-editor/tailwind-dark.css +740 -829
  274. package/styles/rich-text-editor/tailwind.css +740 -829
  275. package/styles/tailwind-dark.css +740 -829
  276. package/styles/tailwind-dark.scss +4 -1
  277. package/styles/tailwind.css +740 -829
  278. package/styles/tailwind.scss +4 -1
  279. package/dist/ej2-richtexteditor.min.js +0 -10
  280. package/dist/global/ej2-richtexteditor.min.js +0 -11
  281. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  282. package/dist/global/index.d.ts +0 -14
  283. package/tslint.json +0 -111
@@ -1,5 +1,5 @@
1
1
  import * as CONSTANT from './../base/constant';
2
- import { append, detach, createElement, isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
2
+ import { append, detach, createElement, isNullOrUndefined as isNOU, closest } from '@syncfusion/ej2-base';
3
3
  import { NodeSelection } from './../../selection/index';
4
4
  import { selfClosingTags } from '../../common/config';
5
5
  import { getLastTextNode } from '../../common/util';
@@ -11,7 +11,7 @@ export var markerClassName = {
11
11
  * DOMNode internal plugin
12
12
  *
13
13
  * @hidden
14
-
14
+ * @deprecated
15
15
  */
16
16
  var DOMNode = /** @class */ (function () {
17
17
  /**
@@ -20,7 +20,7 @@ var DOMNode = /** @class */ (function () {
20
20
  * @param {Element} parent - specifies the parent element
21
21
  * @param {Document} currentDocument - specifies the current document.
22
22
  * @hidden
23
-
23
+ * @deprecated
24
24
  */
25
25
  function DOMNode(parent, currentDocument) {
26
26
  this.parent = parent;
@@ -33,7 +33,7 @@ var DOMNode = /** @class */ (function () {
33
33
  * @param {Element} element - specifies the element.
34
34
  * @returns {void}
35
35
  * @hidden
36
-
36
+ * @deprecated
37
37
  */
38
38
  DOMNode.prototype.contents = function (element) {
39
39
  return (element && 'IFRAME' !== element.tagName ? Array.prototype.slice.call(element.childNodes || []) : []);
@@ -44,7 +44,7 @@ var DOMNode = /** @class */ (function () {
44
44
  * @param {Element} element - specifies the node element.
45
45
  * @returns {boolean} - sepcifies the boolean value
46
46
  * @hidden
47
-
47
+ * @deprecated
48
48
  */
49
49
  DOMNode.prototype.isBlockNode = function (element) {
50
50
  return (!!element && (element.nodeType === Node.ELEMENT_NODE && CONSTANT.BLOCK_TAGS.indexOf(element.tagName.toLowerCase()) >= 0));
@@ -55,7 +55,7 @@ var DOMNode = /** @class */ (function () {
55
55
  * @param {Element} element - specifies the element
56
56
  * @returns {boolean} - specifies the boolean value
57
57
  * @hidden
58
-
58
+ * @deprecated
59
59
  */
60
60
  DOMNode.prototype.isLink = function (element) {
61
61
  return (!!element && (element.nodeType === Node.ELEMENT_NODE && 'a' === element.tagName.toLowerCase()));
@@ -66,7 +66,7 @@ var DOMNode = /** @class */ (function () {
66
66
  * @param {Element} element - specifies the element
67
67
  * @returns {Element} - returns the element value
68
68
  * @hidden
69
-
69
+ * @deprecated
70
70
  */
71
71
  DOMNode.prototype.blockParentNode = function (element) {
72
72
  for (; element && element.parentNode !== this.parent && ((!element.parentNode ||
@@ -84,7 +84,7 @@ var DOMNode = /** @class */ (function () {
84
84
  * @param {Element} element - specifies the element
85
85
  * @returns {string} - returns the string value
86
86
  * @hidden
87
-
87
+ * @deprecated
88
88
  */
89
89
  DOMNode.prototype.rawAttributes = function (element) {
90
90
  var rawAttr = {};
@@ -103,7 +103,7 @@ var DOMNode = /** @class */ (function () {
103
103
  * @param {Element} element - sepcifies the element.
104
104
  * @returns {string} - returns the string value.
105
105
  * @hidden
106
-
106
+ * @deprecated
107
107
  */
108
108
  DOMNode.prototype.attributes = function (element) {
109
109
  if (!element) {
@@ -136,7 +136,7 @@ var DOMNode = /** @class */ (function () {
136
136
  * @param {Element} element - specifies the element
137
137
  * @returns {void}
138
138
  * @hidden
139
-
139
+ * @deprecated
140
140
  */
141
141
  DOMNode.prototype.clearAttributes = function (element) {
142
142
  for (var attr = element.attributes, c = attr.length - 1; c >= 0; c--) {
@@ -150,7 +150,7 @@ var DOMNode = /** @class */ (function () {
150
150
  * @param {Element} element - specifies the element.
151
151
  * @returns {string} - returns the string
152
152
  * @hidden
153
-
153
+ * @deprecated
154
154
  */
155
155
  DOMNode.prototype.openTagString = function (element) {
156
156
  return '<' + element.tagName.toLowerCase() + this.attributes(element) + '>';
@@ -161,7 +161,7 @@ var DOMNode = /** @class */ (function () {
161
161
  * @param {Element} element - specifies the element
162
162
  * @returns {string} - returns the string value
163
163
  * @hidden
164
-
164
+ * @deprecated
165
165
  */
166
166
  DOMNode.prototype.closeTagString = function (element) {
167
167
  return '</' + element.tagName.toLowerCase() + '>';
@@ -174,7 +174,7 @@ var DOMNode = /** @class */ (function () {
174
174
  * @param {string} innerHTML - specifies the string value
175
175
  * @returns {string} - returns the string value.
176
176
  * @hidden
177
-
177
+ * @deprecated
178
178
  */
179
179
  DOMNode.prototype.createTagString = function (tagName, relativeElement, innerHTML) {
180
180
  return '<' + tagName.toLowerCase() + this.attributes(relativeElement) + '>' + innerHTML + '</' + tagName.toLowerCase() + '>';
@@ -185,7 +185,7 @@ var DOMNode = /** @class */ (function () {
185
185
  * @param {Element} element - specifes the element.
186
186
  * @returns {boolean} - returns the boolean value
187
187
  * @hidden
188
-
188
+ * @deprecated
189
189
  */
190
190
  DOMNode.prototype.isList = function (element) {
191
191
  return !!element && ['UL', 'OL'].indexOf(element.tagName) >= 0;
@@ -196,7 +196,7 @@ var DOMNode = /** @class */ (function () {
196
196
  * @param {Element} element - specifes the element.
197
197
  * @returns {boolean} - returns the boolean value
198
198
  * @hidden
199
-
199
+ * @deprecated
200
200
  */
201
201
  DOMNode.prototype.isElement = function (element) {
202
202
  return element === this.parent;
@@ -207,7 +207,7 @@ var DOMNode = /** @class */ (function () {
207
207
  * @param {Element} element - specifes the element.
208
208
  * @returns {boolean} - returns the boolean value
209
209
  * @hidden
210
-
210
+ * @deprecated
211
211
  */
212
212
  DOMNode.prototype.isEditable = function (element) {
213
213
  return ((!element.getAttribute || element.getAttribute('contenteditable') === 'true')
@@ -220,7 +220,7 @@ var DOMNode = /** @class */ (function () {
220
220
  * @param {string} className - specifies the class name value
221
221
  * @returns {boolean} - returns the boolean value
222
222
  * @hidden
223
-
223
+ * @deprecated
224
224
  */
225
225
  DOMNode.prototype.hasClass = function (element, className) {
226
226
  return element && element.classList && element.classList.contains(className);
@@ -232,7 +232,7 @@ var DOMNode = /** @class */ (function () {
232
232
  * @param {string} value - specifies the string value
233
233
  * @returns {void}
234
234
  * @hidden
235
-
235
+ * @deprecated
236
236
  */
237
237
  DOMNode.prototype.replaceWith = function (element, value) {
238
238
  var parentNode = element.parentNode;
@@ -245,7 +245,7 @@ var DOMNode = /** @class */ (function () {
245
245
  * @param {string} value - specifies the string value
246
246
  * @returns {Element} - returns the element
247
247
  * @hidden
248
-
248
+ * @deprecated
249
249
  */
250
250
  DOMNode.prototype.parseHTMLFragment = function (value) {
251
251
  /* eslint-disable */
@@ -266,7 +266,7 @@ var DOMNode = /** @class */ (function () {
266
266
  * @param {Element} wrapper - specifies the element.
267
267
  * @returns {Element} - returns the element
268
268
  * @hidden
269
-
269
+ * @deprecated
270
270
  */
271
271
  DOMNode.prototype.wrap = function (element, wrapper) {
272
272
  element.parentNode.insertBefore(wrapper, element);
@@ -281,7 +281,7 @@ var DOMNode = /** @class */ (function () {
281
281
  * @param {Element} referenceNode - specifies the referenece node
282
282
  * @returns {void}
283
283
  * @hidden
284
-
284
+ * @deprecated
285
285
  */
286
286
  DOMNode.prototype.insertAfter = function (newNode, referenceNode) {
287
287
  referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
@@ -293,7 +293,7 @@ var DOMNode = /** @class */ (function () {
293
293
  * @param {Element} wrapper - specifies the wrapper element.
294
294
  * @returns {Element} - returns the element
295
295
  * @hidden
296
-
296
+ * @deprecated
297
297
  */
298
298
  DOMNode.prototype.wrapInner = function (parent, wrapper) {
299
299
  parent.appendChild(wrapper);
@@ -313,12 +313,12 @@ var DOMNode = /** @class */ (function () {
313
313
  * @param {Element} element - specifies the element.
314
314
  * @returns {Element} - returns the element.
315
315
  * @hidden
316
-
316
+ * @deprecated
317
317
  */
318
318
  DOMNode.prototype.unWrap = function (element) {
319
319
  var parent = element.parentNode;
320
320
  var unWrapNode = [];
321
- while (element.firstChild) {
321
+ while (element.firstChild && (element.previousSibling !== this.parent.querySelector('.e-mention-chip') || element.textContent !== ' ')) {
322
322
  unWrapNode.push(element.firstChild);
323
323
  parent.insertBefore(element.firstChild, element);
324
324
  }
@@ -333,7 +333,7 @@ var DOMNode = /** @class */ (function () {
333
333
  * @param {number} index - specifies the index value.
334
334
  * @returns {Element} - returns the element
335
335
  * @hidden
336
-
336
+ * @deprecated
337
337
  */
338
338
  DOMNode.prototype.getSelectedNode = function (element, index) {
339
339
  if (element.nodeType === Node.ELEMENT_NODE && element.childNodes.length > 0 &&
@@ -357,7 +357,7 @@ var DOMNode = /** @class */ (function () {
357
357
  * @param {Element[]} elements - specifies the array of elements
358
358
  * @returns {Element[]} - returnts the array elements
359
359
  * @hidden
360
-
360
+ * @deprecated
361
361
  */
362
362
  DOMNode.prototype.nodeFinds = function (element, elements) {
363
363
  var existNodes = [];
@@ -373,7 +373,7 @@ var DOMNode = /** @class */ (function () {
373
373
  *
374
374
  * @returns {boolean} - returns the boolean value
375
375
  * @hidden
376
-
376
+ * @deprecated
377
377
  */
378
378
  DOMNode.prototype.isEditorArea = function () {
379
379
  var range = this.getRangePoint(0);
@@ -389,7 +389,7 @@ var DOMNode = /** @class */ (function () {
389
389
  * @param {number} point - specifies the number value.
390
390
  * @returns {Range} - returns the range.
391
391
  * @hidden
392
-
392
+ * @deprecated
393
393
  */
394
394
  DOMNode.prototype.getRangePoint = function (point) {
395
395
  var selection = this.getSelection();
@@ -414,7 +414,7 @@ var DOMNode = /** @class */ (function () {
414
414
  * @param {Element} element - specifies the element
415
415
  * @returns {Element} - returns the element
416
416
  * @hidden
417
-
417
+ * @deprecated
418
418
  */
419
419
  DOMNode.prototype.getPreviousNode = function (element) {
420
420
  element = element.previousElementSibling;
@@ -429,7 +429,7 @@ var DOMNode = /** @class */ (function () {
429
429
  * @param {string} value - specifies the string value
430
430
  * @returns {string} - specifies the string value
431
431
  * @hidden
432
-
432
+ * @deprecated
433
433
  */
434
434
  DOMNode.prototype.encode = function (value) {
435
435
  var divNode = document.createElement('div');
@@ -444,7 +444,7 @@ var DOMNode = /** @class */ (function () {
444
444
  * @param {string} action - specifies the action value.
445
445
  * @returns {NodeSelection} - returns the value
446
446
  * @hidden
447
-
447
+ * @deprecated
448
448
  */
449
449
  DOMNode.prototype.saveMarker = function (save, action) {
450
450
  var start = this.parent.querySelector('.' + markerClassName.startSelection);
@@ -484,7 +484,7 @@ var DOMNode = /** @class */ (function () {
484
484
  * @param {NodeSelection} save - specifies the node selection.
485
485
  * @returns {void}
486
486
  * @hidden
487
-
487
+ * @deprecated
488
488
  */
489
489
  DOMNode.prototype.setMarker = function (save) {
490
490
  var range = save.range;
@@ -565,7 +565,7 @@ var DOMNode = /** @class */ (function () {
565
565
  * @param {Range} range - specifies the range value
566
566
  * @returns {void}
567
567
  * @hidden
568
-
568
+ * @deprecated
569
569
  */
570
570
  DOMNode.prototype.ensureSelfClosingTag = function (start, className, range) {
571
571
  var isTable = false;
@@ -626,7 +626,7 @@ var DOMNode = /** @class */ (function () {
626
626
  * @param {Element} element - specifies the element.
627
627
  * @returns {Element} - returns the element
628
628
  * @hidden
629
-
629
+ * @deprecated
630
630
  */
631
631
  DOMNode.prototype.createTempNode = function (element) {
632
632
  var textContent = element.textContent;
@@ -659,7 +659,7 @@ var DOMNode = /** @class */ (function () {
659
659
  *
660
660
  * @returns {void}
661
661
  * @hidden
662
-
662
+ * @deprecated
663
663
  */
664
664
  DOMNode.prototype.getImageTagInSelection = function () {
665
665
  var selection = this.getSelection();
@@ -668,13 +668,116 @@ var DOMNode = /** @class */ (function () {
668
668
  }
669
669
  return null;
670
670
  };
671
+ /**
672
+ * Method to wrap the inline and text node with block node.
673
+ *
674
+ * @param {HTMLElement} node - specifies the element sent to wrap the node around it with block nodes.
675
+ * @param {string} wrapperElement - specifies which block nodes to wrap around.
676
+ * @returns {HTMLElement} - returns the wrapped element.
677
+ * @hidden
678
+ * @deprecated
679
+ */
680
+ DOMNode.prototype.gatherElementsAround = function (node, wrapperElement) {
681
+ var newWrapElem = createElement(wrapperElement);
682
+ // Insert the new div element before the current node.
683
+ var currentNode = node.previousSibling;
684
+ var currentNodeParent = node.parentElement;
685
+ if (currentNodeParent.className === 'e-editor-select-start') {
686
+ currentNodeParent.parentNode.insertBefore(newWrapElem, currentNodeParent);
687
+ }
688
+ else if (currentNodeParent) {
689
+ currentNodeParent.insertBefore(newWrapElem, node);
690
+ }
691
+ var i = 0;
692
+ while (currentNode !== null && currentNode.nodeName !== 'BR' &&
693
+ !this.isBlockNode(currentNode)) {
694
+ var prevSibling = currentNode.previousSibling;
695
+ if (currentNode.nodeType === 3 || currentNode.nodeType === 1) {
696
+ if (i === 0) {
697
+ newWrapElem.appendChild(currentNode);
698
+ }
699
+ else {
700
+ newWrapElem.insertBefore(currentNode, newWrapElem.firstChild);
701
+ }
702
+ }
703
+ currentNode = prevSibling;
704
+ i++;
705
+ }
706
+ // Add the current node to the new div
707
+ newWrapElem.appendChild(node);
708
+ // Gather text and inline elements after the currentNode
709
+ currentNode = newWrapElem.nextSibling ? newWrapElem.nextSibling :
710
+ newWrapElem.parentElement.nextSibling;
711
+ while (currentNode !== null && currentNode.nodeName !== 'BR' &&
712
+ !this.isBlockNode(currentNode)) {
713
+ var nextSibling = currentNode.nextSibling ?
714
+ currentNode.nextSibling : currentNode.parentElement.nextSibling;
715
+ if (currentNode.nodeType === 3 || currentNode.nodeType === 1) {
716
+ newWrapElem.appendChild(currentNode);
717
+ }
718
+ currentNode = nextSibling;
719
+ }
720
+ return newWrapElem;
721
+ };
722
+ /**
723
+ * Method to convert all the inline nodes between the selection to block nodes.
724
+ *
725
+ * @param {Node[]} selectedNodes - specifies the nodes of the start and end selection.
726
+ * @param {boolean} fromList - specifies if the method is called from list module.
727
+ * @returns {Node[]} - returns the selected list of elements as block nodes.
728
+ * @hidden
729
+ * @deprecated
730
+ */
731
+ DOMNode.prototype.convertToBlockNodes = function (selectedNodes, fromList) {
732
+ if (selectedNodes.length > 1) {
733
+ var i = 0;
734
+ var currentSelectedNode = selectedNodes[0];
735
+ while (!isNOU(currentSelectedNode)) {
736
+ if (currentSelectedNode.nodeName === 'BR') {
737
+ var nextNode = currentSelectedNode.nextSibling;
738
+ detach(currentSelectedNode);
739
+ currentSelectedNode = nextNode;
740
+ }
741
+ if (!isNOU(currentSelectedNode)) {
742
+ if (fromList) {
743
+ selectedNodes[i] = currentSelectedNode.nodeName === 'LI' || this.isBlockNode(currentSelectedNode) ?
744
+ currentSelectedNode :
745
+ this.gatherElementsAround(currentSelectedNode, (fromList ? 'p' : 'div'));
746
+ }
747
+ else {
748
+ selectedNodes[i] = !this.isBlockNode(selectedNodes[i]) ?
749
+ this.gatherElementsAround(currentSelectedNode, (fromList ? 'p' : 'div')) :
750
+ selectedNodes[i];
751
+ }
752
+ var currentProcessNode = selectedNodes[i].nodeName === 'LI' ? selectedNodes[i].parentElement : selectedNodes[i];
753
+ var currentElementCheckNode = currentProcessNode.nodeName === '#text' ? currentProcessNode.parentElement : currentProcessNode;
754
+ currentSelectedNode = !isNOU(currentElementCheckNode.querySelector('.e-editor-select-end')) ||
755
+ !isNOU(closest(currentSelectedNode, '.e-editor-select-end')) ?
756
+ null : currentProcessNode.nextSibling;
757
+ if (currentSelectedNode === null && !isNOU(currentProcessNode.nextSibling) && currentProcessNode.nextSibling.nodeName === 'BR') {
758
+ detach(currentProcessNode.nextSibling);
759
+ }
760
+ }
761
+ i++;
762
+ }
763
+ }
764
+ else {
765
+ if (!this.isBlockNode(selectedNodes[0])) {
766
+ selectedNodes[0] = this.gatherElementsAround(selectedNodes[0], (fromList ? 'p' : 'div'));
767
+ if (!isNOU(selectedNodes[0].nextSibling) && (selectedNodes[0].nextSibling.nodeName === 'BR')) {
768
+ detach(selectedNodes[0].nextSibling);
769
+ }
770
+ }
771
+ }
772
+ return selectedNodes;
773
+ };
671
774
  /**
672
775
  * blockNodes method
673
776
  *
674
777
  * @param {boolean} action - Optional Boolean that specifies the action is whether performed.
675
778
  * @returns {Node[]} - returns the node array values
676
779
  * @hidden
677
-
780
+ * @deprecated
678
781
  */
679
782
  DOMNode.prototype.blockNodes = function (action) {
680
783
  var collectionNodes = [];
@@ -18,7 +18,7 @@ export declare class FormatPainterActions implements IFormatPainterEditor {
18
18
  * @function destroy
19
19
  * @returns {void}
20
20
  * @hidden
21
-
21
+ * @deprecated
22
22
  */
23
23
  destroy(): void;
24
24
  private actionHandler;
@@ -34,7 +34,7 @@ var FormatPainterActions = /** @class */ (function () {
34
34
  * @function destroy
35
35
  * @returns {void}
36
36
  * @hidden
37
-
37
+ * @deprecated
38
38
  */
39
39
  FormatPainterActions.prototype.destroy = function () {
40
40
  this.removeEventListener();
@@ -3,7 +3,7 @@ import { EditorManager } from './../base/editor-manager';
3
3
  * Formats internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class Formats {
9
9
  private parent;
@@ -12,7 +12,7 @@ export declare class Formats {
12
12
  *
13
13
  * @param {EditorManager} parent - specifies the parent element.
14
14
  * @hidden
15
-
15
+ * @deprecated
16
16
  */
17
17
  constructor(parent: EditorManager);
18
18
  private addEventListener;
@@ -7,7 +7,7 @@ import { NodeCutter } from './nodecutter';
7
7
  * Formats internal component
8
8
  *
9
9
  * @hidden
10
-
10
+ * @deprecated
11
11
  */
12
12
  var Formats = /** @class */ (function () {
13
13
  /**
@@ -15,7 +15,7 @@ var Formats = /** @class */ (function () {
15
15
  *
16
16
  * @param {EditorManager} parent - specifies the parent element.
17
17
  * @hidden
18
-
18
+ * @deprecated
19
19
  */
20
20
  function Formats(parent) {
21
21
  this.parent = parent;
@@ -51,7 +51,7 @@ var Formats = /** @class */ (function () {
51
51
  }
52
52
  }
53
53
  }
54
- if (e.enterAction !== 'BR' && !isNOU(range.startContainer) && !isNOU(range.startContainer.parentElement) && range.startContainer === range.endContainer && range.startContainer.nodeName === '#text' && range.startContainer.parentElement.classList.contains("e-content") && range.startContainer.parentElement.isContentEditable) {
54
+ if (e.enterAction !== 'BR' && !isNOU(range.startContainer) && !isNOU(range.startContainer.parentElement) && range.startContainer === range.endContainer && range.startContainer.nodeName === '#text' && range.startContainer.parentElement.classList.contains('e-content') && range.startContainer.parentElement.isContentEditable) {
55
55
  var pTag = createElement(e.enterAction);
56
56
  range.startContainer.parentElement.insertBefore(pTag, range.startContainer);
57
57
  pTag.appendChild(range.startContainer);
@@ -4,7 +4,7 @@ import { IHtmlItem } from './../base/interface';
4
4
  * Link internal component
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  export declare class ImageCommand {
10
10
  private parent;
@@ -13,7 +13,7 @@ export declare class ImageCommand {
13
13
  *
14
14
  * @param {EditorManager} parent - specifies the parent element
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  constructor(parent: EditorManager);
19
19
  private addEventListener;
@@ -23,7 +23,7 @@ export declare class ImageCommand {
23
23
  * @param {IHtmlItem} e - specifies the element
24
24
  * @returns {void}
25
25
  * @hidden
26
-
26
+ * @deprecated
27
27
  */
28
28
  imageCommand(e: IHtmlItem): void;
29
29
  private createImage;
@@ -6,7 +6,7 @@ import { InsertHtml } from './inserthtml';
6
6
  * Link internal component
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  var ImageCommand = /** @class */ (function () {
12
12
  /**
@@ -14,7 +14,7 @@ var ImageCommand = /** @class */ (function () {
14
14
  *
15
15
  * @param {EditorManager} parent - specifies the parent element
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  function ImageCommand(parent) {
20
20
  this.parent = parent;
@@ -29,7 +29,7 @@ var ImageCommand = /** @class */ (function () {
29
29
  * @param {IHtmlItem} e - specifies the element
30
30
  * @returns {void}
31
31
  * @hidden
32
-
32
+ * @deprecated
33
33
  */
34
34
  ImageCommand.prototype.imageCommand = function (e) {
35
35
  switch (e.value.toString().toLowerCase()) {
@@ -3,7 +3,7 @@ import { EditorManager } from './../base/editor-manager';
3
3
  * Indents internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class Indents {
9
9
  private parent;
@@ -13,7 +13,7 @@ export declare class Indents {
13
13
  *
14
14
  * @param {EditorManager} parent - specifies the parent element
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  constructor(parent: EditorManager);
19
19
  private addEventListener;
@@ -5,7 +5,7 @@ import { isIDevice, setEditFrameFocus } from '../../common/util';
5
5
  * Indents internal component
6
6
  *
7
7
  * @hidden
8
-
8
+ * @deprecated
9
9
  */
10
10
  var Indents = /** @class */ (function () {
11
11
  /**
@@ -13,7 +13,7 @@ var Indents = /** @class */ (function () {
13
13
  *
14
14
  * @param {EditorManager} parent - specifies the parent element
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  function Indents(parent) {
19
19
  this.indentValue = 20;
@@ -43,6 +43,9 @@ var Indents = /** @class */ (function () {
43
43
  var save = this.parent.nodeSelection.save(range, this.parent.currentDocument);
44
44
  this.parent.domNode.setMarker(save);
45
45
  var indentsNodes = this.parent.domNode.blockNodes();
46
+ if (e.enterAction === 'BR') {
47
+ indentsNodes = this.parent.domNode.convertToBlockNodes(indentsNodes, false);
48
+ }
46
49
  var parentNodes = indentsNodes.slice();
47
50
  var listsNodes = [];
48
51
  for (var i = 0; i < parentNodes.length; i++) {
@@ -12,7 +12,7 @@ export declare class InsertMethods {
12
12
  * @param {boolean} isAfter - specifies the boolean value
13
13
  * @returns {Text} - returns the text value
14
14
  * @hidden
15
-
15
+ * @deprecated
16
16
  */
17
17
  static WrapBefore(textNode: Text, parentNode: HTMLElement, isAfter?: boolean): Text;
18
18
  /**
@@ -22,7 +22,7 @@ export declare class InsertMethods {
22
22
  * @param {HTMLElement} parentNode - specifies the parent node.
23
23
  * @returns {HTMLElement} - returns the element
24
24
  * @hidden
25
-
25
+ * @deprecated
26
26
  */
27
27
  static Wrap(childNode: HTMLElement, parentNode: HTMLElement): HTMLElement;
28
28
  /**
@@ -31,7 +31,7 @@ export declare class InsertMethods {
31
31
  * @param {Node} node - specifies the node element.
32
32
  * @returns {Node[]} - returns the array of value
33
33
  * @hidden
34
-
34
+ * @deprecated
35
35
  */
36
36
  static unwrap(node: Node | HTMLElement): Node[];
37
37
  /**
@@ -42,7 +42,7 @@ export declare class InsertMethods {
42
42
  * @param {boolean} isAfter - specifies the boolean value
43
43
  * @returns {void}
44
44
  * @hidden
45
-
45
+ * @deprecated
46
46
  */
47
47
  static AppendBefore(textNode: HTMLElement | Text | DocumentFragment, parentNode: HTMLElement | Text | DocumentFragment, isAfter?: boolean): HTMLElement | Text | DocumentFragment;
48
48
  }
@@ -14,7 +14,7 @@ var InsertMethods = /** @class */ (function () {
14
14
  * @param {boolean} isAfter - specifies the boolean value
15
15
  * @returns {Text} - returns the text value
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  InsertMethods.WrapBefore = function (textNode, parentNode, isAfter) {
20
20
  parentNode.innerText = textNode.textContent;
@@ -32,7 +32,7 @@ var InsertMethods = /** @class */ (function () {
32
32
  * @param {HTMLElement} parentNode - specifies the parent node.
33
33
  * @returns {HTMLElement} - returns the element
34
34
  * @hidden
35
-
35
+ * @deprecated
36
36
  */
37
37
  InsertMethods.Wrap = function (childNode, parentNode) {
38
38
  this.AppendBefore(parentNode, childNode);
@@ -45,7 +45,7 @@ var InsertMethods = /** @class */ (function () {
45
45
  * @param {Node} node - specifies the node element.
46
46
  * @returns {Node[]} - returns the array of value
47
47
  * @hidden
48
-
48
+ * @deprecated
49
49
  */
50
50
  InsertMethods.unwrap = function (node) {
51
51
  var parent = node.parentNode;
@@ -64,7 +64,7 @@ var InsertMethods = /** @class */ (function () {
64
64
  * @param {boolean} isAfter - specifies the boolean value
65
65
  * @returns {void}
66
66
  * @hidden
67
-
67
+ * @deprecated
68
68
  */
69
69
  InsertMethods.AppendBefore = function (textNode, parentNode, isAfter) {
70
70
  return (parentNode.parentNode) ? ((!isAfter) ? parentNode.parentNode.insertBefore(textNode, parentNode)
@@ -3,7 +3,7 @@ import { EditorManager } from '../base/editor-manager';
3
3
  * Insert a Text Node or Text
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class InsertTextExec {
9
9
  private parent;
@@ -12,7 +12,7 @@ export declare class InsertTextExec {
12
12
  *
13
13
  * @param {EditorManager} parent - specifies the parent element
14
14
  * @hidden
15
-
15
+ * @deprecated
16
16
  */
17
17
  constructor(parent: EditorManager);
18
18
  private addEventListener;