@syncfusion/ej2-richtexteditor 19.4.56 → 20.1.50

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 (82) hide show
  1. package/CHANGELOG.md +9 -67
  2. package/dist/ej2-richtexteditor.umd.min.js +2 -2
  3. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-richtexteditor.es2015.js +121 -40
  5. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-richtexteditor.es5.js +119 -38
  7. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  8. package/dist/global/ej2-richtexteditor.min.js +2 -2
  9. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +12 -12
  12. package/src/editor-manager/base/constant.d.ts +6 -0
  13. package/src/editor-manager/base/constant.js +6 -0
  14. package/src/editor-manager/plugin/clearformat.js +3 -2
  15. package/src/editor-manager/plugin/inserthtml.js +8 -4
  16. package/src/editor-manager/plugin/lists.js +18 -6
  17. package/src/editor-manager/plugin/ms-word-clean-up.js +6 -0
  18. package/src/editor-manager/plugin/table.js +6 -5
  19. package/src/editor-manager/plugin/undo.js +1 -1
  20. package/src/rich-text-editor/actions/count.js +2 -2
  21. package/src/rich-text-editor/actions/dropdown-buttons.js +1 -1
  22. package/src/rich-text-editor/actions/html-editor.js +3 -2
  23. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -0
  24. package/src/rich-text-editor/actions/paste-clean-up.js +11 -1
  25. package/src/rich-text-editor/base/classes.d.ts +5 -0
  26. package/src/rich-text-editor/base/classes.js +5 -0
  27. package/src/rich-text-editor/base/rich-text-editor.js +4 -3
  28. package/src/rich-text-editor/renderer/image-module.js +21 -5
  29. package/src/rich-text-editor/renderer/table-module.js +20 -5
  30. package/src/selection/selection.js +3 -0
  31. package/styles/bootstrap-dark.css +6 -3
  32. package/styles/bootstrap.css +6 -3
  33. package/styles/bootstrap4.css +2 -2
  34. package/styles/bootstrap5-dark.css +30 -6
  35. package/styles/bootstrap5.css +31 -7
  36. package/styles/fabric-dark.css +2 -2
  37. package/styles/fabric.css +2 -2
  38. package/styles/fluent-dark.css +3001 -0
  39. package/styles/fluent-dark.scss +1 -0
  40. package/styles/fluent.css +3001 -0
  41. package/styles/fluent.scss +1 -0
  42. package/styles/highcontrast-light.css +2 -2
  43. package/styles/highcontrast.css +2 -2
  44. package/styles/material-dark.css +2 -2
  45. package/styles/material.css +2 -2
  46. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +19 -0
  47. package/styles/rich-text-editor/_bootstrap-definition.scss +19 -0
  48. package/styles/rich-text-editor/_bootstrap4-definition.scss +19 -0
  49. package/styles/rich-text-editor/_bootstrap5-definition.scss +24 -3
  50. package/styles/rich-text-editor/_fabric-dark-definition.scss +19 -0
  51. package/styles/rich-text-editor/_fabric-definition.scss +19 -0
  52. package/styles/rich-text-editor/_fluent-dark-definition.scss +1 -0
  53. package/styles/rich-text-editor/_fluent-definition.scss +42 -19
  54. package/styles/rich-text-editor/_highcontrast-definition.scss +19 -0
  55. package/styles/rich-text-editor/_highcontrast-light-definition.scss +19 -0
  56. package/styles/rich-text-editor/_layout.scss +96 -6
  57. package/styles/rich-text-editor/_material-dark-definition.scss +18 -1
  58. package/styles/rich-text-editor/_material-definition.scss +19 -0
  59. package/styles/rich-text-editor/_tailwind-definition.scss +26 -6
  60. package/styles/rich-text-editor/_theme.scss +17 -2
  61. package/styles/rich-text-editor/bootstrap-dark.css +6 -3
  62. package/styles/rich-text-editor/bootstrap.css +6 -3
  63. package/styles/rich-text-editor/bootstrap4.css +2 -2
  64. package/styles/rich-text-editor/bootstrap5-dark.css +30 -6
  65. package/styles/rich-text-editor/bootstrap5.css +31 -7
  66. package/styles/rich-text-editor/fabric-dark.css +2 -2
  67. package/styles/rich-text-editor/fabric.css +2 -2
  68. package/styles/rich-text-editor/fluent-dark.css +3001 -0
  69. package/styles/rich-text-editor/fluent-dark.scss +4 -0
  70. package/styles/rich-text-editor/fluent.css +3001 -0
  71. package/styles/rich-text-editor/fluent.scss +4 -0
  72. package/styles/rich-text-editor/highcontrast-light.css +2 -2
  73. package/styles/rich-text-editor/highcontrast.css +2 -2
  74. package/styles/rich-text-editor/icons/_fluent-dark.scss +1 -0
  75. package/styles/rich-text-editor/icons/_fluent.scss +74 -74
  76. package/styles/rich-text-editor/icons/_tailwind.scss +73 -74
  77. package/styles/rich-text-editor/material-dark.css +2 -2
  78. package/styles/rich-text-editor/material.css +2 -2
  79. package/styles/rich-text-editor/tailwind-dark.css +104 -85
  80. package/styles/rich-text-editor/tailwind.css +105 -86
  81. package/styles/tailwind-dark.css +104 -85
  82. package/styles/tailwind.css +105 -86
package/CHANGELOG.md CHANGED
@@ -6,89 +6,31 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
- - `#I369216` - Now, pasting the note pad with link contents is pasted properly without moving the cursor to the previous line.
10
-
11
- ## 19.4.55 (2022-03-08)
12
-
13
- ### RichTextEditor
14
-
15
- #### Bug Fixes
16
-
17
- - `#I367152` - Now, cursor focus after inserting the list when the insert table popup is opened works properly.
18
-
19
- - `#I367649` - Now, the spacing is maintained properly between the contents when inserting the link previously to the already inserted link.
20
-
21
- - `#I368358` - Now, the drag and drop of the image inside the Rich Text Editor works properly without duplicating the image.
22
-
23
- - `#I368217`- Now, the image caption is removed after deleting the image.
24
-
25
- - `#I364785` - Now, deselecting the formats works properly without any console error.
9
+ - `#I367373` - Now, pressing `ctrl+z` to undo the changes works properly when `enterKey` is configured as `BR`.
26
10
 
27
- ## 19.4.54 (2022-03-01)
11
+ ## 20.1.48 (2022-04-12)
28
12
 
29
13
  ### RichTextEditor
30
14
 
31
15
  #### Bug Fixes
32
16
 
33
- - `#I366312` - Now, pressing the `Enter` key twice works properly after the `Shift + Enter` action in the `Firefox` browser.
17
+ - `#F173415` - Now, the input element can be inserted in the Rich Text Editor using the `executeCommand` public method.
34
18
 
35
- - `#I365989` - Now, the pasted content can be edited properly in the Rich Text Editor when the `enterKey` is configured as `BR`.
19
+ - `#I372932` - Now, copying and pasting the content with `contenteditable` set to false doesn't add any unwanted `br` tag.
36
20
 
37
- - `#I364798` - Now, the toolbar will be disabled when the pasted image in the Rich Text Editor is begin uploaded.
21
+ - `#I370707` - Now, the font size is updated properly when removing the bullet list using the backspace key.
38
22
 
39
- - `#I365104` - Now, the clearing the list content in the Rich Text Editor works properly by removing all the list elements.
23
+ - `#I370210` - Now, the image will be loaded properly when pasting the contents from MS Word.
40
24
 
41
- ## 19.4.53 (2022-02-22)
25
+ ## 20.1.47 (2022-04-04)
42
26
 
43
27
  ### RichTextEditor
44
28
 
45
29
  #### Bug Fixes
46
30
 
47
- - `#I363960` - Now, the image is deleted properly using the delete key after pasting the image content in the Rich Text Editor.
48
-
49
- ## 19.4.52 (2022-02-15)
50
-
51
- ### RichTextEditor
52
-
53
- #### Bug Fixes
54
-
55
- - `#F171387` - Now, changing the `width` API dynamically when the toolbar is in inline mode works properly.
56
-
57
- ## 19.4.50 (2022-02-08)
58
-
59
- ### RichTextEditor
60
-
61
- #### Bug Fixes
62
-
63
- - `#F171387` - Now, pressing the backspace key when the cursor is at the start of the last list element works properly.
64
-
65
- - `#I361186` - Now, cursor focus in the Rich Text Editor works properly when continuously pressing `enter` and `shift + enter` keys.
66
-
67
- - `#F171703` - Now, paste the content in the Rich Text Editor after pressing the `shift + enter` key works properly.
68
-
69
- ## 19.4.47 (2022-01-25)
70
-
71
- ### RichTextEditor
72
-
73
- #### Bug Fixes
74
-
75
- - `#I361186` - The issue with "Strange behavior occurred in the Rich Text Editor component, when repeatedly pressing the `shift + enter` key" has been resolved.
76
-
77
- ## 19.4.40 (2021-12-28)
78
-
79
- ### RichTextEditor
80
-
81
- #### Bug Fixes
82
-
83
- - `#I347512` - The issue with "ColorPicker of Table quick toolbar got reset whenever quick toolbar rendered" has been resolved.
84
-
85
- - `#I358633` - Now, pasting alpha list type contents from the MS Word into the Rich Text Editor works properly.
86
-
87
- - `#I359685` - Now, enter key action works properly when an image is added in the list and pressed enter.
88
-
89
- - `#I359685` - Now, pressing the space key after `11.` works properly and doesn't create a list.
31
+ - `#I369216` - Now, pasting the note pad with link contents is pasted properly without moving the cursor to the previous line.
90
32
 
91
- - `#I358998` - Now, focusing on other elements when the cursor is in Rich Text Editor works properly in the IE11 browser.
33
+ - `#F171703` - Now, pasting the content in the Rich Text Editor after pressing the `shift + enter` key works properly.
92
34
 
93
35
  ## 19.4.38 (2021-12-17)
94
36