@syncfusion/ej2-richtexteditor 18.1.57 → 18.2.44-4568

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 (177) hide show
  1. package/CHANGELOG.md +614 -600
  2. package/README.md +67 -67
  3. package/dist/ej2-richtexteditor.umd.min.js +1 -10
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +231 -106
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +236 -111
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/license +9 -9
  10. package/package.json +50 -73
  11. package/src/common/interface.d.ts +6 -6
  12. package/src/editor-manager/base/classes.d.ts +1 -1
  13. package/src/editor-manager/base/classes.js +1 -1
  14. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  15. package/src/editor-manager/base/editor-manager.js +3 -3
  16. package/src/editor-manager/base/interface.d.ts +7 -7
  17. package/src/editor-manager/base/types.d.ts +1 -1
  18. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  19. package/src/editor-manager/plugin/alignments.js +2 -2
  20. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  21. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  22. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  23. package/src/editor-manager/plugin/clearformat.js +1 -1
  24. package/src/editor-manager/plugin/dom-node.d.ts +34 -34
  25. package/src/editor-manager/plugin/dom-node.js +34 -34
  26. package/src/editor-manager/plugin/formats.d.ts +2 -2
  27. package/src/editor-manager/plugin/formats.js +2 -2
  28. package/src/editor-manager/plugin/image.d.ts +3 -3
  29. package/src/editor-manager/plugin/image.js +3 -3
  30. package/src/editor-manager/plugin/indents.d.ts +2 -2
  31. package/src/editor-manager/plugin/indents.js +2 -2
  32. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  33. package/src/editor-manager/plugin/insert-methods.js +4 -4
  34. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  35. package/src/editor-manager/plugin/insert-text.js +2 -2
  36. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  37. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  38. package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
  39. package/src/editor-manager/plugin/inserthtml.js +2 -2
  40. package/src/editor-manager/plugin/isformatted.d.ts +8 -8
  41. package/src/editor-manager/plugin/isformatted.js +8 -8
  42. package/src/editor-manager/plugin/link.d.ts +2 -2
  43. package/src/editor-manager/plugin/link.js +2 -2
  44. package/src/editor-manager/plugin/lists.d.ts +2 -2
  45. package/src/editor-manager/plugin/lists.js +4 -14
  46. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  47. package/src/editor-manager/plugin/ms-word-clean-up.js +1 -1
  48. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  49. package/src/editor-manager/plugin/nodecutter.js +6 -6
  50. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  51. package/src/editor-manager/plugin/selection-commands.js +1 -1
  52. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  53. package/src/editor-manager/plugin/selection-exec.js +2 -2
  54. package/src/editor-manager/plugin/table.d.ts +2 -2
  55. package/src/editor-manager/plugin/table.js +2 -2
  56. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  57. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  58. package/src/editor-manager/plugin/undo.d.ts +6 -6
  59. package/src/editor-manager/plugin/undo.js +6 -6
  60. package/src/markdown-parser/base/interface.d.ts +10 -10
  61. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  62. package/src/markdown-parser/base/markdown-parser.js +3 -3
  63. package/src/markdown-parser/base/types.d.ts +1 -1
  64. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  65. package/src/markdown-parser/plugin/clearformat.js +2 -2
  66. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  67. package/src/markdown-parser/plugin/formats.js +2 -2
  68. package/src/markdown-parser/plugin/link.d.ts +2 -2
  69. package/src/markdown-parser/plugin/link.js +2 -2
  70. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  71. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  72. package/src/markdown-parser/plugin/md-selection-formats.d.ts +2 -2
  73. package/src/markdown-parser/plugin/md-selection-formats.js +2 -2
  74. package/src/markdown-parser/plugin/table.d.ts +3 -3
  75. package/src/markdown-parser/plugin/table.js +3 -3
  76. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  77. package/src/markdown-parser/plugin/undo.js +6 -6
  78. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  79. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  80. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  81. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  82. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  83. package/src/rich-text-editor/actions/color-picker.js +2 -2
  84. package/src/rich-text-editor/actions/count.d.ts +3 -3
  85. package/src/rich-text-editor/actions/count.js +3 -3
  86. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  87. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  88. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  89. package/src/rich-text-editor/actions/full-screen.js +3 -3
  90. package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
  91. package/src/rich-text-editor/actions/html-editor.js +3 -3
  92. package/src/rich-text-editor/actions/keyboard-model.d.ts +13 -13
  93. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  94. package/src/rich-text-editor/actions/keyboard.js +1 -1
  95. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  96. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  97. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
  98. package/src/rich-text-editor/actions/paste-clean-up.js +24 -3
  99. package/src/rich-text-editor/actions/quick-toolbar.d.ts +19 -9
  100. package/src/rich-text-editor/actions/quick-toolbar.js +17 -7
  101. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  102. package/src/rich-text-editor/actions/toolbar.js +13 -13
  103. package/src/rich-text-editor/base/classes.d.ts +102 -102
  104. package/src/rich-text-editor/base/classes.js +102 -102
  105. package/src/rich-text-editor/base/constant.d.ts +107 -102
  106. package/src/rich-text-editor/base/constant.js +107 -102
  107. package/src/rich-text-editor/base/enum.d.ts +1 -1
  108. package/src/rich-text-editor/base/enum.js +1 -1
  109. package/src/rich-text-editor/base/interface.d.ts +41 -40
  110. package/src/rich-text-editor/base/interface.js +1 -1
  111. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +659 -651
  112. package/src/rich-text-editor/base/rich-text-editor.d.ts +71 -48
  113. package/src/rich-text-editor/base/rich-text-editor.js +90 -35
  114. package/src/rich-text-editor/base/util.d.ts +1 -1
  115. package/src/rich-text-editor/base/util.js +1 -1
  116. package/src/rich-text-editor/formatter/formatter.d.ts +9 -8
  117. package/src/rich-text-editor/formatter/formatter.js +10 -8
  118. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  119. package/src/rich-text-editor/formatter/html-formatter.js +2 -2
  120. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  121. package/src/rich-text-editor/formatter/markdown-formatter.js +2 -2
  122. package/src/rich-text-editor/models/iframe-settings-model.d.ts +21 -21
  123. package/src/rich-text-editor/models/inline-mode-model.d.ts +9 -9
  124. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +228 -228
  125. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  126. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  127. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  128. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  129. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  130. package/src/rich-text-editor/renderer/iframe-content-renderer.js +4 -4
  131. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  132. package/src/rich-text-editor/renderer/image-module.js +56 -14
  133. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  134. package/src/rich-text-editor/renderer/link-module.js +1 -1
  135. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  136. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  137. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  138. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  139. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  140. package/src/rich-text-editor/renderer/render.js +2 -2
  141. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  142. package/src/rich-text-editor/renderer/table-module.js +1 -1
  143. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +8 -8
  144. package/src/rich-text-editor/renderer/toolbar-renderer.js +8 -8
  145. package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
  146. package/src/rich-text-editor/renderer/view-source.js +6 -6
  147. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  148. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  149. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  150. package/src/rich-text-editor/services/service-locator.js +3 -3
  151. package/src/selection/selection.d.ts +22 -22
  152. package/src/selection/selection.js +22 -22
  153. package/styles/_all.scss +2 -2
  154. package/styles/rich-text-editor/_all.scss +2 -2
  155. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +151 -151
  156. package/styles/rich-text-editor/_bootstrap-definition.scss +184 -184
  157. package/styles/rich-text-editor/_bootstrap4-definition.scss +307 -307
  158. package/styles/rich-text-editor/_fabric-dark-definition.scss +150 -150
  159. package/styles/rich-text-editor/_fabric-definition.scss +148 -148
  160. package/styles/rich-text-editor/_highcontrast-definition.scss +148 -148
  161. package/styles/rich-text-editor/_highcontrast-light-definition.scss +148 -148
  162. package/styles/rich-text-editor/_layout.scss +1332 -1332
  163. package/styles/rich-text-editor/_material-dark-definition.scss +151 -151
  164. package/styles/rich-text-editor/_material-definition.scss +150 -150
  165. package/styles/rich-text-editor/_theme.scss +484 -484
  166. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +285 -285
  167. package/styles/rich-text-editor/icons/_bootstrap.scss +284 -284
  168. package/styles/rich-text-editor/icons/_bootstrap4.scss +284 -284
  169. package/styles/rich-text-editor/icons/_fabric-dark.scss +284 -284
  170. package/styles/rich-text-editor/icons/_fabric.scss +284 -284
  171. package/styles/rich-text-editor/icons/_highcontrast-light.scss +284 -284
  172. package/styles/rich-text-editor/icons/_highcontrast.scss +284 -284
  173. package/styles/rich-text-editor/icons/_material-dark.scss +284 -284
  174. package/styles/rich-text-editor/icons/_material.scss +284 -284
  175. package/dist/global/ej2-richtexteditor.min.js +0 -11
  176. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  177. package/dist/global/index.d.ts +0 -14
package/README.md CHANGED
@@ -1,68 +1,68 @@
1
- # ej2-richtexteditor
2
-
3
- The rich text editor component is a HTML and markdown editor that provides best user experience for creating and updating the content.
4
-
5
- ![](ReadMe_Images/RTE.GIF)
6
-
7
-
8
- >Note: This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
9
-
10
- >A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers..
11
-
12
- ## 1. Setup To install this package and its dependent packages, use the following command
13
-
14
- Use the following commands to install rich text editor components and its dependent packages.
15
-
16
- ```
17
- npm install @syncfusion/ej2-richtexteditor
18
- ```
19
-
20
- ## 2. Components included
21
-
22
- * [GettingStarted](https://ej2.syncfusion.com/documentation/rich-text-editor/getting-started.html)
23
- * [View Online Demos](https://ej2.syncfusion.com/javascript/demos/#/material/rich-text-editor/tools.html)
24
- * [Product Page](https://www.syncfusion.com/products/javascript/rich-text-editor)
25
-
26
- ## 3. Supported frameworks
27
-
28
- Rich text editor component also supports the following frameworks:
29
- 1. [Angular](https://ej2.syncfusion.com/angular/demos/#/material/rich-text-editor/tools)
30
- 2. [React](https://ej2.syncfusion.com/react/demos/#/material/rich-text-editor/tools)
31
- 3. [Vue.js](https://ej2.syncfusion.com/vue/demos/#/material/rich-text-editor/tools.html)
32
- 4. [ASP.NET Core](https://ej2.syncfusion.com/aspnetcore/RichTextEditor/Overview#/material)
33
- 5. [ASP.NET MVC](https://ej2.syncfusion.com/aspnetmvc/RichTextEditor/Overview#/material)
34
- 6. [JavaScript (ES5)](https://ej2.syncfusion.com/javascript/demos/#/material/rich-text-editor/tools.html)
35
-
36
- ## 4. Use-case samples / Showcase samples
37
-
38
- * HTML editor ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/tools.html))
39
- * Blog posting ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/blog-posting.html))
40
- * Markdown editor ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/markdown-editor.html))
41
- * Inline edit ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/inline.html))
42
-
43
- ## 5. Key features
44
-
45
- * [Mode](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/iframe.html): Provides <IFRAME> and <DIV> mode.
46
- * [Markdown](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/markdown-editor-preview.html): Handles markdown editing.
47
- * [Module](https://ej2.syncfusion.com/documentation/rich-text-editor/getting-started.html?lang=typescript#module-injection): Contains a modular library to load the necessary functionality on demand.
48
- * [Toolbar](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/types.html): Provides a fully customizable toolbar.
49
- * [Editing](https://ej2.syncfusion.com/documentation/rich-text-editor/miscellaneous.html?lang=typescript#code-view): HTML view to edit the source directly for developers.
50
- * [Third-party Integration](https://ej2.syncfusion.com/documentation/rich-text-editor/third-party-integration.html?lang=typescript): Integrates third-party library.
51
- * [Preview](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/markdown-editor-preview.html): Preview the modified content before saving it.
52
- * [Tools](https://ej2.syncfusion.com/documentation/rich-text-editor/toolbar.html#toolbar-items): Handles images, hyperlinks, uploads, and more.
53
- * [Undo and Redo](https://ej2.syncfusion.com/documentation/rich-text-editor/miscellaneous.html?lang=typescript#undoredo-manager): Contains undo/redo manager.
54
-
55
- ## 6. Support
56
-
57
- Product support can be obtained through the following mediums:
58
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=richtexteditor) support system or [Community forum.](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=richtexteditor)
59
- * New [GitHub issue](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new).
60
- * Ask your query in Stack Overflow with tag ‘syncfusion’, ‘ej2’.
61
-
62
- ## 7. License
63
- Check the license details [here](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_campaign=dropdown)
64
-
65
- ## 8. Change log
66
- Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/richtexteditor/CHANGELOG.md)
67
-
1
+ # ej2-richtexteditor
2
+
3
+ The rich text editor component is a HTML and markdown editor that provides best user experience for creating and updating the content.
4
+
5
+ ![](ReadMe_Images/RTE.GIF)
6
+
7
+
8
+ >Note: This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
9
+
10
+ >A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers..
11
+
12
+ ## 1. Setup To install this package and its dependent packages, use the following command
13
+
14
+ Use the following commands to install rich text editor components and its dependent packages.
15
+
16
+ ```
17
+ npm install @syncfusion/ej2-richtexteditor
18
+ ```
19
+
20
+ ## 2. Components included
21
+
22
+ * [GettingStarted](https://ej2.syncfusion.com/documentation/rich-text-editor/getting-started.html)
23
+ * [View Online Demos](https://ej2.syncfusion.com/javascript/demos/#/material/rich-text-editor/tools.html)
24
+ * [Product Page](https://www.syncfusion.com/products/javascript/rich-text-editor)
25
+
26
+ ## 3. Supported frameworks
27
+
28
+ Rich text editor component also supports the following frameworks:
29
+ 1. [Angular](https://ej2.syncfusion.com/angular/demos/#/material/rich-text-editor/tools)
30
+ 2. [React](https://ej2.syncfusion.com/react/demos/#/material/rich-text-editor/tools)
31
+ 3. [Vue.js](https://ej2.syncfusion.com/vue/demos/#/material/rich-text-editor/tools.html)
32
+ 4. [ASP.NET Core](https://ej2.syncfusion.com/aspnetcore/RichTextEditor/Overview#/material)
33
+ 5. [ASP.NET MVC](https://ej2.syncfusion.com/aspnetmvc/RichTextEditor/Overview#/material)
34
+ 6. [JavaScript (ES5)](https://ej2.syncfusion.com/javascript/demos/#/material/rich-text-editor/tools.html)
35
+
36
+ ## 4. Use-case samples / Showcase samples
37
+
38
+ * HTML editor ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/tools.html))
39
+ * Blog posting ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/blog-posting.html))
40
+ * Markdown editor ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/markdown-editor.html))
41
+ * Inline edit ([Live Demo](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/inline.html))
42
+
43
+ ## 5. Key features
44
+
45
+ * [Mode](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/iframe.html): Provides <IFRAME> and <DIV> mode.
46
+ * [Markdown](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/markdown-editor-preview.html): Handles markdown editing.
47
+ * [Module](https://ej2.syncfusion.com/documentation/rich-text-editor/getting-started.html?lang=typescript#module-injection): Contains a modular library to load the necessary functionality on demand.
48
+ * [Toolbar](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/types.html): Provides a fully customizable toolbar.
49
+ * [Editing](https://ej2.syncfusion.com/documentation/rich-text-editor/miscellaneous.html?lang=typescript#code-view): HTML view to edit the source directly for developers.
50
+ * [Third-party Integration](https://ej2.syncfusion.com/documentation/rich-text-editor/third-party-integration.html?lang=typescript): Integrates third-party library.
51
+ * [Preview](https://ej2.syncfusion.com/demos/#/material/rich-text-editor/markdown-editor-preview.html): Preview the modified content before saving it.
52
+ * [Tools](https://ej2.syncfusion.com/documentation/rich-text-editor/toolbar.html#toolbar-items): Handles images, hyperlinks, uploads, and more.
53
+ * [Undo and Redo](https://ej2.syncfusion.com/documentation/rich-text-editor/miscellaneous.html?lang=typescript#undoredo-manager): Contains undo/redo manager.
54
+
55
+ ## 6. Support
56
+
57
+ Product support can be obtained through the following mediums:
58
+ * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=richtexteditor) support system or [Community forum.](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=richtexteditor)
59
+ * New [GitHub issue](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new).
60
+ * Ask your query in Stack Overflow with tag ‘syncfusion’, ‘ej2’.
61
+
62
+ ## 7. License
63
+ Check the license details [here](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_campaign=dropdown)
64
+
65
+ ## 8. Change log
66
+ Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/richtexteditor/CHANGELOG.md)
67
+
68
68
  © Copyright 2019 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.