@syncfusion/ej2-richtexteditor 18.4.34 → 18.4.42-70943

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 (92) hide show
  1. package/CHANGELOG.md +782 -718
  2. package/README.md +67 -67
  3. package/dist/ej2-richtexteditor.umd.min.js +1 -1
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +271 -153
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +393 -275
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/helpers/e2e/index.js +3 -3
  10. package/license +9 -9
  11. package/package.json +76 -53
  12. package/src/editor-manager/plugin/image.js +2 -1
  13. package/src/editor-manager/plugin/inserthtml.js +14 -10
  14. package/src/editor-manager/plugin/link.js +6 -6
  15. package/src/editor-manager/plugin/lists.js +6 -2
  16. package/src/editor-manager/plugin/ms-word-clean-up.js +22 -6
  17. package/src/editor-manager/plugin/selection-commands.d.ts +1 -0
  18. package/src/editor-manager/plugin/selection-commands.js +34 -3
  19. package/src/editor-manager/plugin/table.js +2 -1
  20. package/src/global.d.ts +1 -0
  21. package/src/rich-text-editor/actions/full-screen.d.ts +0 -1
  22. package/src/rich-text-editor/actions/full-screen.js +6 -4
  23. package/src/rich-text-editor/actions/keyboard-model.d.ts +13 -13
  24. package/src/rich-text-editor/actions/keyboard.js +21 -20
  25. package/src/rich-text-editor/actions/resize.js +3 -0
  26. package/src/rich-text-editor/base/constant.d.ts +5 -0
  27. package/src/rich-text-editor/base/constant.js +5 -0
  28. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +701 -701
  29. package/src/rich-text-editor/base/rich-text-editor.js +61 -36
  30. package/src/rich-text-editor/formatter/html-formatter.js +13 -13
  31. package/src/rich-text-editor/formatter/markdown-formatter.js +13 -13
  32. package/src/rich-text-editor/models/iframe-settings-model.d.ts +21 -21
  33. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  34. package/src/rich-text-editor/models/inline-mode-model.d.ts +9 -9
  35. package/src/rich-text-editor/models/inline-mode.js +19 -19
  36. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +328 -328
  37. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  38. package/src/rich-text-editor/renderer/iframe-content-renderer.js +13 -13
  39. package/src/rich-text-editor/renderer/image-module.d.ts +2 -0
  40. package/src/rich-text-editor/renderer/image-module.js +28 -8
  41. package/src/rich-text-editor/renderer/table-module.js +6 -1
  42. package/styles/_all.scss +2 -2
  43. package/styles/bootstrap-dark.css +22 -1
  44. package/styles/bootstrap.css +22 -1
  45. package/styles/bootstrap4.css +22 -1
  46. package/styles/bootstrap5-dark.css +0 -0
  47. package/styles/bootstrap5-dark.scss +0 -0
  48. package/styles/bootstrap5.css +0 -0
  49. package/styles/bootstrap5.scss +0 -0
  50. package/styles/fabric-dark.css +22 -1
  51. package/styles/fabric.css +22 -1
  52. package/styles/highcontrast-light.css +22 -1
  53. package/styles/highcontrast.css +22 -1
  54. package/styles/material-dark.css +22 -1
  55. package/styles/material.css +22 -1
  56. package/styles/rich-text-editor/_all.scss +2 -2
  57. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +151 -151
  58. package/styles/rich-text-editor/_bootstrap-definition.scss +184 -184
  59. package/styles/rich-text-editor/_bootstrap4-definition.scss +307 -307
  60. package/styles/rich-text-editor/_fabric-dark-definition.scss +150 -150
  61. package/styles/rich-text-editor/_fabric-definition.scss +148 -148
  62. package/styles/rich-text-editor/_highcontrast-definition.scss +148 -148
  63. package/styles/rich-text-editor/_highcontrast-light-definition.scss +148 -148
  64. package/styles/rich-text-editor/_layout.scss +1416 -1405
  65. package/styles/rich-text-editor/_material-dark-definition.scss +151 -151
  66. package/styles/rich-text-editor/_material-definition.scss +150 -150
  67. package/styles/rich-text-editor/_theme.scss +499 -489
  68. package/styles/rich-text-editor/bootstrap-dark.css +22 -1
  69. package/styles/rich-text-editor/bootstrap.css +22 -1
  70. package/styles/rich-text-editor/bootstrap4.css +22 -1
  71. package/styles/rich-text-editor/fabric-dark.css +22 -1
  72. package/styles/rich-text-editor/fabric.css +22 -1
  73. package/styles/rich-text-editor/highcontrast-light.css +22 -1
  74. package/styles/rich-text-editor/highcontrast.css +22 -1
  75. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +289 -289
  76. package/styles/rich-text-editor/icons/_bootstrap.scss +288 -288
  77. package/styles/rich-text-editor/icons/_bootstrap4.scss +288 -288
  78. package/styles/rich-text-editor/icons/_fabric-dark.scss +288 -288
  79. package/styles/rich-text-editor/icons/_fabric.scss +288 -288
  80. package/styles/rich-text-editor/icons/_highcontrast-light.scss +288 -288
  81. package/styles/rich-text-editor/icons/_highcontrast.scss +288 -288
  82. package/styles/rich-text-editor/icons/_material-dark.scss +288 -288
  83. package/styles/rich-text-editor/icons/_material.scss +288 -288
  84. package/styles/rich-text-editor/material-dark.css +22 -1
  85. package/styles/rich-text-editor/material.css +22 -1
  86. package/styles/tailwind-dark.css +0 -0
  87. package/styles/tailwind-dark.scss +0 -0
  88. package/styles/tailwind.css +0 -0
  89. package/styles/tailwind.scss +0 -0
  90. package/dist/global/ej2-richtexteditor.min.js +0 -2
  91. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  92. package/dist/global/index.d.ts +0 -5
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.