@syncfusion/ej2-richtexteditor 25.1.39 → 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 -1961
  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 +806 -311
  7. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-richtexteditor.es5.js +909 -410
  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 +4 -4
  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 +8 -2
  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 +14 -5
  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 +4 -4
  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 +6 -0
  106. package/src/rich-text-editor/actions/enter-key.js +142 -2
  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 -2
  117. package/src/rich-text-editor/actions/paste-clean-up.js +57 -40
  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 +12 -1
  129. package/src/rich-text-editor/base/enum.js +13 -1
  130. package/src/rich-text-editor/base/interface.d.ts +59 -51
  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 +65 -63
  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 +10 -9
  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 -6
  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
@@ -0,0 +1,30 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 12.00
3
+ # Visual Studio Version 17
4
+ VisualStudioVersion = 17.5.002.0
5
+ MinimumVisualStudioVersion = 10.0.40219.1
6
+ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "themestudio", "themestudio", "{D39D426F-FB55-4585-A68D-BD1BA0E3F9B8}"
7
+ EndProject
8
+ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ThemeStudio", "themestudio\src\ThemeStudio.csproj", "{CBE7FFFB-2B3A-4D91-ABA3-151973BFED90}"
9
+ EndProject
10
+ Global
11
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
12
+ Debug|Any CPU = Debug|Any CPU
13
+ Release|Any CPU = Release|Any CPU
14
+ EndGlobalSection
15
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
16
+ {CBE7FFFB-2B3A-4D91-ABA3-151973BFED90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17
+ {CBE7FFFB-2B3A-4D91-ABA3-151973BFED90}.Debug|Any CPU.Build.0 = Debug|Any CPU
18
+ {CBE7FFFB-2B3A-4D91-ABA3-151973BFED90}.Release|Any CPU.ActiveCfg = Release|Any CPU
19
+ {CBE7FFFB-2B3A-4D91-ABA3-151973BFED90}.Release|Any CPU.Build.0 = Release|Any CPU
20
+ EndGlobalSection
21
+ GlobalSection(SolutionProperties) = preSolution
22
+ HideSolutionNode = FALSE
23
+ EndGlobalSection
24
+ GlobalSection(NestedProjects) = preSolution
25
+ {CBE7FFFB-2B3A-4D91-ABA3-151973BFED90} = {D39D426F-FB55-4585-A68D-BD1BA0E3F9B8}
26
+ EndGlobalSection
27
+ GlobalSection(ExtensibilityGlobals) = postSolution
28
+ SolutionGuid = {B2AF19C8-9EC4-4EB8-8DC1-4BF6E9D36D01}
29
+ EndGlobalSection
30
+ EndGlobal
@@ -1,8 +1,8 @@
1
1
  define(["require", "exports", "./rte-helper"], function (require, exports, rte_helper_1) {
2
2
  "use strict";
3
- function __export(m) {
4
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
- }
3
+ function __export(m) {
4
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
+ }
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  __export(rte_helper_1);
8
8
  });
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
15
  "use strict";
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
package/license CHANGED
@@ -1,10 +1,10 @@
1
- Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
-
3
- To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
4
-
5
- Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
6
-
7
- Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
8
-
9
- The Syncfusion license that contains the terms and conditions can be found at
1
+ Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
+
3
+ To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
4
+
5
+ Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
6
+
7
+ Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
8
+
9
+ The Syncfusion license that contains the terms and conditions can be found at
10
10
  https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
package/package.json CHANGED
@@ -1,74 +1,74 @@
1
- {
2
- "_from": "@syncfusion/ej2-richtexteditor@*",
3
- "_id": "@syncfusion/ej2-richtexteditor@25.1.38",
4
- "_inBundle": false,
5
- "_integrity": "sha512-z1RBMwgqZdkE0VMxfBJILZ7asZ8xdJ5S87vxM7QVQSwgX1Xa/Yt7+pohXotJlmXCMLarZwZJ9ecU5KCfBqF4Qw==",
6
- "_location": "/@syncfusion/ej2-richtexteditor",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-richtexteditor@*",
12
- "name": "@syncfusion/ej2-richtexteditor",
13
- "escapedName": "@syncfusion%2fej2-richtexteditor",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/",
21
- "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-richtexteditor",
23
- "/@syncfusion/ej2-gantt",
24
- "/@syncfusion/ej2-inplace-editor",
25
- "/@syncfusion/ej2-react-richtexteditor",
26
- "/@syncfusion/ej2-vue-richtexteditor"
27
- ],
28
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-25.1.38.tgz",
29
- "_shasum": "632ae6ac93a8c7190d9a9825e42f10cf16693584",
30
- "_spec": "@syncfusion/ej2-richtexteditor@*",
31
- "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
32
- "author": {
33
- "name": "Syncfusion Inc."
34
- },
35
- "bugs": {
36
- "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
37
- },
38
- "bundleDependencies": false,
39
- "dependencies": {
40
- "@syncfusion/ej2-base": "~25.1.35",
41
- "@syncfusion/ej2-buttons": "~25.1.39",
42
- "@syncfusion/ej2-filemanager": "~25.1.39",
43
- "@syncfusion/ej2-inputs": "~25.1.38",
44
- "@syncfusion/ej2-navigations": "~25.1.39",
45
- "@syncfusion/ej2-popups": "~25.1.39",
46
- "@syncfusion/ej2-splitbuttons": "~25.1.38"
47
- },
48
- "deprecated": false,
49
- "description": "Essential JS 2 RichTextEditor component",
50
- "devDependencies": {},
51
- "es2015": "./dist/es6/ej2-richtexteditor.es5.js",
52
- "homepage": "https://www.syncfusion.com/javascript-ui-controls",
53
- "keywords": [
54
- "ej2",
55
- "syncfusion",
56
- "HTML5-rich-text-editor",
57
- "wysiwyg-html-editor",
58
- "rich-text-editor",
59
- "markdown-editor",
60
- "wysiwyg-markdown-editor",
61
- "editor"
62
- ],
63
- "license": "SEE LICENSE IN license",
64
- "main": "./dist/ej2-richtexteditor.umd.min.js",
65
- "module": "./index.js",
66
- "name": "@syncfusion/ej2-richtexteditor",
67
- "repository": {
68
- "type": "git",
69
- "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
70
- },
71
- "typings": "index.d.ts",
72
- "version": "25.1.39",
73
- "sideEffects": false
74
- }
1
+ {
2
+ "_from": "@syncfusion/ej2-richtexteditor@*",
3
+ "_id": "@syncfusion/ej2-richtexteditor@25.1.39",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-vnRCdIzVVU3ZMq7rEllyCaOR5EaZqQhzFSpJO/Cu1rHpNVZ8FqYIedV0vxClmjmz/9yMbl30dCP7PNJtJ9Eu7A==",
6
+ "_location": "/@syncfusion/ej2-richtexteditor",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-richtexteditor@*",
12
+ "name": "@syncfusion/ej2-richtexteditor",
13
+ "escapedName": "@syncfusion%2fej2-richtexteditor",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-richtexteditor",
23
+ "/@syncfusion/ej2-gantt",
24
+ "/@syncfusion/ej2-inplace-editor",
25
+ "/@syncfusion/ej2-react-richtexteditor",
26
+ "/@syncfusion/ej2-vue-richtexteditor"
27
+ ],
28
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-25.1.39.tgz",
29
+ "_shasum": "3d96b955c7077bca2ff259ca6c380fc9885008a4",
30
+ "_spec": "@syncfusion/ej2-richtexteditor@*",
31
+ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
32
+ "author": {
33
+ "name": "Syncfusion Inc."
34
+ },
35
+ "bugs": {
36
+ "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
37
+ },
38
+ "bundleDependencies": false,
39
+ "dependencies": {
40
+ "@syncfusion/ej2-base": "~25.1.35",
41
+ "@syncfusion/ej2-buttons": "~25.1.39",
42
+ "@syncfusion/ej2-filemanager": "~25.1.40",
43
+ "@syncfusion/ej2-inputs": "~25.1.40",
44
+ "@syncfusion/ej2-navigations": "~25.1.41",
45
+ "@syncfusion/ej2-popups": "~25.1.41",
46
+ "@syncfusion/ej2-splitbuttons": "~25.1.38"
47
+ },
48
+ "deprecated": false,
49
+ "description": "Essential JS 2 RichTextEditor component",
50
+ "devDependencies": {},
51
+ "es2015": "./dist/es6/ej2-richtexteditor.es5.js",
52
+ "homepage": "https://www.syncfusion.com/javascript-ui-controls",
53
+ "keywords": [
54
+ "ej2",
55
+ "syncfusion",
56
+ "HTML5-rich-text-editor",
57
+ "wysiwyg-html-editor",
58
+ "rich-text-editor",
59
+ "markdown-editor",
60
+ "wysiwyg-markdown-editor",
61
+ "editor"
62
+ ],
63
+ "license": "SEE LICENSE IN license",
64
+ "main": "./dist/ej2-richtexteditor.umd.min.js",
65
+ "module": "./index.js",
66
+ "name": "@syncfusion/ej2-richtexteditor",
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
70
+ },
71
+ "typings": "index.d.ts",
72
+ "version": "25.1.41-85815",
73
+ "sideEffects": false
74
+ }
@@ -2,11 +2,11 @@
2
2
  * Specifies common models interfaces.
3
3
  *
4
4
  * @hidden
5
-
5
+ * @deprecated
6
6
  */
7
7
  import { EditorMode } from './types';
8
8
  /**
9
-
9
+ * @deprecated
10
10
  */
11
11
  export interface IAdvanceListItem {
12
12
  listStyle?: string;
@@ -14,7 +14,7 @@ export interface IAdvanceListItem {
14
14
  type?: string;
15
15
  }
16
16
  /**
17
-
17
+ * @deprecated
18
18
  */
19
19
  export interface IMarkdownFormatterCallBack {
20
20
  selectedText?: string;
@@ -24,7 +24,7 @@ export interface IMarkdownFormatterCallBack {
24
24
  requestType?: string;
25
25
  }
26
26
  /**
27
-
27
+ * @deprecated
28
28
  */
29
29
  export interface IHtmlFormatterCallBack {
30
30
  selectedNode?: Element;
@@ -37,7 +37,7 @@ export interface IHtmlFormatterCallBack {
37
37
  event?: KeyboardEvent | MouseEvent;
38
38
  }
39
39
  /**
40
-
40
+ * @deprecated
41
41
  */
42
42
  export interface IMarkdownToolbarStatus {
43
43
  OrderedList: boolean;
@@ -45,14 +45,14 @@ export interface IMarkdownToolbarStatus {
45
45
  Formats: string;
46
46
  }
47
47
  /**
48
-
48
+ * @deprecated
49
49
  */
50
50
  export interface IUndoCallBack {
51
51
  callBack?: Function;
52
52
  event?: Object;
53
53
  }
54
54
  /**
55
-
55
+ * @deprecated
56
56
  */
57
57
  export interface IToolbarStatus {
58
58
  bold?: boolean;
@@ -78,7 +78,7 @@ export interface IToolbarStatus {
78
78
  bulletFormatList?: string | boolean;
79
79
  }
80
80
  /**
81
-
81
+ * @deprecated
82
82
  * @private
83
83
  *
84
84
  *
@@ -89,3 +89,17 @@ export interface IImageResizeFactor {
89
89
  botLeft: [number, number];
90
90
  botRight: [number, number];
91
91
  }
92
+ /**
93
+ * The `ImageOrTableCursor` is used to specify the image or table cursor in Enter key Module.
94
+ *
95
+ * @private
96
+ * @hidden
97
+ *
98
+ *
99
+ * */
100
+ export interface ImageOrTableCursor {
101
+ start: boolean;
102
+ startName: string;
103
+ end: boolean;
104
+ endName: string;
105
+ }
@@ -40,3 +40,11 @@ export declare function getDefaultMDTbStatus(): IToolbarStatus;
40
40
  * @hidden
41
41
  */
42
42
  export declare function nestedListCleanUp(range: Range): void;
43
+ /**
44
+ * Method to scroll the content to the cursor position
45
+ *
46
+ * @param {Document} document - specifies the document.
47
+ * @param {HTMLElement | HTMLBodyElement} inputElement - specifies the input element.
48
+ * @returns {void}
49
+ */
50
+ export declare function scrollToCursor(document: Document, inputElement: HTMLElement | HTMLBodyElement): void;
@@ -116,6 +116,10 @@ export function updateTextNode(value, enterAction) {
116
116
  tableElm[i].classList.remove('e-rte-paste-onenote-table');
117
117
  continue;
118
118
  }
119
+ else if (tableElm[i].classList.contains('e-rte-paste-html-table')) {
120
+ tableElm[i].classList.remove('e-rte-paste-html-table');
121
+ continue;
122
+ }
119
123
  }
120
124
  }
121
125
  var imageElm = resultElm.querySelectorAll('img');
@@ -209,14 +213,65 @@ export function nestedListCleanUp(range) {
209
213
  item.remove();
210
214
  });
211
215
  }
216
+ else {
217
+ break;
218
+ }
212
219
  }
213
220
  var liElem = (range.startContainer.nodeName === "#text" ? range.startContainer.parentElement : range.startContainer).querySelectorAll("li");
214
221
  if (liElem.length > 0) {
215
222
  liElem.forEach(function (item) {
216
- if (item.firstChild.nodeName === "OL" || item.firstChild.nodeName === "UL") {
223
+ if (!isNullOrUndefined(item.firstChild) && (item.firstChild.nodeName === "OL" || item.firstChild.nodeName === "UL")) {
217
224
  item.style.listStyleType = "none";
218
225
  }
219
226
  });
220
227
  }
221
228
  }
222
229
  }
230
+ /**
231
+ * Method to scroll the content to the cursor position
232
+ *
233
+ * @param {Document} document - specifies the document.
234
+ * @param {HTMLElement | HTMLBodyElement} inputElement - specifies the input element.
235
+ * @returns {void}
236
+ */
237
+ export function scrollToCursor(document, inputElement) {
238
+ var rootElement = inputElement.nodeName === 'BODY' ?
239
+ inputElement.ownerDocument.defaultView.frameElement.closest('.e-richtexteditor') :
240
+ inputElement.closest('.e-richtexteditor');
241
+ var height = rootElement.style.height;
242
+ if (document.getSelection().rangeCount === 0) {
243
+ return;
244
+ }
245
+ var range = document.getSelection().getRangeAt(0);
246
+ var finalFocusElement = range.startContainer.nodeName === '#text' ? range.startContainer.parentElement :
247
+ range.startContainer;
248
+ var rect = finalFocusElement.getBoundingClientRect();
249
+ var cursorTop = rect.top;
250
+ var cursorBottom = rect.bottom;
251
+ var rootRect = rootElement.getBoundingClientRect();
252
+ var hasMargin = rootElement.querySelectorAll('.e-count-enabled, .e-resize-enabled').length > 0;
253
+ if (inputElement.nodeName === 'BODY') {
254
+ if (height === 'auto') {
255
+ if (window.innerHeight < cursorTop) {
256
+ finalFocusElement.scrollIntoView(false);
257
+ }
258
+ }
259
+ else {
260
+ if (cursorTop > inputElement.getBoundingClientRect().height) {
261
+ finalFocusElement.scrollIntoView({ block: 'nearest', inline: 'nearest' });
262
+ }
263
+ }
264
+ }
265
+ else {
266
+ if (height === 'auto') {
267
+ if (window.innerHeight < cursorTop) {
268
+ finalFocusElement.scrollIntoView({ block: 'end', inline: 'nearest' });
269
+ }
270
+ }
271
+ else {
272
+ if (cursorBottom > rootRect.bottom) {
273
+ rootElement.querySelector('.e-rte-content').scrollTop += (cursorBottom - rootRect.bottom) + (hasMargin ? 20 : 0);
274
+ }
275
+ }
276
+ }
277
+ }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /**
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export declare const CLASS_IMAGE_RIGHT: string;
9
9
  export declare const CLASS_IMAGE_LEFT: string;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /**
5
5
  * @hidden
6
-
6
+ * @deprecated
7
7
  */
8
8
  export var CLASS_IMAGE_RIGHT = 'e-imgright';
9
9
  export var CLASS_IMAGE_LEFT = 'e-imgleft';
@@ -24,7 +24,7 @@ import { EmojiPickerAction } from '../plugin/emoji-picker-action';
24
24
  * EditorManager internal component
25
25
  *
26
26
  * @hidden
27
-
27
+ * @deprecated
28
28
  */
29
29
  export declare class EditorManager {
30
30
  currentDocument: HTMLDocument;
@@ -54,7 +54,7 @@ export declare class EditorManager {
54
54
  * Constructor for creating the component
55
55
  *
56
56
  * @hidden
57
-
57
+ * @deprecated
58
58
  * @param {ICommandModel} options - specifies the command Model
59
59
  */
60
60
  constructor(options: ICommandModel);
@@ -76,7 +76,7 @@ export declare class EditorManager {
76
76
  * @param {string} selector - specifies the selector values
77
77
  * @returns {void}
78
78
  * @hidden
79
-
79
+ * @deprecated
80
80
  */
81
81
  execCommand<T>(command: ExecCommand, value: T, event?: Event, callBack?: Function, text?: string | Node, exeValue?: T, selector?: string, enterAction?: string): void;
82
82
  private editorMouseDown;
@@ -25,14 +25,14 @@ import { EmojiPickerAction } from '../plugin/emoji-picker-action';
25
25
  * EditorManager internal component
26
26
  *
27
27
  * @hidden
28
-
28
+ * @deprecated
29
29
  */
30
30
  var EditorManager = /** @class */ (function () {
31
31
  /**
32
32
  * Constructor for creating the component
33
33
  *
34
34
  * @hidden
35
-
35
+ * @deprecated
36
36
  * @param {ICommandModel} options - specifies the command Model
37
37
  */
38
38
  function EditorManager(options) {
@@ -98,7 +98,7 @@ var EditorManager = /** @class */ (function () {
98
98
  * @param {string} selector - specifies the selector values
99
99
  * @returns {void}
100
100
  * @hidden
101
-
101
+ * @deprecated
102
102
  */
103
103
  /* eslint-enable */
104
104
  EditorManager.prototype.execCommand = function (command, value, event, callBack, text, exeValue, selector, enterAction) {
@@ -115,12 +115,14 @@ var EditorManager = /** @class */ (function () {
115
115
  case 'alignments':
116
116
  this.observer.notify(CONSTANT.ALIGNMENT_TYPE, {
117
117
  subCommand: value, event: event, callBack: callBack,
118
- selector: selector,
119
- value: exeValue
118
+ selector: selector, value: exeValue, enterAction: enterAction
120
119
  });
121
120
  break;
122
121
  case 'indents':
123
- this.observer.notify(CONSTANT.INDENT_TYPE, { subCommand: value, event: event, callBack: callBack, selector: selector });
122
+ this.observer.notify(CONSTANT.INDENT_TYPE, {
123
+ subCommand: value, event: event, callBack: callBack,
124
+ selector: selector, enterAction: enterAction
125
+ });
124
126
  break;
125
127
  case 'links':
126
128
  this.observer.notify(CONSTANT.LINK, { command: command, value: value, item: exeValue, event: event, callBack: callBack });
@@ -3,14 +3,14 @@
3
3
  */
4
4
  /**
5
5
  *
6
-
6
+ * @deprecated
7
7
  * @hidden
8
8
  * Defines the context or contexts in which styles will be copied.
9
9
  */
10
10
  export declare type IFormatPainterContext = 'Text' | 'List' | 'Table';
11
11
  /**
12
12
  *
13
-
13
+ * @deprecated
14
14
  * @hidden
15
15
  * Defines the action values for format painter.
16
16
  */
@@ -6,7 +6,7 @@ import { IFormatPainterActionValue, IFormatPainterContext } from './enum';
6
6
  * Specifies Command models interfaces.
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  export interface ICommandModel {
12
12
  /**
@@ -26,7 +26,7 @@ export interface ICommandModel {
26
26
  * Specifies IHtmlSubCommands interfaces.
27
27
  *
28
28
  * @hidden
29
-
29
+ * @deprecated
30
30
  */
31
31
  export interface IHtmlSubCommands {
32
32
  /**
@@ -65,7 +65,7 @@ export interface IHtmlSubCommands {
65
65
  * Specifies IKeyboardActionArgs interfaces for command line.
66
66
  *
67
67
  * @hidden
68
-
68
+ * @deprecated
69
69
  */
70
70
  export interface IKeyboardActionArgs extends KeyboardEvent {
71
71
  /**
@@ -74,7 +74,7 @@ export interface IKeyboardActionArgs extends KeyboardEvent {
74
74
  action: string;
75
75
  }
76
76
  /**
77
-
77
+ * @deprecated
78
78
  */
79
79
  export interface IHtmlItem {
80
80
  module?: string;
@@ -91,7 +91,7 @@ export interface IHtmlItem {
91
91
  enterAction?: string;
92
92
  }
93
93
  /**
94
-
94
+ * @deprecated
95
95
  */
96
96
  export interface IHtmlItemArgs {
97
97
  selection?: NodeSelection;
@@ -127,7 +127,7 @@ export interface IHtmlItemArgs {
127
127
  ariaLabel?: string;
128
128
  }
129
129
  /**
130
-
130
+ * @deprecated
131
131
  */
132
132
  export interface IHtmlUndoRedoData {
133
133
  text?: DocumentFragment;
@@ -137,7 +137,7 @@ export interface IHtmlUndoRedoData {
137
137
  * Specifies IHtmlKeyboardEvent interfaces.
138
138
  *
139
139
  * @hidden
140
-
140
+ * @deprecated
141
141
  */
142
142
  export interface IHtmlKeyboardEvent {
143
143
  /**
@@ -163,7 +163,7 @@ export interface IHtmlKeyboardEvent {
163
163
  }
164
164
  /**
165
165
  *
166
-
166
+ * @deprecated
167
167
  * @hidden
168
168
  *
169
169
  */
@@ -174,7 +174,7 @@ export interface IFormatPainterSettings {
174
174
  }
175
175
  /**
176
176
  *
177
-
177
+ * @deprecated
178
178
  * @hidden
179
179
  *
180
180
  */
@@ -2,6 +2,6 @@
2
2
  * Types type for EditorManager
3
3
  *
4
4
  * @hidden
5
-
5
+ * @deprecated
6
6
  */
7
7
  export declare type EditorExecCommand = 'Indents' | 'Lists' | 'Formats' | 'Alignments' | 'Links' | 'Images' | 'Font' | 'Style' | 'Clear' | 'Effects' | 'Casing' | 'InsertHtml' | 'InsertText' | 'Actions';
@@ -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 Alignments {
9
9
  private parent;
@@ -14,7 +14,7 @@ export declare class Alignments {
14
14
  * @param {EditorManager} parent - specifies the parent element.
15
15
  * @returns {void}
16
16
  * @hidden
17
-
17
+ * @deprecated
18
18
  */
19
19
  constructor(parent: EditorManager);
20
20
  private addEventListener;
@@ -6,7 +6,7 @@ import { isIDevice, setEditFrameFocus } from '../../common/util';
6
6
  * Formats internal component
7
7
  *
8
8
  * @hidden
9
-
9
+ * @deprecated
10
10
  */
11
11
  var Alignments = /** @class */ (function () {
12
12
  /**
@@ -15,7 +15,7 @@ var Alignments = /** @class */ (function () {
15
15
  * @param {EditorManager} parent - specifies the parent element.
16
16
  * @returns {void}
17
17
  * @hidden
18
-
18
+ * @deprecated
19
19
  */
20
20
  function Alignments(parent) {
21
21
  this.alignments = {
@@ -64,6 +64,9 @@ var Alignments = /** @class */ (function () {
64
64
  if (!isTableAlign) {
65
65
  this.parent.domNode.setMarker(save);
66
66
  var alignmentNodes = this.parent.domNode.blockNodes();
67
+ if (e.enterAction === 'BR') {
68
+ alignmentNodes = this.parent.domNode.convertToBlockNodes(alignmentNodes, false);
69
+ }
67
70
  for (var i = 0; i < alignmentNodes.length; i++) {
68
71
  var parentNode = alignmentNodes[i];
69
72
  setStyleAttribute(parentNode, { 'text-align': this.alignments[e.subCommand] });