@syncfusion/ej2-angular-richtexteditor 20.4.53 → 21.1.35

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 (75) hide show
  1. package/README.md +1 -1
  2. package/esm2020/src/index.mjs +2 -2
  3. package/esm2020/src/rich-text-editor/richtexteditor-all.module.mjs +7 -4
  4. package/esm2020/src/rich-text-editor/richtexteditor.component.mjs +10 -3
  5. package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs +16 -6
  6. package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs.map +1 -1
  7. package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs +16 -6
  8. package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs.map +1 -1
  9. package/package.json +9 -9
  10. package/schematics/utils/lib-details.d.ts +2 -2
  11. package/schematics/utils/lib-details.js +2 -2
  12. package/schematics/utils/lib-details.ts +2 -2
  13. package/src/index.d.ts +1 -1
  14. package/src/rich-text-editor/richtexteditor-all.module.d.ts +1 -0
  15. package/src/rich-text-editor/richtexteditor.component.d.ts +1 -1
  16. package/styles/bootstrap-dark.css +26 -1
  17. package/styles/bootstrap.css +26 -1
  18. package/styles/bootstrap4.css +26 -1
  19. package/styles/bootstrap5-dark.css +27 -2
  20. package/styles/bootstrap5.css +27 -2
  21. package/styles/fabric-dark.css +26 -1
  22. package/styles/fabric.css +26 -1
  23. package/styles/fluent-dark.css +29 -4
  24. package/styles/fluent.css +29 -4
  25. package/styles/highcontrast-light.css +26 -1
  26. package/styles/highcontrast.css +26 -1
  27. package/styles/material-dark.css +26 -1
  28. package/styles/material.css +26 -1
  29. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +24 -1
  30. package/styles/rich-text-editor/_bootstrap-definition.scss +24 -1
  31. package/styles/rich-text-editor/_bootstrap4-definition.scss +24 -1
  32. package/styles/rich-text-editor/_bootstrap5-definition.scss +27 -5
  33. package/styles/rich-text-editor/_fabric-dark-definition.scss +24 -1
  34. package/styles/rich-text-editor/_fabric-definition.scss +24 -1
  35. package/styles/rich-text-editor/_fluent-definition.scss +29 -7
  36. package/styles/rich-text-editor/_fusionnew-definition.scss +25 -3
  37. package/styles/rich-text-editor/_highcontrast-definition.scss +24 -1
  38. package/styles/rich-text-editor/_highcontrast-light-definition.scss +24 -1
  39. package/styles/rich-text-editor/_layout.scss +46 -15
  40. package/styles/rich-text-editor/_material-dark-definition.scss +25 -1
  41. package/styles/rich-text-editor/_material-definition.scss +24 -1
  42. package/styles/rich-text-editor/_tailwind-definition.scss +27 -5
  43. package/styles/rich-text-editor/_theme.scss +51 -5
  44. package/styles/rich-text-editor/bootstrap-dark.css +26 -1
  45. package/styles/rich-text-editor/bootstrap.css +26 -1
  46. package/styles/rich-text-editor/bootstrap4.css +26 -1
  47. package/styles/rich-text-editor/bootstrap5-dark.css +27 -2
  48. package/styles/rich-text-editor/bootstrap5.css +27 -2
  49. package/styles/rich-text-editor/fabric-dark.css +26 -1
  50. package/styles/rich-text-editor/fabric.css +26 -1
  51. package/styles/rich-text-editor/fluent-dark.css +29 -4
  52. package/styles/rich-text-editor/fluent.css +29 -4
  53. package/styles/rich-text-editor/highcontrast-light.css +26 -1
  54. package/styles/rich-text-editor/highcontrast.css +26 -1
  55. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +8 -0
  56. package/styles/rich-text-editor/icons/_bootstrap.scss +8 -0
  57. package/styles/rich-text-editor/icons/_bootstrap4.scss +8 -0
  58. package/styles/rich-text-editor/icons/_bootstrap5.scss +8 -0
  59. package/styles/rich-text-editor/icons/_fabric-dark.scss +8 -0
  60. package/styles/rich-text-editor/icons/_fabric.scss +8 -0
  61. package/styles/rich-text-editor/icons/_fluent.scss +8 -0
  62. package/styles/rich-text-editor/icons/_fusionnew.scss +8 -0
  63. package/styles/rich-text-editor/icons/_highcontrast-light.scss +8 -0
  64. package/styles/rich-text-editor/icons/_highcontrast.scss +8 -0
  65. package/styles/rich-text-editor/icons/_material-dark.scss +8 -0
  66. package/styles/rich-text-editor/icons/_material.scss +8 -0
  67. package/styles/rich-text-editor/icons/_material3.scss +8 -0
  68. package/styles/rich-text-editor/icons/_tailwind.scss +8 -0
  69. package/styles/rich-text-editor/material-dark.css +26 -1
  70. package/styles/rich-text-editor/material.css +26 -1
  71. package/styles/rich-text-editor/tailwind-dark.css +26 -1
  72. package/styles/rich-text-editor/tailwind.css +26 -1
  73. package/styles/tailwind-dark.css +26 -1
  74. package/styles/tailwind.css +26 -1
  75. package/styles/rich-text-editor/_material3-definition.scss +0 -196
@@ -6,13 +6,13 @@ $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 1 !default;
7
7
  $rte-split-btn-line-height: 40px !default;
8
8
  $rte-big-split-btn-line-height: 50px !default;
9
- $skin-name: 'highcontrast' !default;
10
9
  $rte-border-color: $border-fg !default;
11
10
  $rte-full-screen-bg: $bg-base-0 !default;
12
11
  $rte-content-bg: $bg-base-0 !default;
13
12
  $rte-content-font-color: #fff !default;
14
13
  $rte-item-color: $content-font !default;
15
14
  $rte-icons-color: $content-font !default;
15
+ $rte-hover-icons-color: $content-font !default;
16
16
  $rte-content-padding: 16px !default;
17
17
  $rte-table-popup-padding: 10px !default;
18
18
 
@@ -137,6 +137,7 @@ $rte-table-span-active-bg-color: rgba($selection-bg, .2) !default;
137
137
  $rte-table-span-active-border-color: $selection-border !default;
138
138
  $rte-table-select-border-color: #0478d7 !default;
139
139
  $rte-table-popup-bg: $bg-base-0 !default;
140
+ $rte-table-resize-back-color: $bg-base-0 !default;
140
141
  $rte-table-popup-color: $border-fg !default;
141
142
  $rte-table-popup-box: 0 3px 8px 0 rgba($bg-base-75, .26) !default;
142
143
  $rte-table-border-color: #bdbdbd !default;
@@ -187,4 +188,26 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
187
188
  $rte-big-table-dlg-max-height: 309px !default;
188
189
  $rte-big-edit-table-dlg-max-height: 400px !default;
189
190
  $rte-drop-text-width: 288px !default;
191
+ $rte-drop-text-height: 185px !default;
190
192
  $rte-drop-text-mobile-width: 238px !default;
193
+ $rte-tbar-default-bg: $bg-base-0;
194
+ $rte-droparea-line-height: 10;
195
+ $rte-droparea-browsebtn-height: 36px;
196
+ $rte-droparea-browsebtn-padding: 0 18px;
197
+ $rte-droparea-browsebtn-top: -50px;
198
+ $rte-insert-dialog-font-size: 15px;
199
+ $rte-big-insert-dialog-font-size: 15px;
200
+ $rte-table-popup-tablecell-height: 14px;
201
+ $rte-table-popup-tablecell-width: 14px;
202
+ $rte-table-popup-tablecell-margin: 1px;
203
+ $rte-table-popup-row-height : 16px;
204
+ $rte-border-top-left-radius: 0;
205
+ $rte-border-top-right-radius: 0;
206
+ $rte-border-bottom-right-radius: 0;
207
+ $rte-border-bottom-left-radius: 0;
208
+ $rte-big-border-radius: 0;
209
+ $rte-big-table-row-height : 18px;
210
+ $rte-big-tablecell-height : 16px;
211
+ $rte-big-tablecell-width : 16px;
212
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
213
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
@@ -6,13 +6,13 @@ $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 1 !default;
7
7
  $rte-split-btn-line-height: 39px !default;
8
8
  $rte-big-split-btn-line-height: 47px !default;
9
- $skin-name: 'highcontrast' !default;
10
9
  $rte-border-color: $border-fg !default;
11
10
  $rte-full-screen-bg: $bg-base-0 !default;
12
11
  $rte-content-bg: $bg-base-0 !default;
13
12
  $rte-content-font-color: #fff !default;
14
13
  $rte-item-color: $content-font !default;
15
14
  $rte-icons-color: $content-font !default;
15
+ $rte-hover-icons-color: $content-font !default;
16
16
  $rte-table-popup-padding: 10px !default;
17
17
 
18
18
  $rte-big-quick-item-btn-width: 39px !default;
@@ -137,6 +137,7 @@ $rte-table-span-active-bg-color: rgba($selection-bg, .2) !default;
137
137
  $rte-table-span-active-border-color: $selection-border !default;
138
138
  $rte-table-select-border-color: #0478d7 !default;
139
139
  $rte-table-popup-bg: $bg-base-0 !default;
140
+ $rte-table-resize-back-color: $bg-base-0 !default;
140
141
  $rte-table-popup-color: $border-fg !default;
141
142
  $rte-table-popup-box: 0 3px 8px 0 rgba($bg-base-75, .26) !default;
142
143
  $rte-table-border-color: #bdbdbd !default;
@@ -187,4 +188,26 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
187
188
  $rte-big-table-dlg-max-height: 309px !default;
188
189
  $rte-big-edit-table-dlg-max-height: 400px !default;
189
190
  $rte-drop-text-width: 288px !default;
191
+ $rte-drop-text-height: 185px !default;
190
192
  $rte-drop-text-mobile-width: 238px !default;
193
+ $rte-tbar-default-bg: $bg-base-0;
194
+ $rte-droparea-line-height: 10;
195
+ $rte-droparea-browsebtn-height: 36px;
196
+ $rte-droparea-browsebtn-padding: 0 18px;
197
+ $rte-droparea-browsebtn-top: -50px;
198
+ $rte-insert-dialog-font-size: 15px;
199
+ $rte-big-insert-dialog-font-size: 15px;
200
+ $rte-table-popup-tablecell-height: 14px;
201
+ $rte-table-popup-tablecell-width: 14px;
202
+ $rte-table-popup-tablecell-margin: 1px;
203
+ $rte-table-popup-row-height : 16px;
204
+ $rte-border-top-left-radius: 0;
205
+ $rte-border-top-right-radius: 0;
206
+ $rte-border-bottom-right-radius: 0;
207
+ $rte-border-bottom-left-radius: 0;
208
+ $rte-big-border-radius: 0;
209
+ $rte-big-table-row-height : 18px;
210
+ $rte-big-tablecell-height : 16px;
211
+ $rte-big-tablecell-width : 16px;
212
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
213
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
@@ -944,7 +944,7 @@
944
944
  .e-videoheader,
945
945
  .e-video-url-wrap {
946
946
  font-family: $rte-font-family;
947
- font-size: 15px;
947
+ font-size: $rte-insert-dialog-font-size;
948
948
  opacity: .87;
949
949
  padding-bottom: $rte-insert-dialog-label-padding-bottom;
950
950
  padding-top: $rte-insert-dialog-label-padding-top;
@@ -1002,11 +1002,11 @@
1002
1002
  .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
1003
1003
  .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
1004
1004
  display: block;
1005
- height: 36px;
1005
+ height: $rte-droparea-browsebtn-height;
1006
1006
  margin: 0 auto;
1007
- padding: 0 18px;
1007
+ padding: $rte-droparea-browsebtn-padding;
1008
1008
  position: relative;
1009
- top: -50px;
1009
+ top: $rte-droparea-browsebtn-top;
1010
1010
  @if $skin-name == 'FluentUI' {
1011
1011
  outline: none;
1012
1012
  }
@@ -1026,7 +1026,7 @@
1026
1026
  .e-dialog .e-img-uploadwrap.e-droparea,
1027
1027
  .e-dialog .e-aud-uploadwrap.e-droparea,
1028
1028
  .e-dialog .e-vid-uploadwrap.e-droparea {
1029
- line-height: 10;
1029
+ line-height: $rte-droparea-line-height;
1030
1030
  min-height: 50px;
1031
1031
  position: relative;
1032
1032
  }
@@ -1079,15 +1079,15 @@
1079
1079
  .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1080
1080
  border: $rte-table-span-border;
1081
1081
  display: inline-block;
1082
- height: 14px;
1083
- margin: 1px;
1082
+ height: $rte-table-popup-tablecell-height;
1083
+ margin: $rte-table-popup-tablecell-margin;
1084
1084
  overflow: hidden;
1085
1085
  vertical-align: top;
1086
- width: 14px;
1086
+ width: $rte-table-popup-tablecell-width;
1087
1087
  }
1088
1088
 
1089
1089
  .e-rte-table-popup.e-popup-open .e-rte-table-row {
1090
- height: 16px;
1090
+ height: $rte-table-popup-row-height;
1091
1091
  }
1092
1092
 
1093
1093
  .e-rte-table-popup.e-popup-open .e-insert-table-btn {
@@ -1171,6 +1171,7 @@
1171
1171
 
1172
1172
  .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1173
1173
  white-space: nowrap;
1174
+ display: inline-block;
1174
1175
  }
1175
1176
 
1176
1177
  &.e-remove-white-space {
@@ -1194,7 +1195,7 @@
1194
1195
  }
1195
1196
 
1196
1197
  .e-toolbar-item {
1197
- margin: 0 6px;
1198
+ margin: $rte-toolbar-item-frist-last-child-margin;
1198
1199
  min-height: 42px;
1199
1200
 
1200
1201
  &:first-child,
@@ -1304,7 +1305,7 @@
1304
1305
 
1305
1306
  .e-toolbar-item:first-child,
1306
1307
  .e-toolbar-item:last-child {
1307
- margin: 0 6px;
1308
+ margin: $rte-big-toolbar-item-frist-last-child-margin;
1308
1309
  }
1309
1310
 
1310
1311
  .e-toolbar-item .e-tbar-btn.e-btn.e-control {
@@ -1611,12 +1612,12 @@
1611
1612
  }
1612
1613
 
1613
1614
  .e-bigger .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1614
- height: 16px;
1615
- width: 16px;
1615
+ height: $rte-big-tablecell-height;
1616
+ width: $rte-big-tablecell-width;
1616
1617
  }
1617
1618
 
1618
1619
  .e-bigger .e-rte-table-popup.e-popup-open .e-rte-table-row {
1619
- height: 18px;
1620
+ height: $rte-big-table-row-height;
1620
1621
  }
1621
1622
 
1622
1623
  .e-table-rhelper {
@@ -1729,7 +1730,7 @@
1729
1730
 
1730
1731
  .e-linkheader {
1731
1732
  font-family: $rte-font-family;
1732
- font-size: 15px;
1733
+ font-size: $rte-big-insert-dialog-font-size;
1733
1734
  opacity: .87;
1734
1735
  padding-bottom: $rte-insert-dialog-label-padding-bottom;
1735
1736
  padding-top: $rte-insert-dialog-label-padding-top;
@@ -1749,6 +1750,32 @@
1749
1750
  }
1750
1751
  }
1751
1752
 
1753
+ @if $skin-name == 'Material3' {
1754
+ .e-rte-toolbar .e-rte-table-popup .e-insert-table-btn{
1755
+ border-color: $outline;
1756
+ }
1757
+ .e-dialog .e-dlg-header-content + .e-dlg-content{
1758
+ padding-top: 0;
1759
+ }
1760
+ .e-bigger .e-richtexteditor,
1761
+ .e-richtexteditor.e-bigger {
1762
+ .e-dialog {
1763
+ border-radius: 16px;
1764
+ }
1765
+ }
1766
+ .e-dialog .e-dlg-content{
1767
+ padding: 7px 20px;
1768
+ }
1769
+ .e-toolbar-wrapper .e-toolbar .e-toolbar-item:not(.e-separator),
1770
+ .e-bigger .e-toolbar .e-toolbar-item:not(.e-separator) {
1771
+ padding: 8px 4px;
1772
+ }
1773
+ .e-rte-quick-popup .e-rte-toolbar.e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child,
1774
+ .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:last-child {
1775
+ margin: 0;
1776
+ }
1777
+ }
1778
+
1752
1779
  // Blazor styles start
1753
1780
  .e-rte-upload-popup.e-dialog .e-file-select-wrap {
1754
1781
  display: none;
@@ -1829,5 +1856,9 @@
1829
1856
  .e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
1830
1857
  margin: 1px;
1831
1858
  }
1859
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-fontcolor-dropdown,
1860
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-backgroundcolor-dropdown {
1861
+ visibility: hidden;
1862
+ }
1832
1863
  // Blazor styles end
1833
1864
  }
@@ -7,7 +7,6 @@ $rte-list-btn-flex: column !default;
7
7
  $rte-list-btn-line-height: 1 !default;
8
8
  $rte-split-btn-line-height: 25px !default;
9
9
  $rte-big-split-btn-line-height: 35px !default;
10
- $skin-name: 'material' !default;
11
10
  $rte-btn-color: rgba($grey-dark-font, .22) !default;
12
11
  $rte-border-color: $grey-700 !default;
13
12
  $rte-content-bg: $grey-dark !default;
@@ -15,6 +14,7 @@ $rte-full-screen-bg: $grey-dark !default;
15
14
  $rte-content-font-color: $grey-dark-font !default;
16
15
  $rte-item-color: $grey-dark-font !default;
17
16
  $rte-icons-color: $grey-dark-font !default;
17
+ $rte-hover-icons-color: $grey-dark-font !default;
18
18
  $rte-content-padding: 16px !default;
19
19
  $rte-table-popup-padding: 10px !default;
20
20
  $rte-toolbar-icon-size: 16px !default;
@@ -142,6 +142,7 @@ $rte-table-span-active-bg-color: rgba($accent, .2) !default;
142
142
  $rte-table-span-active-border-color: $accent !default;
143
143
  $rte-table-select-border-color: #0478d7 !default;
144
144
  $rte-table-popup-bg: $grey-800 !default;
145
+ $rte-table-resize-back-color: $grey-800 !default;
145
146
  $rte-table-popup-color: $grey-black !default;
146
147
  $rte-table-popup-box: 0 3px 8px 0 rgba($grey-black, .26) !default;
147
148
  $rte-table-border-color: rgba($grey-white, .5) !default;
@@ -189,6 +190,29 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
189
190
  $rte-big-table-dlg-max-height: 312px !default;
190
191
  $rte-big-edit-table-dlg-max-height: 385px !default;
191
192
  $rte-drop-text-width: 300px !default;
193
+ $rte-drop-text-height: 185px !default;
192
194
  $rte-drop-text-mobile-width: 250px !default;
193
195
 
196
+ $rte-tbar-default-bg: $grey-900;
197
+ $rte-droparea-line-height: 10;
198
+ $rte-droparea-browsebtn-height: 36px;
199
+ $rte-droparea-browsebtn-padding: 0 18px;
200
+ $rte-droparea-browsebtn-top: -50px;
201
+ $rte-insert-dialog-font-size: 15px;
202
+ $rte-big-insert-dialog-font-size: 15px;
203
+ $rte-table-popup-tablecell-height: 14px;
204
+ $rte-table-popup-tablecell-width: 14px;
205
+ $rte-table-popup-tablecell-margin: 1px;
206
+ $rte-table-popup-row-height : 16px;
207
+ $rte-border-top-left-radius: 0;
208
+ $rte-border-top-right-radius: 0;
209
+ $rte-border-bottom-right-radius: 0;
210
+ $rte-border-bottom-left-radius: 0;
211
+ $rte-big-border-radius: 0;
212
+ $rte-big-table-row-height : 18px;
213
+ $rte-big-tablecell-height : 16px;
214
+ $rte-big-tablecell-width : 16px;
215
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
216
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
217
+
194
218
  //enddefult
@@ -6,7 +6,6 @@ $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 1 !default;
7
7
  $rte-split-btn-line-height: 25px !default;
8
8
  $rte-big-split-btn-line-height: 35px !default;
9
- $skin-name: 'material' !default;
10
9
  $rte-btn-color: rgba($grey-black, .87) !default;
11
10
  $rte-border-color: rgba($grey-black, .12) !default;
12
11
  $rte-content-bg: $grey-white !default;
@@ -14,6 +13,7 @@ $rte-full-screen-bg: $grey-white !default;
14
13
  $rte-content-font-color: #333 !default;
15
14
  $rte-item-color: $grey-black !default;
16
15
  $rte-icons-color: $grey-black !default;
16
+ $rte-hover-icons-color: $grey-black !default;
17
17
  $rte-content-padding: 16px !default;
18
18
  $rte-table-popup-padding: 10px !default;
19
19
 
@@ -139,6 +139,7 @@ $rte-table-span-active-bg-color: rgba($accent, .2) !default;
139
139
  $rte-table-span-active-border-color: $accent !default;
140
140
  $rte-table-select-border-color: #0478d7 !default;
141
141
  $rte-table-popup-bg: $grey-white !default;
142
+ $rte-table-resize-back-color: $grey-white !default;
142
143
  $rte-table-popup-color: $grey-black !default;
143
144
  $rte-table-popup-box: 0 3px 8px 0 rgba($grey-black, .26) !default;
144
145
  $rte-table-border-color: #bdbdbd !default;
@@ -189,4 +190,26 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
189
190
  $rte-big-table-dlg-max-height: 312px !default;
190
191
  $rte-big-edit-table-dlg-max-height: 385px !default;
191
192
  $rte-drop-text-width: 300px !default;
193
+ $rte-drop-text-height: 185px !default;
192
194
  $rte-drop-text-mobile-width: 250px !default;
195
+ $rte-tbar-default-bg: $grey-50;
196
+ $rte-droparea-line-height: 10;
197
+ $rte-droparea-browsebtn-height: 36px;
198
+ $rte-droparea-browsebtn-padding: 0 18px;
199
+ $rte-droparea-browsebtn-top: -50px;
200
+ $rte-insert-dialog-font-size: 15px;
201
+ $rte-big-insert-dialog-font-size: 15px;
202
+ $rte-table-popup-tablecell-height: 14px;
203
+ $rte-table-popup-tablecell-width: 14px;
204
+ $rte-table-popup-tablecell-margin: 1px;
205
+ $rte-table-popup-row-height : 16px;
206
+ $rte-border-top-left-radius: 0;
207
+ $rte-border-top-right-radius: 0;
208
+ $rte-border-bottom-right-radius: 0;
209
+ $rte-border-bottom-left-radius: 0;
210
+ $rte-big-border-radius: 0;
211
+ $rte-big-table-row-height : 18px;
212
+ $rte-big-tablecell-height : 16px;
213
+ $rte-big-tablecell-width : 16px;
214
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
215
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
@@ -1,5 +1,3 @@
1
- $skin-name: 'tailwind' !default;
2
-
3
1
  //Layout Variables Start
4
2
  $rte-border-size: 1px !default;
5
3
  $rte-2px-border-size: 2px !default;
@@ -29,8 +27,8 @@ $rte-big-quick-drop-btn-icon-size: 16px !default;
29
27
  $rte-quick-drop-btn-icon-size: 14px !default;
30
28
  $rte-big-quick-drop-btn-caret-icon-size: 10px !default;
31
29
  $rte-quick-drop-btn-caret-icon-size: 12px !default;
32
- $rte-big-quick-drop-btn-caret-font-size: 12px !default;
33
- $rte-quick-drop-btn-caret-font-size: 10px !default;
30
+ $rte-big-quick-drop-btn-caret-font-size: $text-xs !default;
31
+ $rte-quick-drop-btn-caret-font-size: $text-xxs !default;
34
32
  $rte-big-tb-items-margin-left: 3px !default;
35
33
  $rte-tb-items-margin-left: 7px !default;
36
34
  $rte-big-tb-items-padding-left: 3px !default;
@@ -70,7 +68,7 @@ $rte-big-quick-tbar-item-min-width: 39px !default;
70
68
  $rte-content-font-size: $text-sm !default;
71
69
  $rte-dropdown-caret-icon-size: $text-xs !default;
72
70
  $rte-big-dropdown-caret-icon-size: $text-sm !default;
73
- $font-weight: 400 !default;
71
+ $font-weight: $font-weight-normal !default;
74
72
  $rte-table-popup-bdr-radius: 2px !default;
75
73
  $rte-resize-handler-width: 15px;
76
74
  $rte-resize-handler-height: 15px;
@@ -84,6 +82,21 @@ $rte-inline-tmp-color-min-width: 55px;
84
82
  $rte-big-color-list-span-common-padding-left-right: 0;
85
83
  $rte-placeholder-padding: 12px !default;
86
84
  $rte-default-character-count-opacity: 1;
85
+ $rte-droparea-line-height: 10;
86
+ $rte-droparea-browsebtn-height: 36px;
87
+ $rte-droparea-browsebtn-padding: 0 18px;
88
+ $rte-droparea-browsebtn-top: -50px;
89
+ $rte-insert-dialog-font-size: 15px;
90
+ $rte-big-insert-dialog-font-size: 15px;
91
+ $rte-table-popup-tablecell-height: 14px;
92
+ $rte-table-popup-tablecell-width: 14px;
93
+ $rte-table-popup-tablecell-margin: 1px;
94
+ $rte-table-popup-row-height : 16px;
95
+ $rte-big-table-row-height : 18px;
96
+ $rte-big-tablecell-height : 16px;
97
+ $rte-big-tablecell-width : 16px;
98
+ $rte-toolbar-item-frist-last-child-margin: 0 6px;
99
+ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
87
100
 
88
101
  //Layout Variables End
89
102
 
@@ -94,6 +107,7 @@ $rte-full-screen-bg: $content-bg-color !default;
94
107
  $rte-content-font-color: $content-text-color !default;
95
108
  $rte-item-color: $content-text-color !default;
96
109
  $rte-icons-color: $icon-color !default;
110
+ $rte-hover-icons-color: $icon-color !default;
97
111
  $rte-img-popup-border: 1px solid $border-light !default;
98
112
  $rte-img-popup-box-shadow: $shadow !default;
99
113
  $rte-img-popup-color: $border-light !default;
@@ -162,12 +176,18 @@ $rte-table-span-active-bg-color: $primary-lighter !default;
162
176
  $rte-table-span-active-border-color: $primary !default;
163
177
  $rte-table-select-border-color: $primary !default;
164
178
  $rte-table-popup-bg: $content-bg-color !default;
179
+ $rte-table-resize-back-color: $content-bg-color !default;
165
180
  $rte-table-popup-color: $border-light !default;
166
181
  $rte-table-popup-box: $shadow !default;
167
182
  $rte-table-border-color: $border-light !default;
168
183
  $rte-table-alternate-color: $content-bg-color-alt1 !default;
169
184
  $rte-table-header-bg: $content-bg-color-alt1 !default;
170
185
  $rte-toolbar-hor-nav-border-width: 0 0 0 1px !default;
186
+ $rte-border-top-left-radius: 0;
187
+ $rte-border-top-right-radius: 0;
188
+ $rte-border-bottom-right-radius: 0;
189
+ $rte-border-bottom-left-radius: 0;
190
+ $rte-big-border-radius: 0;
171
191
 
172
192
  //Theme Variables End
173
193
 
@@ -191,4 +211,6 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
191
211
  $rte-big-table-dlg-max-height: 283px !default;
192
212
  $rte-big-edit-table-dlg-max-height: 388px !default;
193
213
  $rte-drop-text-width: 300px !default;
214
+ $rte-drop-text-height: 185px !default;
194
215
  $rte-drop-text-mobile-width: 250px !default;
216
+ $rte-tbar-default-bg: $content-bg-color-alt2;
@@ -157,6 +157,9 @@
157
157
  .e-toolbar-item .e-tbar-btn .e-icons {
158
158
  color: $rte-icons-color;
159
159
  }
160
+ .e-toolbar-item .e-tbar-btn:hover .e-icons {
161
+ color: $rte-hover-icons-color;
162
+ }
160
163
 
161
164
  .e-toolbar-item.e-active .e-tbar-btn .e-icons {
162
165
  color: $rte-tb-active-font-color;
@@ -193,13 +196,22 @@
193
196
  border: 0;
194
197
  }
195
198
 
199
+ .e-toolbar-wrapper {
200
+ background: $rte-tbar-default-bg;
201
+ }
202
+
196
203
  img.e-img-focus::selection,
197
204
  audio.e-audio-focus::selection,
198
205
  .e-video-focus::selection {
199
206
  background: transparent;
200
207
  color: transparent;
201
208
  }
202
-
209
+ @if $skin-name == 'Material3' {
210
+ ::selection {
211
+ color: $white;
212
+ background: $primary;
213
+ }
214
+ }
203
215
  .e-rte-content,
204
216
  .e-source-content {
205
217
  background: $rte-content-bg;
@@ -457,19 +469,24 @@
457
469
 
458
470
  .e-dialog .e-img-uploadwrap .e-droptext,
459
471
  .e-dialog .e-aud-uploadwrap .e-droptext,
460
- .e-dialog .e-vid-uploadwrap .e-droptext {
472
+ .e-dialog .e-vid-uploadwrap .e-droptext,
473
+ .e-dialog.e-device .e-vid-uploadwrap .e-droptext {
461
474
  border: dashed 2px $rte-upload-drag-border-clr;
462
475
  border-radius: 4px;
463
476
  color: $rte-drop-text-clr;
464
477
  display: block;
465
478
  font-family: $rte-font-family;
466
479
  font-size: 14px;
467
- height: 185px;
480
+ height: $rte-drop-text-height;
468
481
  margin: 0 auto;
469
482
  text-align: center;
470
483
  width: $rte-drop-text-width;
471
484
  }
472
485
 
486
+ .e-dialog .e-vid-uploadwrap .e-droptext {
487
+ height: 108px;
488
+ }
489
+
473
490
  .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap .e-droptext,
474
491
  .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap .e-droptext,
475
492
  .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap .e-droptext {
@@ -577,7 +594,9 @@
577
594
  }
578
595
 
579
596
  .e-rte-table-popup .e-span-border {
580
- border: 1px solid $rte-border-color;
597
+ @if $skin-name != 'Material3' {
598
+ border: 1px solid $rte-border-color;
599
+ }
581
600
  display: block;
582
601
  margin-bottom: 8px;
583
602
  margin-top: 12px;
@@ -622,7 +641,7 @@
622
641
  }
623
642
 
624
643
  span.e-table-box {
625
- background-color: $rte-table-popup-bg;
644
+ background-color: $rte-table-resize-back-color;
626
645
  border: 1px solid $rte-table-border-color;
627
646
  }
628
647
 
@@ -688,6 +707,33 @@
688
707
  }
689
708
  }
690
709
 
710
+ @if $skin-name == 'Material3' {
711
+ .e-bigger .e-richtexteditor.e-rte-tb-expand {
712
+ border-radius: 8px;
713
+ }
714
+ .e-bigger .e-richtexteditor .e-toolbar-wrapper {
715
+ border-top-left-radius: $rte-border-top-left-radius;
716
+ border-top-right-radius: $rte-border-top-right-radius;
717
+ }
718
+ .e-bigger .e-richtexteditor.e-rte-tb-expand .e-rte-toolbar.e-extended-toolbar,
719
+ .e-bigger .e-richtexteditor.e-rte-tb-expand .e-rte-toolbar .e-toolbar-extended {
720
+ border-top-left-radius: $rte-border-top-left-radius;
721
+ border-top-right-radius: $rte-border-top-right-radius;
722
+ }
723
+ .e-bigger .e-toolbar .e-toolbar-items {
724
+ border-top-left-radius: $rte-border-top-left-radius;
725
+ }
726
+ .e-bigger .e-toolbar .e-hor-nav {
727
+ border-top-right-radius: $rte-border-top-right-radius;
728
+ }
729
+ .e-bigger .e-rtl .e-toolbar .e-hor-nav {
730
+ border-top-left-radius: $rte-border-top-left-radius;
731
+ border-top-right-radius: 0;
732
+ }
733
+ .e-bigger .e-rtl .e-toolbar .e-toolbar-items {
734
+ border-top-right-radius: $rte-border-top-right-radius;
735
+ }
736
+ }
691
737
  // Blazor styles start
692
738
  .e-richtexteditor.e-rte-tb-expand .e-rte-content-border {
693
739
  border-bottom: 0;
@@ -305,6 +305,10 @@
305
305
  .e-rte-dropdown-popup .e-rte-file-manager::before {
306
306
  content: "\e42b";
307
307
  }
308
+ .e-rte-toolbar .e-rte-format-painter::before,
309
+ .e-rte-dropdown-popup .e-rte-format-painter::before {
310
+ content: "\e98b";
311
+ }
308
312
 
309
313
  .e-richtexteditor .e-south-east::before,
310
314
  .e-richtexteditor .e-south-west::before {
@@ -327,6 +331,10 @@
327
331
  content: "\e89c";
328
332
  }
329
333
 
334
+ .e-rte-cursor-brush {
335
+ cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0194 8H18.0175C19.6583 8 21 9.35001 21 11L20.9903 23H4L5.0932 10.91C5.0932 9.35001 6.42524 8 8.07573 8H10.0544V1H16.0194V8ZM8.06602 10C7.51845 10 7.07184 10.45 7.07184 11L6.89126 13H19.0019V11C19.0019 10.45 18.5553 10 18.0078 10H8.06602ZM14.0311 8V3H12.0427V8H14.0311ZM19.0019 15H6.71068L6.16699 21H7.83689L19.0019 15.6291V15ZM19.0019 17.8463L12.4466 21H19.0019V17.8463Z" fill="black"/><path d="M6.71068 15H19.0019V15.6291L7.83689 21H6.16699L6.71068 15Z" fill="white"/><path d="M8.06602 10C7.51845 10 7.07184 10.45 7.07184 11L6.89126 13H19.0019V11C19.0019 10.45 18.5553 10 18.0078 10H8.06602Z" fill="white"/><path d="M14.0311 8V3H12.0427V8H14.0311Z" fill="white"/><path d="M19.0019 17.8463L12.4466 21H19.0019V17.8463Z" fill="white"/></svg>'), text;
336
+ }
337
+
330
338
  /*! tab layout */
331
339
  .e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child,
332
340
  .e-richtexteditor.e-bigger .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
@@ -1417,6 +1425,7 @@
1417
1425
  }
1418
1426
  .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1419
1427
  white-space: nowrap;
1428
+ display: inline-block;
1420
1429
  }
1421
1430
  .e-rte-quick-popup .e-rte-quick-toolbar.e-remove-white-space .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1422
1431
  white-space: nowrap;
@@ -2297,6 +2306,11 @@
2297
2306
  margin: 1px;
2298
2307
  }
2299
2308
 
2309
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-fontcolor-dropdown,
2310
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-backgroundcolor-dropdown {
2311
+ visibility: hidden;
2312
+ }
2313
+
2300
2314
  /*! tab layout */
2301
2315
  .e-richtexteditor .e-rte-toolbar {
2302
2316
  border: 1px solid #505050;
@@ -2389,6 +2403,9 @@
2389
2403
  .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn .e-icons {
2390
2404
  color: #f0f0f0;
2391
2405
  }
2406
+ .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-icons {
2407
+ color: #f0f0f0;
2408
+ }
2392
2409
  .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn .e-icons {
2393
2410
  color: #f0f0f0;
2394
2411
  }
@@ -2407,6 +2424,9 @@
2407
2424
  .e-richtexteditor .e-toolbar-wrapper + .e-rte-toolbar:not(.e-rte-tb-float) {
2408
2425
  border: 0;
2409
2426
  }
2427
+ .e-richtexteditor .e-toolbar-wrapper {
2428
+ background: #131313;
2429
+ }
2410
2430
  .e-richtexteditor img.e-img-focus::selection,
2411
2431
  .e-richtexteditor audio.e-audio-focus::selection,
2412
2432
  .e-richtexteditor .e-video-focus::selection {
@@ -2605,7 +2625,8 @@
2605
2625
 
2606
2626
  .e-dialog .e-img-uploadwrap .e-droptext,
2607
2627
  .e-dialog .e-aud-uploadwrap .e-droptext,
2608
- .e-dialog .e-vid-uploadwrap .e-droptext {
2628
+ .e-dialog .e-vid-uploadwrap .e-droptext,
2629
+ .e-dialog.e-device .e-vid-uploadwrap .e-droptext {
2609
2630
  border: dashed 2px #505050;
2610
2631
  border-radius: 4px;
2611
2632
  color: #676767;
@@ -2618,6 +2639,10 @@
2618
2639
  width: 300px;
2619
2640
  }
2620
2641
 
2642
+ .e-dialog .e-vid-uploadwrap .e-droptext {
2643
+ height: 108px;
2644
+ }
2645
+
2621
2646
  .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap .e-droptext,
2622
2647
  .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap .e-droptext,
2623
2648
  .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap .e-droptext {