@syncfusion/ej2-richtexteditor 24.2.3 → 24.2.7

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 (93) hide show
  1. package/CHANGELOG.md +43 -5
  2. package/dist/ej2-richtexteditor.min.js +2 -2
  3. package/dist/ej2-richtexteditor.umd.min.js +2 -2
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +485 -193
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +472 -186
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-richtexteditor.min.js +2 -2
  10. package/dist/global/ej2-richtexteditor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +12 -12
  13. package/src/common/util.d.ts +6 -0
  14. package/src/common/util.js +31 -1
  15. package/src/editor-manager/plugin/formats.d.ts +1 -0
  16. package/src/editor-manager/plugin/formats.js +37 -2
  17. package/src/editor-manager/plugin/inserthtml.js +22 -4
  18. package/src/editor-manager/plugin/lists.js +14 -1
  19. package/src/editor-manager/plugin/ms-word-clean-up.js +87 -18
  20. package/src/editor-manager/plugin/nodecutter.js +1 -1
  21. package/src/editor-manager/plugin/selection-commands.d.ts +1 -0
  22. package/src/editor-manager/plugin/selection-commands.js +56 -1
  23. package/src/editor-manager/plugin/table.js +1 -1
  24. package/src/rich-text-editor/actions/base-quick-toolbar.js +2 -2
  25. package/src/rich-text-editor/actions/enter-key.js +2 -2
  26. package/src/rich-text-editor/actions/html-editor.js +25 -12
  27. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -0
  28. package/src/rich-text-editor/actions/paste-clean-up.js +26 -5
  29. package/src/rich-text-editor/actions/toolbar-action.js +1 -1
  30. package/src/rich-text-editor/actions/toolbar.js +1 -1
  31. package/src/rich-text-editor/base/interface.d.ts +0 -8
  32. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +1 -1
  33. package/src/rich-text-editor/base/rich-text-editor.d.ts +1 -1
  34. package/src/rich-text-editor/base/rich-text-editor.js +16 -6
  35. package/src/rich-text-editor/base/util.js +3 -0
  36. package/src/rich-text-editor/models/default-locale.js +8 -7
  37. package/src/rich-text-editor/renderer/iframe-content-renderer.js +1 -1
  38. package/src/rich-text-editor/renderer/image-module.js +3 -3
  39. package/src/rich-text-editor/renderer/table-module.d.ts +1 -0
  40. package/src/rich-text-editor/renderer/table-module.js +106 -98
  41. package/src/rich-text-editor/renderer/video-module.d.ts +2 -0
  42. package/src/rich-text-editor/renderer/video-module.js +33 -26
  43. package/src/selection/selection.js +3 -0
  44. package/styles/bootstrap-dark.css +25 -9
  45. package/styles/bootstrap.css +25 -9
  46. package/styles/bootstrap4.css +30 -14
  47. package/styles/bootstrap5-dark.css +25 -9
  48. package/styles/bootstrap5.css +25 -9
  49. package/styles/fabric-dark.css +25 -9
  50. package/styles/fabric.css +25 -9
  51. package/styles/fluent-dark.css +27 -11
  52. package/styles/fluent.css +27 -11
  53. package/styles/highcontrast-light.css +25 -9
  54. package/styles/highcontrast.css +25 -9
  55. package/styles/material-dark.css +25 -9
  56. package/styles/material.css +25 -9
  57. package/styles/material3-dark.css +33 -11
  58. package/styles/material3.css +33 -11
  59. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +4 -2
  60. package/styles/rich-text-editor/_bootstrap-definition.scss +4 -2
  61. package/styles/rich-text-editor/_bootstrap4-definition.scss +8 -6
  62. package/styles/rich-text-editor/_bootstrap5-definition.scss +4 -2
  63. package/styles/rich-text-editor/_fabric-dark-definition.scss +4 -2
  64. package/styles/rich-text-editor/_fabric-definition.scss +4 -2
  65. package/styles/rich-text-editor/_fluent-definition.scss +5 -3
  66. package/styles/rich-text-editor/_fusionnew-definition.scss +4 -2
  67. package/styles/rich-text-editor/_highcontrast-definition.scss +4 -2
  68. package/styles/rich-text-editor/_highcontrast-light-definition.scss +4 -2
  69. package/styles/rich-text-editor/_layout.scss +38 -7
  70. package/styles/rich-text-editor/_material-dark-definition.scss +4 -2
  71. package/styles/rich-text-editor/_material-definition.scss +4 -2
  72. package/styles/rich-text-editor/_material3-definition.scss +5 -3
  73. package/styles/rich-text-editor/_tailwind-definition.scss +21 -19
  74. package/styles/rich-text-editor/_theme.scss +21 -3
  75. package/styles/rich-text-editor/bootstrap-dark.css +25 -9
  76. package/styles/rich-text-editor/bootstrap.css +25 -9
  77. package/styles/rich-text-editor/bootstrap4.css +30 -14
  78. package/styles/rich-text-editor/bootstrap5-dark.css +25 -9
  79. package/styles/rich-text-editor/bootstrap5.css +25 -9
  80. package/styles/rich-text-editor/fabric-dark.css +25 -9
  81. package/styles/rich-text-editor/fabric.css +25 -9
  82. package/styles/rich-text-editor/fluent-dark.css +27 -11
  83. package/styles/rich-text-editor/fluent.css +27 -11
  84. package/styles/rich-text-editor/highcontrast-light.css +25 -9
  85. package/styles/rich-text-editor/highcontrast.css +25 -9
  86. package/styles/rich-text-editor/material-dark.css +25 -9
  87. package/styles/rich-text-editor/material.css +25 -9
  88. package/styles/rich-text-editor/material3-dark.css +33 -11
  89. package/styles/rich-text-editor/material3.css +33 -11
  90. package/styles/rich-text-editor/tailwind-dark.css +68 -32
  91. package/styles/rich-text-editor/tailwind.css +68 -32
  92. package/styles/tailwind-dark.css +68 -32
  93. package/styles/tailwind.css +68 -32
@@ -633,6 +633,14 @@
633
633
  .e-richtexteditor.e-bigger .e-rte-content .e-content {
634
634
  font-size: 16px;
635
635
  }
636
+ .e-bigger .e-richtexteditor .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn,
637
+ .e-bigger .e-richtexteditor .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
638
+ .e-bigger .e-richtexteditor .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
639
+ .e-richtexteditor.e-bigger .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn,
640
+ .e-richtexteditor.e-bigger .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
641
+ .e-richtexteditor.e-bigger .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
642
+ top: -120px;
643
+ }
636
644
 
637
645
  .e-richtexteditor {
638
646
  color: rgba(var(--color-sf-on-surface));
@@ -1272,6 +1280,8 @@
1272
1280
  .e-rte-image.e-imginline,
1273
1281
  .e-rte-audio.e-audio-inline,
1274
1282
  .e-rte-video.e-video-inline {
1283
+ margin-left: 5px;
1284
+ margin-right: 5px;
1275
1285
  display: inline-block;
1276
1286
  float: none;
1277
1287
  max-width: calc(100% - 10px);
@@ -1329,19 +1339,19 @@
1329
1339
  }
1330
1340
 
1331
1341
  .e-rte-img-caption.e-imgcenter {
1332
- display: block;
1342
+ display: contents;
1333
1343
  margin-left: auto;
1334
1344
  margin-right: auto;
1335
1345
  }
1336
1346
 
1337
1347
  .e-rte-img-caption.e-imgright {
1338
- display: block;
1348
+ display: contents;
1339
1349
  margin-left: auto;
1340
1350
  margin-right: 0;
1341
1351
  }
1342
1352
 
1343
1353
  .e-rte-img-caption.e-imgleft {
1344
- display: block;
1354
+ display: contents;
1345
1355
  margin-left: 0;
1346
1356
  margin-right: auto;
1347
1357
  }
@@ -1358,7 +1368,7 @@
1358
1368
  }
1359
1369
 
1360
1370
  .e-img-caption.e-rte-img-caption.e-imgbreak {
1361
- display: block;
1371
+ display: contents;
1362
1372
  }
1363
1373
 
1364
1374
  .e-rte-table {
@@ -1543,13 +1553,13 @@
1543
1553
  margin: 0 auto;
1544
1554
  padding: 6px 16px;
1545
1555
  position: relative;
1546
- top: -50px;
1556
+ top: -120px;
1547
1557
  }
1548
1558
  .e-richtexteditor .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
1549
1559
  .e-richtexteditor .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn,
1550
1560
  .e-rte-elements .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
1551
1561
  .e-rte-elements .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
1552
- top: -130px;
1562
+ top: -120px;
1553
1563
  }
1554
1564
  .e-richtexteditor .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn,
1555
1565
  .e-richtexteditor .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea .e-browsebtn,
@@ -2622,7 +2632,9 @@
2622
2632
  }
2623
2633
 
2624
2634
  .e-rte-toolbar .e-rte-table-popup .e-insert-table-btn {
2625
- border-color: var(--color-sf-outline);
2635
+ font-weight: 400;
2636
+ border: 1px solid rgba(var(--color-sf-outline));
2637
+ border-radius: 20px;
2626
2638
  }
2627
2639
 
2628
2640
  .e-dialog .e-dlg-header-content + .e-dlg-content {
@@ -2725,7 +2737,7 @@
2725
2737
  margin: 0 auto;
2726
2738
  padding: 6px 16px;
2727
2739
  position: relative;
2728
- top: -50px;
2740
+ top: -120px;
2729
2741
  }
2730
2742
  .e-rte-elements.e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
2731
2743
  .e-rte-elements.e-dialog .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
@@ -3078,14 +3090,20 @@
3078
3090
  display: block;
3079
3091
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
3080
3092
  font-size: 14px;
3081
- height: 185px;
3093
+ height: 128px;
3082
3094
  margin: 0 auto;
3083
3095
  text-align: center;
3084
3096
  width: auto;
3085
3097
  }
3086
3098
 
3087
3099
  .e-dialog .e-vid-uploadwrap .e-droptext {
3088
- height: 108px;
3100
+ height: 128px;
3101
+ }
3102
+
3103
+ .e-bigger .e-richtexteditor .e-dialog .e-img-uploadwrap .e-droptext,
3104
+ .e-bigger .e-richtexteditor .e-dialog .e-aud-uploadwrap .e-droptext,
3105
+ .e-bigger .e-richtexteditor .e-dialog .e-vid-uploadwrap .e-droptext {
3106
+ height: 140px;
3089
3107
  }
3090
3108
 
3091
3109
  .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap .e-droptext,
@@ -3180,7 +3198,7 @@ span.e-rte-videoboxmark {
3180
3198
  .e-richtexteditor .e-rte-toolbar .e-hor-nav:hover {
3181
3199
  border: solid rgba(0, 0, 0, 0.12);
3182
3200
  border-width: 0 0 0 1px;
3183
- padding-left: 0;
3201
+ padding-left: 1px;
3184
3202
  }
3185
3203
 
3186
3204
  .e-rte-table-popup .e-span-border {
@@ -3311,6 +3329,10 @@ span.e-table-box.e-rbox-select {
3311
3329
  border-top-right-radius: 8px;
3312
3330
  }
3313
3331
 
3332
+ .e-rte-toolbar .e-rte-table-popup .e-insert-table-btn {
3333
+ color: rgba(var(--color-sf-on-surface));
3334
+ }
3335
+
3314
3336
  .e-richtexteditor.e-rte-tb-expand .e-rte-content-border {
3315
3337
  border-bottom: 0;
3316
3338
  }
@@ -203,13 +203,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
203
203
  $rte-big-table-dlg-max-height: 330px !default;
204
204
  $rte-big-edit-table-dlg-max-height: 414px !default;
205
205
  $rte-drop-text-width: 300px !default;
206
- $rte-drop-text-height: 185px !default;
206
+ $rte-drop-text-height: 128px !default;
207
+ $rte-big-drop-text-height: 140px !default;
207
208
  $rte-drop-text-mobile-width: 250px !default;
208
209
  $rte-tbar-default-bg: $grey-darker;
209
210
  $rte-droparea-line-height: 10;
210
211
  $rte-droparea-browsebtn-height: 36px;
211
212
  $rte-droparea-browsebtn-padding: 0 18px;
212
- $rte-droparea-browsebtn-top: -50px;
213
+ $rte-droparea-browsebtn-top: -120px;
214
+ $rte-big-droparea-browsebtn-top: -120px;
213
215
  $rte-insert-dialog-font-size: 15px;
214
216
  $rte-big-insert-dialog-font-size: 15px;
215
217
  $rte-table-popup-tablecell-height: 14px;
@@ -203,13 +203,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
203
203
  $rte-big-table-dlg-max-height: 330px !default;
204
204
  $rte-big-edit-table-dlg-max-height: 414px !default;
205
205
  $rte-drop-text-width: 300px !default;
206
- $rte-drop-text-height: 185px !default;
206
+ $rte-drop-text-height: 128px !default;
207
+ $rte-big-drop-text-height: 140px !default;
207
208
  $rte-drop-text-mobile-width: 250px !default;
208
209
  $rte-tbar-default-bg: $grey-f8;
209
210
  $rte-droparea-line-height: 10;
210
211
  $rte-droparea-browsebtn-height: 36px;
211
212
  $rte-droparea-browsebtn-padding: 0 18px;
212
- $rte-droparea-browsebtn-top: -50px;
213
+ $rte-droparea-browsebtn-top: -120px;
214
+ $rte-big-droparea-browsebtn-top: -120px;
213
215
  $rte-insert-dialog-font-size: 15px;
214
216
  $rte-big-insert-dialog-font-size: 15px;
215
217
  $rte-table-popup-tablecell-height: 14px;
@@ -60,7 +60,7 @@ $rte-tb-items-padding-left: 6px !default;
60
60
  $rte-big-active-tb-item-btn-padding: 0 5px !default;
61
61
  $rte-active-tb-item-btn-padding: 0 2px !default;
62
62
  $rte-tb-item-active-bg: $gray-600 !default;
63
- $rte-tb-active-font-color: $gray-900 !default;
63
+ $rte-tb-active-font-color: $gray-100 !default;
64
64
  $rte-tb-item-active-border: $rte-border-size solid darken($gray-600, 12.5%) !default;
65
65
  $rte-expand-tb-border-bottom: $rte-border-size $rte-border-type $gray-300 !default;
66
66
  $rte-color-picker-active-bg: inherit !default;
@@ -151,7 +151,7 @@ $rte-table-popup-bdr-radius: 0 !default;
151
151
 
152
152
  $rte-inline-dropdown-line-height: 30px !default;
153
153
  $rte-big-inline-dropdown-line-height: 34px !default;
154
- $rte-table-popup-border: rgba(0, 0, 0, .2) !default;
154
+ $rte-table-popup-border:1px solid rgba(0, 0, 0, .2) !default;
155
155
  $rte-big-content-font-size: 16px !default;
156
156
  $rte-dropdown-caret-icon-size: 8px !default;
157
157
  $rte-big-dropdown-caret-icon-size: 10px !default;
@@ -198,13 +198,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
198
198
  $rte-big-table-dlg-max-height: 302px !default;
199
199
  $rte-big-edit-table-dlg-max-height: 378px !default;
200
200
  $rte-drop-text-width: 300px !default;
201
- $rte-drop-text-height: 185px !default;
201
+ $rte-drop-text-height: 128px !default;
202
+ $rte-big-drop-text-height: 140px !default;
202
203
  $rte-drop-text-mobile-width: 250px !default;
203
204
  $rte-tbar-default-bg: $gray-100;
204
205
  $rte-droparea-line-height: 10;
205
206
  $rte-droparea-browsebtn-height: 36px;
206
207
  $rte-droparea-browsebtn-padding: 0 18px;
207
- $rte-droparea-browsebtn-top: -50px;
208
+ $rte-droparea-browsebtn-top: -120px;
209
+ $rte-big-droparea-browsebtn-top: -120px;
208
210
  $rte-insert-dialog-font-size: 15px;
209
211
  $rte-big-insert-dialog-font-size: 15px;
210
212
  $rte-table-popup-tablecell-height: 14px;
@@ -223,7 +225,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
223
225
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
224
226
  $rte-toolbar-expaned-padding: 0 3px;
225
227
  $rte-toolbar-expaned-padding-hover: 0 3px;
226
- $dropdown-btn-font-size: inherit !default;
228
+ $dropdown-btn-font-size: 14px !default;
227
229
  $rte-extended-toolbar-items-padding: 0;
228
230
  $rte-expand-tbar-hover-bg: $gray-600 !default;
229
231
  $rte-big-insert-dialog-label-padding-top: 12px;
@@ -331,7 +333,7 @@ $rte-format-painter-cursor: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiI
331
333
  }
332
334
 
333
335
  & .e-rte-table-popup.e-popup.e-popup-open {
334
- border: 1px solid $rte-table-popup-border;
336
+ border: $rte-table-popup-border;
335
337
  border-radius: 4px;
336
338
 
337
339
  & .e-insert-table-btn .e-btn-icon.e-icons {
@@ -88,7 +88,8 @@ $rte-default-character-count-opacity: 1;
88
88
  $rte-droparea-line-height: 10;
89
89
  $rte-droparea-browsebtn-height: 36px;
90
90
  $rte-droparea-browsebtn-padding: 0 18px;
91
- $rte-droparea-browsebtn-top: -50px;
91
+ $rte-droparea-browsebtn-top: -120px;
92
+ $rte-big-droparea-browsebtn-top: -120px;
92
93
  $rte-insert-dialog-font-size: 15px;
93
94
  $rte-big-insert-dialog-font-size: 15px;
94
95
  $rte-table-popup-tablecell-height: 14px;
@@ -230,7 +231,8 @@ $rte-big-edit-table-dlg-max-height: 373px !default;
230
231
  $toolbar-expand-icon-min-height: 40px !default;
231
232
  $rte-align-caret-icon-min-width: 24px !default;
232
233
  $rte-drop-text-width: 300px !default;
233
- $rte-drop-text-height: 185px !default;
234
+ $rte-drop-text-height: 128px !default;
235
+ $rte-big-drop-text-height: 140px !default;
234
236
  $rte-drop-text-mobile-width: 250px !default;
235
237
  $rte-tbar-default-bg: $content-bg-color-alt1;
236
238
  $rte-expand-tbar-hover-bg: $secondary-bg-color-hover !default;
@@ -202,13 +202,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
202
202
  $rte-big-table-dlg-max-height: 335px !default;
203
203
  $rte-big-edit-table-dlg-max-height: 427px !default;
204
204
  $rte-drop-text-width: 300px !default;
205
- $rte-drop-text-height: 185px !default;
205
+ $rte-drop-text-height: 128px !default;
206
+ $rte-big-drop-text-height: 140px !default;
206
207
  $rte-drop-text-mobile-width: 250px !default;
207
208
  $rte-tbar-default-bg: $neutral-lighter;
208
209
  $rte-droparea-line-height: 10;
209
210
  $rte-droparea-browsebtn-height: 36px;
210
211
  $rte-droparea-browsebtn-padding: 0 18px;
211
- $rte-droparea-browsebtn-top: -50px;
212
+ $rte-droparea-browsebtn-top: -120px;
213
+ $rte-big-droparea-browsebtn-top: -120px;
212
214
  $rte-insert-dialog-font-size: 15px;
213
215
  $rte-big-insert-dialog-font-size: 15px;
214
216
  $rte-table-popup-tablecell-height: 14px;
@@ -202,13 +202,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
202
202
  $rte-big-table-dlg-max-height: 335px !default;
203
203
  $rte-big-edit-table-dlg-max-height: 427px !default;
204
204
  $rte-drop-text-width: 290px !default;
205
- $rte-drop-text-height: 185px !default;
205
+ $rte-drop-text-height: 128px !default;
206
+ $rte-big-drop-text-height: 140px !default;
206
207
  $rte-drop-text-mobile-width: 240px !default;
207
208
  $rte-tbar-default-bg: $neutral-white;
208
209
  $rte-droparea-line-height: 10;
209
210
  $rte-droparea-browsebtn-height: 36px;
210
211
  $rte-droparea-browsebtn-padding: 0 18px;
211
- $rte-droparea-browsebtn-top: -50px;
212
+ $rte-droparea-browsebtn-top: -120px;
213
+ $rte-big-droparea-browsebtn-top: -120px;
212
214
  $rte-insert-dialog-font-size: 15px;
213
215
  $rte-big-insert-dialog-font-size: 15px;
214
216
  $rte-table-popup-tablecell-height: 14px;
@@ -92,7 +92,8 @@ $rte-default-character-count-opacity: .8;
92
92
  $rte-droparea-line-height: 10;
93
93
  $rte-droparea-browsebtn-height: 36px;
94
94
  $rte-droparea-browsebtn-padding: 0 18px;
95
- $rte-droparea-browsebtn-top: -50px;
95
+ $rte-droparea-browsebtn-top: -120px;
96
+ $rte-big-droparea-browsebtn-top: -120px;
96
97
  $rte-insert-dialog-font-size: 15px;
97
98
  $rte-big-insert-dialog-font-size: 15px;
98
99
  $rte-table-popup-tablecell-height: 14px;
@@ -176,7 +177,7 @@ $rte-font-family: $font-family !default;
176
177
  $rte-content-color: $content-text-color !default;
177
178
  $rte-content-blockquote-border-left-color: solid 2px $content-text-color !default;
178
179
  $rte-dropdown-selection-bgcolor: $secondary-bg-color-pressed !default;
179
- $rte-ext-tbar-overlay-icons-color: $icon-color-disabled !default;
180
+ $rte-ext-tbar-overlay-icons-color: $icon-color !default;
180
181
  $rte-overlay-color: $overlay-bg-color !default;
181
182
  $rte-dropdown-selection-color: $secondary-text-color-pressed !default;
182
183
  $rte-anchor-color: $primary !default;
@@ -234,7 +235,8 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
234
235
  $rte-big-table-dlg-max-height: 306px !default;
235
236
  $rte-big-edit-table-dlg-max-height: 388px !default;
236
237
  $rte-drop-text-width: 292px !default;
237
- $rte-drop-text-height: 185px !default;
238
+ $rte-drop-text-height: 128px !default;
239
+ $rte-big-drop-text-height: 140px !default;
238
240
  $rte-drop-text-mobile-width: 242px !default;
239
241
  $rte-tbar-default-bg: $content-bg-color-alt2;
240
242
  $rte-big-insert-dialog-label-padding-top: 12px;
@@ -90,7 +90,8 @@ $rte-default-character-count-opacity: 1;
90
90
  $rte-droparea-line-height: 10;
91
91
  $rte-droparea-browsebtn-height: 36px;
92
92
  $rte-droparea-browsebtn-padding: 0 18px;
93
- $rte-droparea-browsebtn-top: -50px;
93
+ $rte-droparea-browsebtn-top: -120px;
94
+ $rte-big-droparea-browsebtn-top: -120px;
94
95
  $rte-insert-dialog-font-size: 15px;
95
96
  $rte-big-insert-dialog-font-size: 15px;
96
97
  $rte-table-popup-tablecell-height: 14px;
@@ -231,7 +232,8 @@ $rte-big-edit-table-dlg-max-height: 373px !default;
231
232
  $toolbar-expand-icon-min-height: 40px !default;
232
233
  $rte-align-caret-icon-min-width: 24px !default;
233
234
  $rte-drop-text-width: 300px !default;
234
- $rte-drop-text-height: 185px !default;
235
+ $rte-drop-text-height: 128px !default;
236
+ $rte-big-drop-text-height: 140px !default;
235
237
  $rte-drop-text-mobile-width: 250px !default;
236
238
  $rte-tbar-default-bg: $content-bg-color-alt1;
237
239
  $rte-big-insert-dialog-label-padding-top: 12px;
@@ -206,13 +206,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
206
206
  $rte-big-table-dlg-max-height: 309px !default;
207
207
  $rte-big-edit-table-dlg-max-height: 400px !default;
208
208
  $rte-drop-text-width: 288px !default;
209
- $rte-drop-text-height: 185px !default;
209
+ $rte-drop-text-height: 128px !default;
210
+ $rte-big-drop-text-height: 140px !default;
210
211
  $rte-drop-text-mobile-width: 238px !default;
211
212
  $rte-tbar-default-bg: $bg-base-0;
212
213
  $rte-droparea-line-height: 10;
213
214
  $rte-droparea-browsebtn-height: 36px;
214
215
  $rte-droparea-browsebtn-padding: 0 18px;
215
- $rte-droparea-browsebtn-top: -50px;
216
+ $rte-droparea-browsebtn-top: -120px;
217
+ $rte-big-droparea-browsebtn-top: -120px;
216
218
  $rte-insert-dialog-font-size: 15px;
217
219
  $rte-big-insert-dialog-font-size: 15px;
218
220
  $rte-table-popup-tablecell-height: 14px;
@@ -202,13 +202,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
202
202
  $rte-big-table-dlg-max-height: 309px !default;
203
203
  $rte-big-edit-table-dlg-max-height: 400px !default;
204
204
  $rte-drop-text-width: 288px !default;
205
- $rte-drop-text-height: 185px !default;
205
+ $rte-drop-text-height: 128px !default;
206
+ $rte-big-drop-text-height: 140px !default;
206
207
  $rte-drop-text-mobile-width: 238px !default;
207
208
  $rte-tbar-default-bg: $bg-base-0;
208
209
  $rte-droparea-line-height: 10;
209
210
  $rte-droparea-browsebtn-height: 36px;
210
211
  $rte-droparea-browsebtn-padding: 0 18px;
211
- $rte-droparea-browsebtn-top: -50px;
212
+ $rte-droparea-browsebtn-top: -120px;
213
+ $rte-big-droparea-browsebtn-top: -120px;
212
214
  $rte-insert-dialog-font-size: 15px;
213
215
  $rte-big-insert-dialog-font-size: 15px;
214
216
  $rte-table-popup-tablecell-height: 14px;
@@ -139,6 +139,11 @@
139
139
  .e-rte-content .e-content {
140
140
  font-size: $rte-big-content-font-size;
141
141
  }
142
+ .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn,
143
+ .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
144
+ .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
145
+ top: $rte-big-droparea-browsebtn-top;
146
+ }
142
147
  }
143
148
 
144
149
  .e-richtexteditor {
@@ -661,6 +666,20 @@
661
666
  }
662
667
  }
663
668
 
669
+ @if $skin-name == 'tailwind' {
670
+ .e-bigger {
671
+ .e-richtexteditor {
672
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
673
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
674
+ padding: 0 8px;
675
+ }
676
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover {
677
+ padding: 0 8px;
678
+ }
679
+ }
680
+ }
681
+ }
682
+
664
683
  .e-rte-linkcontent .e-rte-label {
665
684
  padding-top: $rte-insert-dialog-label-padding-top;
666
685
  }
@@ -853,7 +872,9 @@
853
872
 
854
873
  .e-rte-image.e-imginline,
855
874
  .e-rte-audio.e-audio-inline,
856
- .e-rte-video.e-video-inline {
875
+ .e-rte-video.e-video-inline {
876
+ margin-left: 5px;
877
+ margin-right: 5px;
857
878
  display: inline-block;
858
879
  float: none;
859
880
  max-width: calc(100% - (2 * 5px));
@@ -911,19 +932,19 @@
911
932
  }
912
933
 
913
934
  .e-rte-img-caption.e-imgcenter {
914
- display: block;
935
+ display: contents;
915
936
  margin-left: auto;
916
937
  margin-right: auto;
917
938
  }
918
939
 
919
940
  .e-rte-img-caption.e-imgright {
920
- display: block;
941
+ display: contents;
921
942
  margin-left: auto;
922
943
  margin-right: 0;
923
944
  }
924
945
 
925
946
  .e-rte-img-caption.e-imgleft {
926
- display: block;
947
+ display: contents;
927
948
  margin-left: 0;
928
949
  margin-right: auto;
929
950
  }
@@ -940,7 +961,7 @@
940
961
  }
941
962
 
942
963
  .e-img-caption.e-rte-img-caption.e-imgbreak {
943
- display: block;
964
+ display: contents;
944
965
  }
945
966
 
946
967
  .e-rte-table {
@@ -1111,7 +1132,7 @@
1111
1132
 
1112
1133
  .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
1113
1134
  .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
1114
- top: -130px;
1135
+ top: $rte-droparea-browsebtn-top;
1115
1136
  }
1116
1137
 
1117
1138
  .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn,
@@ -1637,6 +1658,14 @@
1637
1658
  }
1638
1659
  }
1639
1660
  }
1661
+ .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active{
1662
+ .e-rte-numberformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1663
+ .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1664
+ @if $skin-name == 'tailwind' {
1665
+ padding: 1px;
1666
+ }
1667
+ }
1668
+ }
1640
1669
 
1641
1670
  .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1642
1671
  .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
@@ -2018,7 +2047,9 @@
2018
2047
 
2019
2048
  @if $skin-name == 'Material3' {
2020
2049
  .e-rte-toolbar .e-rte-table-popup .e-insert-table-btn{
2021
- border-color: $outline;
2050
+ font-weight: $font-weight;
2051
+ border: 1px solid rgba($info-outline-border);
2052
+ border-radius: 20px;
2022
2053
  }
2023
2054
  .e-dialog .e-dlg-header-content + .e-dlg-content{
2024
2055
  padding-top: 0;
@@ -200,7 +200,8 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
200
200
  $rte-big-table-dlg-max-height: 312px !default;
201
201
  $rte-big-edit-table-dlg-max-height: 385px !default;
202
202
  $rte-drop-text-width: 300px !default;
203
- $rte-drop-text-height: 185px !default;
203
+ $rte-drop-text-height: 128px !default;
204
+ $rte-big-drop-text-height: 140px !default;
204
205
  $rte-drop-text-mobile-width: 250px !default;
205
206
 
206
207
  $rte-quick-toolbar-item-margin: 0 6px !default;
@@ -211,7 +212,8 @@ $rte-tbar-default-bg: $grey-900;
211
212
  $rte-droparea-line-height: 10;
212
213
  $rte-droparea-browsebtn-height: 36px;
213
214
  $rte-droparea-browsebtn-padding: 0 18px;
214
- $rte-droparea-browsebtn-top: -50px;
215
+ $rte-droparea-browsebtn-top: -120px;
216
+ $rte-big-droparea-browsebtn-top: -120px;
215
217
  $rte-insert-dialog-font-size: 15px;
216
218
  $rte-big-insert-dialog-font-size: 15px;
217
219
  $rte-table-popup-tablecell-height: 14px;
@@ -204,13 +204,15 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
204
204
  $rte-big-table-dlg-max-height: 312px !default;
205
205
  $rte-big-edit-table-dlg-max-height: 385px !default;
206
206
  $rte-drop-text-width: 300px !default;
207
- $rte-drop-text-height: 185px !default;
207
+ $rte-drop-text-height: 128px !default;
208
+ $rte-big-drop-text-height: 140px !default;
208
209
  $rte-drop-text-mobile-width: 250px !default;
209
210
  $rte-tbar-default-bg: $grey-50;
210
211
  $rte-droparea-line-height: 10;
211
212
  $rte-droparea-browsebtn-height: 36px;
212
213
  $rte-droparea-browsebtn-padding: 0 18px;
213
- $rte-droparea-browsebtn-top: -50px;
214
+ $rte-droparea-browsebtn-top: -120px;
215
+ $rte-big-droparea-browsebtn-top: -120px;
214
216
  $rte-insert-dialog-font-size: 15px;
215
217
  $rte-big-insert-dialog-font-size: 15px;
216
218
  $rte-table-popup-tablecell-height: 14px;
@@ -88,7 +88,8 @@ $rte-default-character-count-opacity: 1;
88
88
  $rte-droparea-line-height: 10;
89
89
  $rte-droparea-browsebtn-height: 32px;
90
90
  $rte-droparea-browsebtn-padding: 6px 16px;
91
- $rte-droparea-browsebtn-top: -50px;
91
+ $rte-droparea-browsebtn-top: -120px;
92
+ $rte-big-droparea-browsebtn-top: -120px;
92
93
  $rte-inline-dropdown-line-height: 14px !default;
93
94
  $rte-big-inline-dropdown-line-height: 14px !default;
94
95
  $rte-insert-dialog-font-size: 10px;
@@ -231,7 +232,8 @@ $rte-big-edit-table-dlg-max-height: 373px !default;
231
232
  $toolbar-expand-icon-min-height: 40px !default;
232
233
  $rte-align-caret-icon-min-width: 24px !default;
233
234
  $rte-drop-text-width: 280px !default;
234
- $rte-drop-text-height: 185px !default;
235
+ $rte-drop-text-height: 128px !default;
236
+ $rte-big-drop-text-height: 140px !default;
235
237
  $rte-drop-text-mobile-width: 250px !default;
236
238
  $rte-tbar-default-bg: $content-bg-color-alt2 !default;
237
239
  $rte-extended-toolbar-items-padding: 0;
@@ -245,7 +247,7 @@ $rte-big-dropdown-btn-color-content-padding: 9.5px !default;
245
247
  $rte-tb-expended-min-height: 48px !default;
246
248
  $rte-big-tb-expended-min-height: 56px !default;
247
249
  $rte-tb-expended-padding-left: 1px !default;
248
- $rte-tb-expended-hover-padding-left: 0 !default;
250
+ $rte-tb-expended-hover-padding-left: 1px !default;
249
251
  $rte-toolbar-expaned-minwidth: 18px !default;
250
252
 
251
253
  $rte-emoji-pop-background: $flyout-bg-color;
@@ -4,7 +4,7 @@ $rte-2px-border-size: 2px !default;
4
4
  $rte-border-type: solid !default;
5
5
  $rte-list-btn-flex: column !default;
6
6
  $rte-list-btn-line-height: 30px !default;
7
- $rte-big-list-btn-line-height: 36px !default;
7
+ $rte-big-list-btn-line-height: 38px !default;
8
8
  $rte-split-btn-line-height: 30px !default;
9
9
  $rte-big-split-btn-line-height: 38px !default;
10
10
  $rte-big-quick-item-btn-width: 38px !default;
@@ -34,7 +34,7 @@ $rte-big-tb-items-margin-left: 3px !default;
34
34
  $rte-tb-items-margin-left: 7px !default;
35
35
  $rte-big-tb-items-padding-left: 3px !default;
36
36
  $rte-tb-items-padding-left: 7px !default;
37
- $rte-active-tb-item-btn-padding: 0 !default;
37
+ $rte-active-tb-item-btn-padding: 0 4px !default;
38
38
  $rte-split-btn-bar-size: 0 !default;
39
39
  $rte-split-btn-active-color-icon-line-height: 30px !default;
40
40
  $rte-big-split-btn-active-color-icon-line-height: 35px !default;
@@ -45,17 +45,17 @@ $rte-drop-btn-padding-left: 7px !default;
45
45
  $dropdown-btn-font-size: $text-sm;
46
46
  $dropdown-btn-big-font-size: $text-base;
47
47
  $rte-drop-btn-padding-right: 2.5px !default;
48
- $rte-drop-btn-action-padding-left: 6px !default;
49
- $rte-drop-btn-action-padding-right: 1.5px !default;
48
+ $rte-drop-btn-action-padding-left: 7px !default;
49
+ $rte-drop-btn-action-padding-right: 2.5px !default;
50
50
  $rte-big-drop-btn-padding-left: 10px !default;
51
51
  $rte-big-drop-btn-padding-right: 6px !default;
52
- $rte-big-drop-btn-action-padding-left: 9px !default;
53
- $rte-big-drop-btn-action-padding-right: 5px !default;
54
- $rte-colorpicker-parent-padding: .8px !default;
55
- $rte-colorpicker-parent-padding-hover: 0 !default;
52
+ $rte-big-drop-btn-action-padding-left: 10px !default;
53
+ $rte-big-drop-btn-action-padding-right: 6px !default;
54
+ $rte-colorpicker-parent-padding: 1px !default;
55
+ $rte-colorpicker-parent-padding-hover: 1px !default;
56
56
  $rte-colorpicker-parent-padding-active-hover: 0 !default;
57
57
  $rte-dropdown-btn-color-content-height: 30px !default;
58
- $rte-big-dropdown-btn-color-content-height: 36px !default;
58
+ $rte-big-dropdown-btn-color-content-height: 38px !default;
59
59
  $rte-font-icon-width: 30px !default;
60
60
  $rte-font-arrow-width: 18px !default;
61
61
  $rte-font-arrow-touch-width: 20px !default;
@@ -63,7 +63,7 @@ $rte-font-icon-line-height: $leading-none !default;
63
63
  $rte-placeholder-line-height: $leading-normal !default;
64
64
  $rte-big-active-tb-item-btn-padding: 0 6px !default;
65
65
  $rte-table-popup-padding: 18px 18px 8px 22px !default;
66
- $rte-table-popup-border: 1px solid $cool-gray-600 !default;
66
+ $rte-table-popup-border: 1px solid $cool-gray-300 !default;
67
67
  $rte-insert-dialog-label-padding-top: 12px !default;
68
68
  $rte-insert-dialog-label-padding-bottom: 3px !default;
69
69
  $rte-big-quick-tbar-item-min-height: 38px !default;
@@ -85,13 +85,14 @@ $rte-big-inline-tmp-size-min-width: 59px;
85
85
  $rte-inline-tmp-size-min-width: 66px;
86
86
  $rte-big-inline-tmp-color-min-width: 50px;
87
87
  $rte-inline-tmp-color-min-width: 55px;
88
- $rte-big-color-list-span-common-padding-left-right: 0;
88
+ $rte-big-color-list-span-common-padding-left-right: 1px;
89
89
  $rte-placeholder-padding: 12px !default;
90
90
  $rte-default-character-count-opacity: 1;
91
91
  $rte-droparea-line-height: 10;
92
92
  $rte-droparea-browsebtn-height: 36px;
93
93
  $rte-droparea-browsebtn-padding: 0 18px;
94
- $rte-droparea-browsebtn-top: -50px;
94
+ $rte-droparea-browsebtn-top: -120px;
95
+ $rte-big-droparea-browsebtn-top: -120px;
95
96
  $rte-insert-dialog-font-size: 15px;
96
97
  $rte-big-insert-dialog-font-size: 15px;
97
98
  $rte-table-popup-tablecell-height: 14px;
@@ -103,10 +104,10 @@ $rte-big-tablecell-height : 16px;
103
104
  $rte-big-tablecell-width : 16px;
104
105
  $rte-toolbar-item-frist-last-child-margin: 0;
105
106
  $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
106
- $rte-toolbar-expaned-padding: 0 5px;
107
+ $rte-toolbar-expaned-padding: 0 4px;
107
108
  $rte-toolbar-expaned-padding-hover: 0 4px;
108
109
  $rte-formatlists-dropdown-line-height: 20px;
109
- $rte-big-formatlists-dropdown-line-height: 30px;
110
+ $rte-big-formatlists-dropdown-line-height: 35px;
110
111
 
111
112
  //Layout Variables End
112
113
 
@@ -124,7 +125,7 @@ $rte-img-popup-box-shadow: $shadow !default;
124
125
  $rte-img-popup-color: $border-light !default;
125
126
  $rte-quick-item-active-bg: $secondary-bg-color-pressed !default;
126
127
  $rte-quick-item-active-font-color: $icon-color !default;
127
- $rte-quick-item-border: 0 !default;
128
+ $rte-quick-item-border: 1px solid transparent !default;
128
129
  $rte-quick-item-hover-border-color: $secondary-border-color-hover !default;
129
130
  $rte-quick-item-active-border-color: $secondary-border-color-pressed !default;
130
131
  $rte-quick-drop-btn-border-color: $content-bg-color-alt2 !default;
@@ -139,7 +140,7 @@ $rte-quick-pop-item-focus-bg: $secondary-bg-color-pressed !default;
139
140
  $rte-quick-tb-btn-hover: $secondary-bg-color-pressed !default;
140
141
  $rte-tb-item-active-bg: $secondary-bg-color-pressed !default;
141
142
  $rte-tb-active-font-color: $icon-color !default;
142
- $rte-tb-item-active-border: 1px solid $secondary-border-color-pressed !default;
143
+ $rte-tb-item-active-border: 0 solid $secondary-border-color-pressed !default;
143
144
  $rte-expand-tb-border-bottom: $rte-border-size $rte-border-type $border-light !default;
144
145
  $rte-color-picker-active-bg: inherit !default;
145
146
  $rte-drop-btn-active-bg: $secondary-bg-color-pressed !default;
@@ -200,7 +201,7 @@ $rte-border-bottom-right-radius: 0;
200
201
  $rte-border-bottom-left-radius: 0;
201
202
  $rte-big-border-radius: 0;
202
203
  $rte-extended-toolbar-items-padding: 0;
203
- $rte-expand-tbar-hover-bg: $content-bg-color-alt3 !default;
204
+ $rte-expand-tbar-hover-bg: $content-bg-color-alt1 !default;
204
205
 
205
206
  //Theme Variables End
206
207
 
@@ -227,13 +228,14 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
227
228
  $rte-big-table-dlg-max-height: 283px !default;
228
229
  $rte-big-edit-table-dlg-max-height: 388px !default;
229
230
  $rte-drop-text-width: 300px !default;
230
- $rte-drop-text-height: 185px !default;
231
+ $rte-drop-text-height: 128px !default;
232
+ $rte-big-drop-text-height: 140px !default;
231
233
  $rte-drop-text-mobile-width: 250px !default;
232
234
  $rte-tbar-default-bg: $content-bg-color-alt2;
233
235
  $rte-big-insert-dialog-label-padding-top: 12px;
234
236
  $rte-tbar-icon-size: 20px;
235
237
  $rte-dropdown-btn-color-content-padding: 1px !default;
236
- $rte-big-dropdown-btn-color-content-padding: 1px !default;
238
+ $rte-big-dropdown-btn-color-content-padding: 0 !default;
237
239
  $rte-tb-expended-min-height: 40px !default;
238
240
  $rte-big-tb-expended-min-height: 48px !default;
239
241
  $rte-tb-expended-padding-left: 1px !default;