@syncfusion/ej2-richtexteditor 25.1.42 → 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 (280) hide show
  1. package/.eslintrc.json +259 -259
  2. package/CHANGELOG.md +2067 -2001
  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 +642 -305
  7. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-richtexteditor.es5.js +742 -401
  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.d.ts +8 -0
  16. package/src/common/util.js +56 -1
  17. package/src/editor-manager/base/classes.d.ts +1 -1
  18. package/src/editor-manager/base/classes.js +1 -1
  19. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  20. package/src/editor-manager/base/editor-manager.js +8 -6
  21. package/src/editor-manager/base/enum.d.ts +2 -2
  22. package/src/editor-manager/base/interface.d.ts +9 -9
  23. package/src/editor-manager/base/types.d.ts +1 -1
  24. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  25. package/src/editor-manager/plugin/alignments.js +5 -2
  26. package/src/editor-manager/plugin/audio.d.ts +3 -3
  27. package/src/editor-manager/plugin/audio.js +3 -3
  28. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  29. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  30. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  31. package/src/editor-manager/plugin/clearformat.js +1 -1
  32. package/src/editor-manager/plugin/dom-node.d.ts +54 -34
  33. package/src/editor-manager/plugin/dom-node.js +139 -36
  34. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  35. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  36. package/src/editor-manager/plugin/formats.d.ts +2 -2
  37. package/src/editor-manager/plugin/formats.js +3 -3
  38. package/src/editor-manager/plugin/image.d.ts +3 -3
  39. package/src/editor-manager/plugin/image.js +3 -3
  40. package/src/editor-manager/plugin/indents.d.ts +2 -2
  41. package/src/editor-manager/plugin/indents.js +5 -2
  42. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  43. package/src/editor-manager/plugin/insert-methods.js +4 -4
  44. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  45. package/src/editor-manager/plugin/insert-text.js +2 -2
  46. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  47. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  48. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  49. package/src/editor-manager/plugin/inserthtml.js +5 -2
  50. package/src/editor-manager/plugin/isformatted.d.ts +8 -8
  51. package/src/editor-manager/plugin/isformatted.js +8 -8
  52. package/src/editor-manager/plugin/link.d.ts +2 -2
  53. package/src/editor-manager/plugin/link.js +2 -2
  54. package/src/editor-manager/plugin/lists.d.ts +2 -3
  55. package/src/editor-manager/plugin/lists.js +57 -80
  56. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  57. package/src/editor-manager/plugin/ms-word-clean-up.js +4 -4
  58. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  59. package/src/editor-manager/plugin/nodecutter.js +6 -6
  60. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  61. package/src/editor-manager/plugin/selection-commands.js +1 -1
  62. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  63. package/src/editor-manager/plugin/selection-exec.js +2 -2
  64. package/src/editor-manager/plugin/table.d.ts +2 -2
  65. package/src/editor-manager/plugin/table.js +2 -2
  66. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  67. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  68. package/src/editor-manager/plugin/undo.d.ts +6 -6
  69. package/src/editor-manager/plugin/undo.js +9 -7
  70. package/src/editor-manager/plugin/video.d.ts +3 -3
  71. package/src/editor-manager/plugin/video.js +3 -3
  72. package/src/markdown-parser/base/interface.d.ts +10 -10
  73. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  74. package/src/markdown-parser/base/markdown-parser.js +3 -3
  75. package/src/markdown-parser/base/types.d.ts +1 -1
  76. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  77. package/src/markdown-parser/plugin/clearformat.js +2 -2
  78. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  79. package/src/markdown-parser/plugin/formats.js +2 -2
  80. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  81. package/src/markdown-parser/plugin/insert-text.js +2 -2
  82. package/src/markdown-parser/plugin/link.d.ts +2 -2
  83. package/src/markdown-parser/plugin/link.js +2 -2
  84. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  85. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  86. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  87. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  88. package/src/markdown-parser/plugin/table.d.ts +3 -3
  89. package/src/markdown-parser/plugin/table.js +3 -3
  90. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  91. package/src/markdown-parser/plugin/undo.js +6 -6
  92. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  93. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  94. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  95. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  96. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  97. package/src/rich-text-editor/actions/color-picker.js +2 -2
  98. package/src/rich-text-editor/actions/count.d.ts +3 -3
  99. package/src/rich-text-editor/actions/count.js +3 -3
  100. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  101. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  102. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  103. package/src/rich-text-editor/actions/emoji-picker.js +1 -1
  104. package/src/rich-text-editor/actions/enter-key.d.ts +5 -0
  105. package/src/rich-text-editor/actions/enter-key.js +98 -13
  106. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  107. package/src/rich-text-editor/actions/full-screen.js +3 -9
  108. package/src/rich-text-editor/actions/html-editor.d.ts +4 -3
  109. package/src/rich-text-editor/actions/html-editor.js +68 -23
  110. package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
  111. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  112. package/src/rich-text-editor/actions/keyboard.js +20 -20
  113. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  114. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  115. package/src/rich-text-editor/actions/paste-clean-up.d.ts +2 -1
  116. package/src/rich-text-editor/actions/paste-clean-up.js +55 -14
  117. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  118. package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
  119. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  120. package/src/rich-text-editor/actions/toolbar.js +13 -13
  121. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  122. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  123. package/src/rich-text-editor/base/classes.d.ts +121 -121
  124. package/src/rich-text-editor/base/classes.js +121 -121
  125. package/src/rich-text-editor/base/constant.d.ts +158 -158
  126. package/src/rich-text-editor/base/constant.js +158 -158
  127. package/src/rich-text-editor/base/enum.d.ts +1 -1
  128. package/src/rich-text-editor/base/enum.js +1 -1
  129. package/src/rich-text-editor/base/interface.d.ts +50 -50
  130. package/src/rich-text-editor/base/interface.js +1 -1
  131. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +891 -891
  132. package/src/rich-text-editor/base/rich-text-editor.d.ts +63 -61
  133. package/src/rich-text-editor/base/rich-text-editor.js +82 -67
  134. package/src/rich-text-editor/base/util.d.ts +1 -1
  135. package/src/rich-text-editor/base/util.js +1 -1
  136. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  137. package/src/rich-text-editor/formatter/formatter.js +8 -8
  138. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  139. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  140. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  141. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  142. package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
  143. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  144. package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
  145. package/src/rich-text-editor/models/inline-mode.js +19 -19
  146. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
  147. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  148. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  149. package/src/rich-text-editor/renderer/audio-module.js +7 -2
  150. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  151. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  152. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  153. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  154. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  155. package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
  156. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  157. package/src/rich-text-editor/renderer/image-module.js +10 -5
  158. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  159. package/src/rich-text-editor/renderer/link-module.js +1 -1
  160. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  161. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  162. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  163. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  164. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  165. package/src/rich-text-editor/renderer/render.js +2 -2
  166. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  167. package/src/rich-text-editor/renderer/table-module.js +3 -2
  168. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
  169. package/src/rich-text-editor/renderer/toolbar-renderer.js +16 -18
  170. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  171. package/src/rich-text-editor/renderer/video-module.js +7 -2
  172. package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
  173. package/src/rich-text-editor/renderer/view-source.js +6 -6
  174. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  175. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  176. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  177. package/src/rich-text-editor/services/service-locator.js +3 -3
  178. package/src/selection/selection.d.ts +22 -22
  179. package/src/selection/selection.js +22 -22
  180. package/styles/_all.scss +1 -1
  181. package/styles/bootstrap-dark.css +705 -801
  182. package/styles/bootstrap-dark.scss +4 -1
  183. package/styles/bootstrap.css +689 -801
  184. package/styles/bootstrap.scss +4 -1
  185. package/styles/bootstrap4.css +692 -803
  186. package/styles/bootstrap4.scss +4 -1
  187. package/styles/bootstrap5-dark.css +716 -840
  188. package/styles/bootstrap5-dark.scss +4 -1
  189. package/styles/bootstrap5.css +715 -839
  190. package/styles/bootstrap5.scss +4 -1
  191. package/styles/fabric-dark.css +690 -797
  192. package/styles/fabric-dark.scss +4 -1
  193. package/styles/fabric.css +686 -797
  194. package/styles/fabric.scss +4 -1
  195. package/styles/fluent-dark.css +693 -820
  196. package/styles/fluent-dark.scss +4 -1
  197. package/styles/fluent.css +692 -819
  198. package/styles/fluent.scss +4 -1
  199. package/styles/fluent2.css +4219 -0
  200. package/styles/fluent2.scss +4 -0
  201. package/styles/highcontrast-light.css +661 -795
  202. package/styles/highcontrast-light.scss +4 -1
  203. package/styles/highcontrast.css +667 -793
  204. package/styles/highcontrast.scss +4 -1
  205. package/styles/material-dark.css +682 -798
  206. package/styles/material-dark.scss +4 -1
  207. package/styles/material.css +679 -800
  208. package/styles/material.scss +4 -1
  209. package/styles/material3-dark.css +717 -857
  210. package/styles/material3-dark.scss +4 -1
  211. package/styles/material3.css +717 -857
  212. package/styles/material3.scss +4 -1
  213. package/styles/rich-text-editor/_all.scss +2 -2
  214. package/styles/rich-text-editor/_bds-definition.scss +288 -285
  215. package/styles/rich-text-editor/_bigger.scss +610 -0
  216. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +289 -287
  217. package/styles/rich-text-editor/_bootstrap-definition.scss +347 -343
  218. package/styles/rich-text-editor/_bootstrap4-definition.scss +474 -470
  219. package/styles/rich-text-editor/_bootstrap5-definition.scss +276 -272
  220. package/styles/rich-text-editor/_bootstrap5.3-definition.scss +276 -0
  221. package/styles/rich-text-editor/_fabric-dark-definition.scss +273 -269
  222. package/styles/rich-text-editor/_fabric-definition.scss +271 -267
  223. package/styles/rich-text-editor/_fluent-definition.scss +277 -273
  224. package/styles/rich-text-editor/_fluent2-definition.scss +285 -0
  225. package/styles/rich-text-editor/_fusionnew-definition.scss +274 -271
  226. package/styles/rich-text-editor/_highcontrast-definition.scss +272 -267
  227. package/styles/rich-text-editor/_highcontrast-light-definition.scss +271 -267
  228. package/styles/rich-text-editor/_layout.scss +2148 -2272
  229. package/styles/rich-text-editor/_material-dark-definition.scss +276 -272
  230. package/styles/rich-text-editor/_material-definition.scss +274 -270
  231. package/styles/rich-text-editor/_material3-definition.scss +276 -272
  232. package/styles/rich-text-editor/_tailwind-definition.scss +271 -267
  233. package/styles/rich-text-editor/_theme.scss +802 -927
  234. package/styles/rich-text-editor/bootstrap-dark.css +705 -801
  235. package/styles/rich-text-editor/bootstrap.css +689 -801
  236. package/styles/rich-text-editor/bootstrap4.css +692 -803
  237. package/styles/rich-text-editor/bootstrap5-dark.css +716 -840
  238. package/styles/rich-text-editor/bootstrap5.css +715 -839
  239. package/styles/rich-text-editor/fabric-dark.css +690 -797
  240. package/styles/rich-text-editor/fabric.css +686 -797
  241. package/styles/rich-text-editor/fluent-dark.css +693 -820
  242. package/styles/rich-text-editor/fluent.css +692 -819
  243. package/styles/rich-text-editor/fluent2.css +4219 -0
  244. package/styles/rich-text-editor/fluent2.scss +4 -0
  245. package/styles/rich-text-editor/highcontrast-light.css +661 -795
  246. package/styles/rich-text-editor/highcontrast.css +667 -793
  247. package/styles/rich-text-editor/icons/_bds.scss +372 -351
  248. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +373 -352
  249. package/styles/rich-text-editor/icons/_bootstrap.scss +373 -352
  250. package/styles/rich-text-editor/icons/_bootstrap4.scss +373 -352
  251. package/styles/rich-text-editor/icons/_bootstrap5.3.scss +372 -0
  252. package/styles/rich-text-editor/icons/_bootstrap5.scss +372 -351
  253. package/styles/rich-text-editor/icons/_fabric-dark.scss +373 -352
  254. package/styles/rich-text-editor/icons/_fabric.scss +373 -352
  255. package/styles/rich-text-editor/icons/_fluent.scss +372 -351
  256. package/styles/rich-text-editor/icons/_fluent2.scss +369 -0
  257. package/styles/rich-text-editor/icons/_fusionnew.scss +357 -348
  258. package/styles/rich-text-editor/icons/_highcontrast-light.scss +361 -352
  259. package/styles/rich-text-editor/icons/_highcontrast.scss +361 -352
  260. package/styles/rich-text-editor/icons/_material-dark.scss +373 -352
  261. package/styles/rich-text-editor/icons/_material.scss +373 -352
  262. package/styles/rich-text-editor/icons/_material3.scss +372 -351
  263. package/styles/rich-text-editor/icons/_tailwind.scss +372 -351
  264. package/styles/rich-text-editor/material-dark.css +682 -798
  265. package/styles/rich-text-editor/material.css +679 -800
  266. package/styles/rich-text-editor/material3-dark.css +717 -857
  267. package/styles/rich-text-editor/material3-dark.scss +1 -1
  268. package/styles/rich-text-editor/material3.css +717 -857
  269. package/styles/rich-text-editor/material3.scss +1 -1
  270. package/styles/rich-text-editor/tailwind-dark.css +705 -828
  271. package/styles/rich-text-editor/tailwind.css +705 -828
  272. package/styles/tailwind-dark.css +705 -828
  273. package/styles/tailwind-dark.scss +4 -1
  274. package/styles/tailwind.css +705 -828
  275. package/styles/tailwind.scss +4 -1
  276. package/dist/ej2-richtexteditor.min.js +0 -10
  277. package/dist/global/ej2-richtexteditor.min.js +0 -11
  278. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  279. package/dist/global/index.d.ts +0 -14
  280. package/tslint.json +0 -111
@@ -4,7 +4,7 @@ import { IHtmlItem } from './../base/interface';
4
4
  * Audio internal component
5
5
  *
6
6
  * @hidden
7
-
7
+ * @deprecated
8
8
  */
9
9
  export declare class AudioCommand {
10
10
  private parent;
@@ -13,7 +13,7 @@ export declare class AudioCommand {
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 AudioCommand {
23
23
  * @param {IHtmlItem} e - specifies the element
24
24
  * @returns {void}
25
25
  * @hidden
26
-
26
+ * @deprecated
27
27
  */
28
28
  audioCommand(e: IHtmlItem): void;
29
29
  private createAudio;
@@ -6,7 +6,7 @@ import { InsertHtml } from './inserthtml';
6
6
  * Audio internal component
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  var AudioCommand = /** @class */ (function () {
12
12
  /**
@@ -14,7 +14,7 @@ var AudioCommand = /** @class */ (function () {
14
14
  *
15
15
  * @param {EditorManager} parent - specifies the parent element
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  function AudioCommand(parent) {
20
20
  this.parent = parent;
@@ -29,7 +29,7 @@ var AudioCommand = /** @class */ (function () {
29
29
  * @param {IHtmlItem} e - specifies the element
30
30
  * @returns {void}
31
31
  * @hidden
32
-
32
+ * @deprecated
33
33
  */
34
34
  AudioCommand.prototype.audioCommand = function (e) {
35
35
  var selectNode;
@@ -3,7 +3,7 @@ import { EditorManager } from './../base/editor-manager';
3
3
  * Clear Format EXEC internal component
4
4
  *
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare class ClearFormatExec {
9
9
  private parent;
@@ -13,7 +13,7 @@ export declare class ClearFormatExec {
13
13
  * @param {EditorManager} parent - specifies the parent element.
14
14
  * @returns {void}
15
15
  * @hidden
16
-
16
+ * @deprecated
17
17
  */
18
18
  constructor(parent: EditorManager);
19
19
  private addEventListener;
@@ -5,7 +5,7 @@ import * as EVENTS from './../../common/constant';
5
5
  * Clear Format EXEC internal component
6
6
  *
7
7
  * @hidden
8
-
8
+ * @deprecated
9
9
  */
10
10
  var ClearFormatExec = /** @class */ (function () {
11
11
  /**
@@ -14,7 +14,7 @@ var ClearFormatExec = /** @class */ (function () {
14
14
  * @param {EditorManager} parent - specifies the parent element.
15
15
  * @returns {void}
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  function ClearFormatExec(parent) {
20
20
  this.parent = parent;
@@ -15,7 +15,7 @@ export declare class ClearFormat {
15
15
  * @param {string} command - specifies the command value
16
16
  * @returns {void}
17
17
  * @hidden
18
-
18
+ * @deprecated
19
19
  */
20
20
  static clear(docElement: Document, endNode: Node, enterAction: string, selector?: string, command?: string): void;
21
21
  private static reSelection;
@@ -21,7 +21,7 @@ var ClearFormat = /** @class */ (function () {
21
21
  * @param {string} command - specifies the command value
22
22
  * @returns {void}
23
23
  * @hidden
24
-
24
+ * @deprecated
25
25
  */
26
26
  ClearFormat.clear = function (docElement, endNode, enterAction, selector, command) {
27
27
  this.domNode = new DOMNode(endNode, docElement);
@@ -6,7 +6,7 @@ export declare const markerClassName: {
6
6
  * DOMNode internal plugin
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  export declare class DOMNode {
12
12
  private parent;
@@ -18,7 +18,7 @@ export declare class DOMNode {
18
18
  * @param {Element} parent - specifies the parent element
19
19
  * @param {Document} currentDocument - specifies the current document.
20
20
  * @hidden
21
-
21
+ * @deprecated
22
22
  */
23
23
  constructor(parent: Element, currentDocument: Document);
24
24
  /**
@@ -27,7 +27,7 @@ export declare class DOMNode {
27
27
  * @param {Element} element - specifies the element.
28
28
  * @returns {void}
29
29
  * @hidden
30
-
30
+ * @deprecated
31
31
  */
32
32
  contents(element: Element): Node[];
33
33
  /**
@@ -36,7 +36,7 @@ export declare class DOMNode {
36
36
  * @param {Element} element - specifies the node element.
37
37
  * @returns {boolean} - sepcifies the boolean value
38
38
  * @hidden
39
-
39
+ * @deprecated
40
40
  */
41
41
  isBlockNode(element: Element): boolean;
42
42
  /**
@@ -45,7 +45,7 @@ export declare class DOMNode {
45
45
  * @param {Element} element - specifies the element
46
46
  * @returns {boolean} - specifies the boolean value
47
47
  * @hidden
48
-
48
+ * @deprecated
49
49
  */
50
50
  isLink(element: Element): boolean;
51
51
  /**
@@ -54,7 +54,7 @@ export declare class DOMNode {
54
54
  * @param {Element} element - specifies the element
55
55
  * @returns {Element} - returns the element value
56
56
  * @hidden
57
-
57
+ * @deprecated
58
58
  */
59
59
  blockParentNode(element: Element): Element;
60
60
  /**
@@ -63,7 +63,7 @@ export declare class DOMNode {
63
63
  * @param {Element} element - specifies the element
64
64
  * @returns {string} - returns the string value
65
65
  * @hidden
66
-
66
+ * @deprecated
67
67
  */
68
68
  rawAttributes(element: Element): {
69
69
  [key: string]: string;
@@ -74,7 +74,7 @@ export declare class DOMNode {
74
74
  * @param {Element} element - sepcifies the element.
75
75
  * @returns {string} - returns the string value.
76
76
  * @hidden
77
-
77
+ * @deprecated
78
78
  */
79
79
  attributes(element?: Element): string;
80
80
  /**
@@ -83,7 +83,7 @@ export declare class DOMNode {
83
83
  * @param {Element} element - specifies the element
84
84
  * @returns {void}
85
85
  * @hidden
86
-
86
+ * @deprecated
87
87
  */
88
88
  clearAttributes(element: Element): void;
89
89
  /**
@@ -92,7 +92,7 @@ export declare class DOMNode {
92
92
  * @param {Element} element - specifies the element.
93
93
  * @returns {string} - returns the string
94
94
  * @hidden
95
-
95
+ * @deprecated
96
96
  */
97
97
  openTagString(element: Element): string;
98
98
  /**
@@ -101,7 +101,7 @@ export declare class DOMNode {
101
101
  * @param {Element} element - specifies the element
102
102
  * @returns {string} - returns the string value
103
103
  * @hidden
104
-
104
+ * @deprecated
105
105
  */
106
106
  closeTagString(element: Element): string;
107
107
  /**
@@ -112,7 +112,7 @@ export declare class DOMNode {
112
112
  * @param {string} innerHTML - specifies the string value
113
113
  * @returns {string} - returns the string value.
114
114
  * @hidden
115
-
115
+ * @deprecated
116
116
  */
117
117
  createTagString(tagName: string, relativeElement: Element, innerHTML: string): string;
118
118
  /**
@@ -121,7 +121,7 @@ export declare class DOMNode {
121
121
  * @param {Element} element - specifes the element.
122
122
  * @returns {boolean} - returns the boolean value
123
123
  * @hidden
124
-
124
+ * @deprecated
125
125
  */
126
126
  isList(element: Element): boolean;
127
127
  /**
@@ -130,7 +130,7 @@ export declare class DOMNode {
130
130
  * @param {Element} element - specifes the element.
131
131
  * @returns {boolean} - returns the boolean value
132
132
  * @hidden
133
-
133
+ * @deprecated
134
134
  */
135
135
  isElement(element: Element): boolean;
136
136
  /**
@@ -139,7 +139,7 @@ export declare class DOMNode {
139
139
  * @param {Element} element - specifes the element.
140
140
  * @returns {boolean} - returns the boolean value
141
141
  * @hidden
142
-
142
+ * @deprecated
143
143
  */
144
144
  isEditable(element: Element): boolean;
145
145
  /**
@@ -149,7 +149,7 @@ export declare class DOMNode {
149
149
  * @param {string} className - specifies the class name value
150
150
  * @returns {boolean} - returns the boolean value
151
151
  * @hidden
152
-
152
+ * @deprecated
153
153
  */
154
154
  hasClass(element: Element, className: string): boolean;
155
155
  /**
@@ -159,7 +159,7 @@ export declare class DOMNode {
159
159
  * @param {string} value - specifies the string value
160
160
  * @returns {void}
161
161
  * @hidden
162
-
162
+ * @deprecated
163
163
  */
164
164
  replaceWith(element: Element, value: string): void;
165
165
  /**
@@ -168,7 +168,7 @@ export declare class DOMNode {
168
168
  * @param {string} value - specifies the string value
169
169
  * @returns {Element} - returns the element
170
170
  * @hidden
171
-
171
+ * @deprecated
172
172
  */
173
173
  parseHTMLFragment(value: string): Element;
174
174
  /**
@@ -178,7 +178,7 @@ export declare class DOMNode {
178
178
  * @param {Element} wrapper - specifies the element.
179
179
  * @returns {Element} - returns the element
180
180
  * @hidden
181
-
181
+ * @deprecated
182
182
  */
183
183
  wrap(element: Element, wrapper: Element): Element;
184
184
  /**
@@ -188,7 +188,7 @@ export declare class DOMNode {
188
188
  * @param {Element} referenceNode - specifies the referenece node
189
189
  * @returns {void}
190
190
  * @hidden
191
-
191
+ * @deprecated
192
192
  */
193
193
  insertAfter(newNode: Element, referenceNode: Element): void;
194
194
  /**
@@ -198,7 +198,7 @@ export declare class DOMNode {
198
198
  * @param {Element} wrapper - specifies the wrapper element.
199
199
  * @returns {Element} - returns the element
200
200
  * @hidden
201
-
201
+ * @deprecated
202
202
  */
203
203
  wrapInner(parent: Element, wrapper: Element): Element;
204
204
  /**
@@ -207,7 +207,7 @@ export declare class DOMNode {
207
207
  * @param {Element} element - specifies the element.
208
208
  * @returns {Element} - returns the element.
209
209
  * @hidden
210
-
210
+ * @deprecated
211
211
  */
212
212
  unWrap(element: Element): Element[];
213
213
  /**
@@ -217,7 +217,7 @@ export declare class DOMNode {
217
217
  * @param {number} index - specifies the index value.
218
218
  * @returns {Element} - returns the element
219
219
  * @hidden
220
-
220
+ * @deprecated
221
221
  */
222
222
  getSelectedNode(element: Element, index: number): Element;
223
223
  /**
@@ -227,7 +227,7 @@ export declare class DOMNode {
227
227
  * @param {Element[]} elements - specifies the array of elements
228
228
  * @returns {Element[]} - returnts the array elements
229
229
  * @hidden
230
-
230
+ * @deprecated
231
231
  */
232
232
  nodeFinds(element: Element, elements: Element[]): Element[];
233
233
  /**
@@ -235,7 +235,7 @@ export declare class DOMNode {
235
235
  *
236
236
  * @returns {boolean} - returns the boolean value
237
237
  * @hidden
238
-
238
+ * @deprecated
239
239
  */
240
240
  isEditorArea(): boolean;
241
241
  /**
@@ -244,7 +244,7 @@ export declare class DOMNode {
244
244
  * @param {number} point - specifies the number value.
245
245
  * @returns {Range} - returns the range.
246
246
  * @hidden
247
-
247
+ * @deprecated
248
248
  */
249
249
  getRangePoint(point?: number): Range | Range[];
250
250
  getSelection(): Selection;
@@ -254,7 +254,7 @@ export declare class DOMNode {
254
254
  * @param {Element} element - specifies the element
255
255
  * @returns {Element} - returns the element
256
256
  * @hidden
257
-
257
+ * @deprecated
258
258
  */
259
259
  getPreviousNode(element: Element): Element;
260
260
  /**
@@ -263,7 +263,7 @@ export declare class DOMNode {
263
263
  * @param {string} value - specifies the string value
264
264
  * @returns {string} - specifies the string value
265
265
  * @hidden
266
-
266
+ * @deprecated
267
267
  */
268
268
  encode(value: string): string;
269
269
  /**
@@ -273,7 +273,7 @@ export declare class DOMNode {
273
273
  * @param {string} action - specifies the action value.
274
274
  * @returns {NodeSelection} - returns the value
275
275
  * @hidden
276
-
276
+ * @deprecated
277
277
  */
278
278
  saveMarker(save: NodeSelection, action?: string): NodeSelection;
279
279
  private marker;
@@ -283,7 +283,7 @@ export declare class DOMNode {
283
283
  * @param {NodeSelection} save - specifies the node selection.
284
284
  * @returns {void}
285
285
  * @hidden
286
-
286
+ * @deprecated
287
287
  */
288
288
  setMarker(save: NodeSelection): void;
289
289
  /**
@@ -294,7 +294,7 @@ export declare class DOMNode {
294
294
  * @param {Range} range - specifies the range value
295
295
  * @returns {void}
296
296
  * @hidden
297
-
297
+ * @deprecated
298
298
  */
299
299
  ensureSelfClosingTag(start: Element, className: string, range: Range): void;
300
300
  /**
@@ -303,7 +303,7 @@ export declare class DOMNode {
303
303
  * @param {Element} element - specifies the element.
304
304
  * @returns {Element} - returns the element
305
305
  * @hidden
306
-
306
+ * @deprecated
307
307
  */
308
308
  createTempNode(element: Element): Element;
309
309
  /**
@@ -311,16 +311,36 @@ export declare class DOMNode {
311
311
  *
312
312
  * @returns {void}
313
313
  * @hidden
314
-
314
+ * @deprecated
315
315
  */
316
316
  getImageTagInSelection(): NodeListOf<HTMLImageElement>;
317
+ /**
318
+ * Method to wrap the inline and text node with block node.
319
+ *
320
+ * @param {HTMLElement} node - specifies the element sent to wrap the node around it with block nodes.
321
+ * @param {string} wrapperElement - specifies which block nodes to wrap around.
322
+ * @returns {HTMLElement} - returns the wrapped element.
323
+ * @hidden
324
+ * @deprecated
325
+ */
326
+ gatherElementsAround(node: HTMLElement, wrapperElement: string): HTMLElement;
327
+ /**
328
+ * Method to convert all the inline nodes between the selection to block nodes.
329
+ *
330
+ * @param {Node[]} selectedNodes - specifies the nodes of the start and end selection.
331
+ * @param {boolean} fromList - specifies if the method is called from list module.
332
+ * @returns {Node[]} - returns the selected list of elements as block nodes.
333
+ * @hidden
334
+ * @deprecated
335
+ */
336
+ convertToBlockNodes(selectedNodes: Node[], fromList: boolean): Node[];
317
337
  /**
318
338
  * blockNodes method
319
339
  *
320
340
  * @param {boolean} action - Optional Boolean that specifies the action is whether performed.
321
341
  * @returns {Node[]} - returns the node array values
322
342
  * @hidden
323
-
343
+ * @deprecated
324
344
  */
325
345
  blockNodes(action?: boolean): Node[];
326
346
  private ignoreTableTag;