@syncfusion/ej2-richtexteditor 24.2.9 → 25.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.
- package/CHANGELOG.md +18 -0
- package/dist/ej2-richtexteditor.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +908 -485
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +892 -474
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +2 -2
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +13 -13
- package/src/common/config.d.ts +7 -0
- package/src/common/config.js +11 -0
- package/src/common/interface.d.ts +12 -0
- package/src/common/types.d.ts +6 -0
- package/src/editor-manager/plugin/dom-node.d.ts +5 -1
- package/src/editor-manager/plugin/dom-node.js +161 -12
- package/src/editor-manager/plugin/formats.js +1 -1
- package/src/editor-manager/plugin/image.js +12 -16
- package/src/editor-manager/plugin/inserthtml.d.ts +1 -0
- package/src/editor-manager/plugin/inserthtml.js +31 -0
- package/src/editor-manager/plugin/link.js +1 -1
- package/src/editor-manager/plugin/lists.js +24 -2
- package/src/editor-manager/plugin/ms-word-clean-up.js +65 -57
- package/src/editor-manager/plugin/selection-commands.js +52 -3
- package/src/editor-manager/plugin/table.js +18 -3
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +17 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-quick-toolbar.js +41 -10
- package/src/rich-text-editor/actions/base-toolbar.js +24 -30
- package/src/rich-text-editor/actions/dropdown-buttons.js +4 -4
- package/src/rich-text-editor/actions/emoji-picker.js +1 -1
- package/src/rich-text-editor/actions/enter-key.js +2 -1
- package/src/rich-text-editor/actions/full-screen.js +2 -2
- package/src/rich-text-editor/actions/html-editor.d.ts +0 -2
- package/src/rich-text-editor/actions/html-editor.js +8 -26
- package/src/rich-text-editor/actions/markdown-editor.js +3 -1
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -0
- package/src/rich-text-editor/actions/paste-clean-up.js +23 -0
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +7 -0
- package/src/rich-text-editor/actions/quick-toolbar.js +23 -8
- package/src/rich-text-editor/actions/resize.js +2 -1
- package/src/rich-text-editor/actions/toolbar.d.ts +0 -2
- package/src/rich-text-editor/actions/toolbar.js +13 -85
- package/src/rich-text-editor/base/classes.d.ts +0 -5
- package/src/rich-text-editor/base/classes.js +0 -5
- package/src/rich-text-editor/base/constant.d.ts +5 -0
- package/src/rich-text-editor/base/constant.js +5 -0
- package/src/rich-text-editor/base/interface.d.ts +36 -2
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +2 -2
- package/src/rich-text-editor/base/rich-text-editor.d.ts +4 -3
- package/src/rich-text-editor/base/rich-text-editor.js +81 -58
- package/src/rich-text-editor/base/util.js +8 -2
- package/src/rich-text-editor/models/default-locale.js +15 -12
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.js +1 -1
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +2 -1
- package/src/rich-text-editor/renderer/image-module.d.ts +8 -1
- package/src/rich-text-editor/renderer/image-module.js +148 -155
- package/src/rich-text-editor/renderer/table-module.d.ts +2 -0
- package/src/rich-text-editor/renderer/table-module.js +71 -8
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +3 -0
- package/src/rich-text-editor/renderer/toolbar-renderer.js +61 -2
- package/src/rich-text-editor/renderer/video-module.js +7 -4
- package/src/rich-text-editor/renderer/view-source.js +7 -4
- package/styles/bootstrap-dark.css +57 -17
- package/styles/bootstrap.css +58 -18
- package/styles/bootstrap4.css +58 -18
- package/styles/bootstrap5-dark.css +64 -17
- package/styles/bootstrap5.css +64 -17
- package/styles/fabric-dark.css +57 -17
- package/styles/fabric.css +58 -18
- package/styles/fluent-dark.css +57 -17
- package/styles/fluent.css +57 -17
- package/styles/highcontrast-light.css +57 -17
- package/styles/highcontrast.css +58 -18
- package/styles/material-dark.css +57 -17
- package/styles/material.css +57 -17
- package/styles/material3-dark.css +59 -19
- package/styles/material3.css +59 -19
- package/styles/rich-text-editor/_bds-definition.scss +279 -0
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +1 -0
- package/styles/rich-text-editor/_bootstrap-definition.scss +1 -1
- package/styles/rich-text-editor/_bootstrap4-definition.scss +3 -2
- package/styles/rich-text-editor/_bootstrap5-definition.scss +1 -0
- package/styles/rich-text-editor/_fabric-dark-definition.scss +1 -0
- package/styles/rich-text-editor/_fabric-definition.scss +2 -1
- package/styles/rich-text-editor/_fluent-definition.scss +1 -0
- package/styles/rich-text-editor/_fusionnew-definition.scss +1 -0
- package/styles/rich-text-editor/_highcontrast-definition.scss +2 -1
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +1 -0
- package/styles/rich-text-editor/_layout.scss +47 -13
- package/styles/rich-text-editor/_material-dark-definition.scss +1 -0
- package/styles/rich-text-editor/_material-definition.scss +1 -0
- package/styles/rich-text-editor/_material3-definition.scss +1 -0
- package/styles/rich-text-editor/_tailwind-definition.scss +4 -3
- package/styles/rich-text-editor/_theme.scss +18 -5
- package/styles/rich-text-editor/bootstrap-dark.css +57 -17
- package/styles/rich-text-editor/bootstrap.css +58 -18
- package/styles/rich-text-editor/bootstrap4.css +58 -18
- package/styles/rich-text-editor/bootstrap5-dark.css +64 -17
- package/styles/rich-text-editor/bootstrap5.css +64 -17
- package/styles/rich-text-editor/fabric-dark.css +57 -17
- package/styles/rich-text-editor/fabric.css +58 -18
- package/styles/rich-text-editor/fluent-dark.css +57 -17
- package/styles/rich-text-editor/fluent.css +57 -17
- package/styles/rich-text-editor/highcontrast-light.css +57 -17
- package/styles/rich-text-editor/highcontrast.css +58 -18
- package/styles/rich-text-editor/icons/_bds.scss +351 -0
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +7 -4
- package/styles/rich-text-editor/icons/_bootstrap.scss +7 -4
- package/styles/rich-text-editor/icons/_bootstrap4.scss +7 -4
- package/styles/rich-text-editor/icons/_bootstrap5.scss +7 -4
- package/styles/rich-text-editor/icons/_fabric-dark.scss +7 -4
- package/styles/rich-text-editor/icons/_fabric.scss +7 -4
- package/styles/rich-text-editor/icons/_fluent.scss +7 -4
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +7 -4
- package/styles/rich-text-editor/icons/_highcontrast.scss +7 -4
- package/styles/rich-text-editor/icons/_material-dark.scss +7 -4
- package/styles/rich-text-editor/icons/_material.scss +7 -4
- package/styles/rich-text-editor/icons/_material3.scss +7 -4
- package/styles/rich-text-editor/icons/_tailwind.scss +7 -4
- package/styles/rich-text-editor/material-dark.css +57 -17
- package/styles/rich-text-editor/material.css +57 -17
- package/styles/rich-text-editor/material3-dark.css +59 -19
- package/styles/rich-text-editor/material3.css +59 -19
- package/styles/rich-text-editor/tailwind-dark.css +61 -21
- package/styles/rich-text-editor/tailwind.css +61 -21
- package/styles/tailwind-dark.css +61 -21
- package/styles/tailwind.css +61 -21
|
@@ -231,7 +231,7 @@ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
|
231
231
|
$rte-toolbar-expaned-padding: 2px 3.5px;
|
|
232
232
|
$dropdown-btn-font-size: inherit !default;
|
|
233
233
|
$rte-toolbar-expaned-padding-hover: 1px 2.5px;
|
|
234
|
-
$rte-toolbar-expaned-padding
|
|
234
|
+
$rte-big-toolbar-expaned-padding: 0 7px;
|
|
235
235
|
$rte-extended-toolbar-items-padding: 0;
|
|
236
236
|
$rte-expand-tbar-hover-bg: $grey-e6 !default;
|
|
237
237
|
$rte-big-insert-dialog-label-padding-top: 12px;
|
|
@@ -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:1px solid 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;
|
|
@@ -225,6 +225,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
|
|
|
225
225
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
226
226
|
$rte-toolbar-expaned-padding: 0 3px;
|
|
227
227
|
$rte-toolbar-expaned-padding-hover: 0 3px;
|
|
228
|
+
$rte-big-toolbar-expaned-padding: 0;
|
|
228
229
|
$dropdown-btn-font-size: 14px !default;
|
|
229
230
|
$rte-extended-toolbar-items-padding: 0;
|
|
230
231
|
$rte-expand-tbar-hover-bg: $gray-600 !default;
|
|
@@ -238,7 +239,7 @@ $rte-tb-expended-min-height: 38px !default;
|
|
|
238
239
|
$rte-big-tb-expended-min-height: 54px !default;
|
|
239
240
|
$rte-tb-expended-padding-left: 1px !default;
|
|
240
241
|
$rte-tb-expended-hover-padding-left: 1px !default;
|
|
241
|
-
$rte-toolbar-expaned-minwidth:
|
|
242
|
+
$rte-toolbar-expaned-minwidth: 100% !default;
|
|
242
243
|
|
|
243
244
|
$rte-emoji-pop-background: $content-popup-bg;
|
|
244
245
|
$rte-emoji-pop-box-shadow: drop-shadow(0 0 6px rgba(0, 0, 0, .25));
|
|
@@ -104,6 +104,7 @@ $rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
|
104
104
|
$rte-tlbar-expand-active:$msg-color-alt2;
|
|
105
105
|
$rte-toolbar-expaned-padding: 0 4px;
|
|
106
106
|
$rte-toolbar-expaned-padding-hover: 0 4px;
|
|
107
|
+
$rte-big-toolbar-expaned-padding: 0 8px;
|
|
107
108
|
$rte-inline-dropdown-line-height: 30px !default;
|
|
108
109
|
$rte-big-inline-dropdown-line-height: 36px !default;
|
|
109
110
|
$rte-formatlists-dropdown-line-height: 1;
|
|
@@ -229,6 +229,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
|
|
|
229
229
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
230
230
|
$rte-toolbar-expaned-padding: 0;
|
|
231
231
|
$rte-toolbar-expaned-padding-hover: 0;
|
|
232
|
+
$rte-big-toolbar-expaned-padding: 0;
|
|
232
233
|
$dropdown-btn-font-size: inherit !default;
|
|
233
234
|
$rte-extended-toolbar-items-padding: 0;
|
|
234
235
|
$rte-expand-tbar-hover-bg: $neutral-light !default;
|
|
@@ -228,6 +228,7 @@ $rte-big-tablecell-width : 16px;
|
|
|
228
228
|
$rte-toolbar-item-frist-last-child-margin: 0;
|
|
229
229
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
230
230
|
$rte-toolbar-expaned-padding: 0;
|
|
231
|
+
$rte-big-toolbar-expaned-padding: 0;
|
|
231
232
|
$rte-toolbar-expaned-padding-hover: 0;
|
|
232
233
|
$dropdown-btn-font-size: inherit !default;
|
|
233
234
|
$rte-extended-toolbar-items-padding: 0;
|
|
@@ -242,7 +243,7 @@ $rte-tb-expended-min-height: 40px !default;
|
|
|
242
243
|
$rte-big-tb-expended-min-height: 50px !default;
|
|
243
244
|
$rte-tb-expended-padding-left: 1px !default;
|
|
244
245
|
$rte-tb-expended-hover-padding-left: 1px !default;
|
|
245
|
-
$rte-toolbar-expaned-minwidth:
|
|
246
|
+
$rte-toolbar-expaned-minwidth: 100% !default;
|
|
246
247
|
|
|
247
248
|
$rte-emoji-pop-background: $neutral-white;
|
|
248
249
|
$rte-emoji-pop-box-shadow: 0 0 6px rgba(0, 0, 0, .25);
|
|
@@ -107,6 +107,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
|
|
|
107
107
|
$rte-big-toolbar-item-frist-last-child-margin: 0 3px;
|
|
108
108
|
$rte-toolbar-expaned-padding: 0 4px;
|
|
109
109
|
$rte-toolbar-expaned-padding-hover: 0 4px;
|
|
110
|
+
$rte-big-toolbar-expaned-padding: 0 8px;
|
|
110
111
|
$rte-inline-dropdown-line-height: 40px !default;
|
|
111
112
|
$rte-big-inline-dropdown-line-height: 48px !default;
|
|
112
113
|
$rte-formatlists-dropdown-line-height: 20px;
|
|
@@ -104,6 +104,7 @@ $rte-big-tablecell-width : 16px;
|
|
|
104
104
|
$rte-toolbar-item-frist-last-child-margin: 0;
|
|
105
105
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
106
106
|
$rte-toolbar-expaned-padding: 0 4px;
|
|
107
|
+
$rte-big-toolbar-expaned-padding: 0 4px;
|
|
107
108
|
$rte-toolbar-expaned-padding-hover: 0 4px;
|
|
108
109
|
$rte-formatlists-dropdown-line-height: 1;
|
|
109
110
|
$rte-big-formatlists-dropdown-line-height: 1;
|
|
@@ -232,6 +232,7 @@ $rte-big-tablecell-width : 16px;
|
|
|
232
232
|
$rte-toolbar-item-frist-last-child-margin: 0;
|
|
233
233
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
234
234
|
$rte-toolbar-expaned-padding: 0;
|
|
235
|
+
$rte-big-toolbar-expaned-padding: 0;
|
|
235
236
|
$rte-toolbar-expaned-padding-hover: 0;
|
|
236
237
|
$dropdown-btn-font-size: inherit !default;
|
|
237
238
|
$rte-extended-toolbar-items-padding: 0;
|
|
@@ -242,7 +243,7 @@ $rte-background-color-icon-fontsize: 14px;
|
|
|
242
243
|
$rte-big-background-color-icon-fontsize: 18px;
|
|
243
244
|
$rte-dropdown-btn-color-content-padding: 0 !default;
|
|
244
245
|
$rte-big-dropdown-btn-color-content-padding: 1px !default;
|
|
245
|
-
$rte-toolbar-expaned-minwidth:
|
|
246
|
+
$rte-toolbar-expaned-minwidth: 100% !default;
|
|
246
247
|
|
|
247
248
|
$rte-emoji-pop-background: $bg-base-0;
|
|
248
249
|
$rte-emoji-pop-box-shadow: none;
|
|
@@ -228,6 +228,7 @@ $rte-big-tablecell-width : 16px;
|
|
|
228
228
|
$rte-toolbar-item-frist-last-child-margin: 0;
|
|
229
229
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
230
230
|
$rte-toolbar-expaned-padding: 0;
|
|
231
|
+
$rte-big-toolbar-expaned-padding: 0;
|
|
231
232
|
$rte-toolbar-expaned-padding-hover: 0;
|
|
232
233
|
$dropdown-btn-font-size: inherit !default;
|
|
233
234
|
$rte-extended-toolbar-items-padding: 0;
|
|
@@ -144,6 +144,12 @@
|
|
|
144
144
|
.e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
|
|
145
145
|
top: $rte-big-droparea-browsebtn-top;
|
|
146
146
|
}
|
|
147
|
+
.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control{
|
|
148
|
+
padding: $rte-big-toolbar-expaned-padding;
|
|
149
|
+
&:hover {
|
|
150
|
+
padding: $rte-big-toolbar-expaned-padding;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
147
153
|
}
|
|
148
154
|
|
|
149
155
|
.e-richtexteditor {
|
|
@@ -403,15 +409,6 @@
|
|
|
403
409
|
z-index: 101;
|
|
404
410
|
}
|
|
405
411
|
}
|
|
406
|
-
|
|
407
|
-
&.e-rte-tb-float {
|
|
408
|
-
position: fixed;
|
|
409
|
-
top: 0;
|
|
410
|
-
|
|
411
|
-
&.e-rte-tb-abs-float {
|
|
412
|
-
position: absolute;
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
412
|
}
|
|
416
413
|
|
|
417
414
|
.rte-placeholder {
|
|
@@ -441,6 +438,8 @@
|
|
|
441
438
|
width: 100%;
|
|
442
439
|
|
|
443
440
|
.e-content {
|
|
441
|
+
width: 100%;
|
|
442
|
+
float: left;
|
|
444
443
|
background: unset;
|
|
445
444
|
box-sizing: border-box;
|
|
446
445
|
height: 100%;
|
|
@@ -461,6 +460,11 @@
|
|
|
461
460
|
.e-content li {
|
|
462
461
|
margin-bottom: 10px;
|
|
463
462
|
}
|
|
463
|
+
|
|
464
|
+
.e-content li ol,
|
|
465
|
+
.e-content li ul {
|
|
466
|
+
margin-block-start: 10px;
|
|
467
|
+
}
|
|
464
468
|
|
|
465
469
|
.e-content h1 {
|
|
466
470
|
font-size: 2.17em;
|
|
@@ -562,6 +566,7 @@
|
|
|
562
566
|
position: absolute;
|
|
563
567
|
right: 0;
|
|
564
568
|
z-index: 100;
|
|
569
|
+
pointer-events: none;
|
|
565
570
|
|
|
566
571
|
&.e-warning {
|
|
567
572
|
color: $rte-warning-character-count-color;
|
|
@@ -950,13 +955,11 @@
|
|
|
950
955
|
}
|
|
951
956
|
|
|
952
957
|
.e-rte-img-caption .e-rte-image.e-imgright {
|
|
953
|
-
float: none;
|
|
954
958
|
margin-left: auto;
|
|
955
959
|
margin-right: 0;
|
|
956
960
|
}
|
|
957
961
|
|
|
958
962
|
.e-rte-img-caption .e-rte-image.e-imgleft {
|
|
959
|
-
float: none;
|
|
960
963
|
margin: 0;
|
|
961
964
|
}
|
|
962
965
|
|
|
@@ -975,6 +978,7 @@
|
|
|
975
978
|
height: 20px;
|
|
976
979
|
min-width: 20px;
|
|
977
980
|
padding: 2px 5px;
|
|
981
|
+
box-sizing: border-box;
|
|
978
982
|
}
|
|
979
983
|
|
|
980
984
|
.e-rte-table.e-dashed-border td,
|
|
@@ -995,13 +999,20 @@
|
|
|
995
999
|
}
|
|
996
1000
|
|
|
997
1001
|
.e-rte-img-caption.e-imgleft .e-img-inner {
|
|
1002
|
+
float: left;
|
|
998
1003
|
text-align: left;
|
|
999
1004
|
}
|
|
1000
1005
|
|
|
1001
1006
|
.e-rte-img-caption.e-imgright .e-img-inner {
|
|
1007
|
+
float: right;
|
|
1002
1008
|
text-align: right;
|
|
1003
1009
|
}
|
|
1004
1010
|
|
|
1011
|
+
.e-rte-img-caption.e-imgleft .e-img-wrap,
|
|
1012
|
+
.e-rte-img-caption.e-imgright .e-img-wrap {
|
|
1013
|
+
display: contents;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1005
1016
|
.e-rte-img-caption .e-img-wrap {
|
|
1006
1017
|
display: inline-block;
|
|
1007
1018
|
margin: auto;
|
|
@@ -1224,7 +1235,7 @@
|
|
|
1224
1235
|
.e-rte-content .e-content table td.e-cell-select,
|
|
1225
1236
|
.e-rte-content .e-content table th.e-cell-select {
|
|
1226
1237
|
border: 1px double $rte-table-select-border-color;
|
|
1227
|
-
height:
|
|
1238
|
+
height: inherit;
|
|
1228
1239
|
}
|
|
1229
1240
|
|
|
1230
1241
|
span.e-table-box {
|
|
@@ -2057,7 +2068,7 @@
|
|
|
2057
2068
|
}
|
|
2058
2069
|
|
|
2059
2070
|
@if $skin-name == 'Material3' {
|
|
2060
|
-
.e-
|
|
2071
|
+
.e-richtexteditor .e-rte-table-popup .e-insert-table-btn {
|
|
2061
2072
|
font-weight: $font-weight;
|
|
2062
2073
|
border: 1px solid rgba($info-outline-border);
|
|
2063
2074
|
border-radius: 20px;
|
|
@@ -2221,4 +2232,27 @@
|
|
|
2221
2232
|
visibility: hidden;
|
|
2222
2233
|
}
|
|
2223
2234
|
// Blazor styles end
|
|
2235
|
+
|
|
2236
|
+
.e-richtexteditor {
|
|
2237
|
+
.e-toolbar-wrapper.e-rte-tb-float,
|
|
2238
|
+
.e-toolbar-container.e-rte-tb-float {
|
|
2239
|
+
position: sticky;
|
|
2240
|
+
top: 0;
|
|
2241
|
+
overflow: visible;
|
|
2242
|
+
}
|
|
2243
|
+
.e-toolbar-wrapper,
|
|
2244
|
+
.e-toolbar-container {
|
|
2245
|
+
height: auto;
|
|
2246
|
+
z-index: 10;
|
|
2247
|
+
}
|
|
2248
|
+
.e-toolbar .e-toolbar-pop.e-toolbar-extended {
|
|
2249
|
+
position: relative;
|
|
2250
|
+
width: 100%;
|
|
2251
|
+
top: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2252
|
+
left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2253
|
+
}
|
|
2254
|
+
.e-toolbar .e-toolbar-pop.e-toolbar-extended.e-popup-open {
|
|
2255
|
+
display: block;
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2224
2258
|
}
|
|
@@ -232,6 +232,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
|
|
|
232
232
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
233
233
|
$rte-toolbar-expaned-padding: 0 1.5px;
|
|
234
234
|
$rte-toolbar-expaned-padding-hover: 0 1.5px;
|
|
235
|
+
$rte-big-toolbar-expaned-padding: 0 6px;
|
|
235
236
|
$dropdown-btn-font-size: inherit !default;
|
|
236
237
|
$rte-extended-toolbar-items-padding: 0;
|
|
237
238
|
$rte-expand-tbar-hover-bg: rgba($grey-white, .1) !default;
|
|
@@ -231,6 +231,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
|
|
|
231
231
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
232
232
|
$rte-toolbar-expaned-padding: 0 1.5px;
|
|
233
233
|
$rte-toolbar-expaned-padding-hover: 0 1.5px;
|
|
234
|
+
$rte-big-toolbar-expaned-padding: 0 6px;
|
|
234
235
|
$dropdown-btn-font-size: inherit !default;
|
|
235
236
|
$rte-extended-toolbar-items-padding: 0;
|
|
236
237
|
$rte-expand-tbar-hover-bg: rgba($grey-black, .12) !default;
|
|
@@ -105,6 +105,7 @@ $rte-toolbar-item-frist-last-child-margin: 0;
|
|
|
105
105
|
$rte-big-toolbar-item-frist-last-child-margin: 0;
|
|
106
106
|
$rte-toolbar-expaned-padding: 0 7px;
|
|
107
107
|
$rte-toolbar-expaned-padding-hover: 0 7px;
|
|
108
|
+
$rte-big-toolbar-expaned-padding: 0 10px;
|
|
108
109
|
$rte-formatlists-dropdown-line-height: 1;
|
|
109
110
|
$rte-big-formatlists-dropdown-line-height: 1;
|
|
110
111
|
$rte-quick-toolbar-item-margin: 0 8px !default;
|
|
@@ -61,7 +61,7 @@ $rte-font-arrow-width: 18px !default;
|
|
|
61
61
|
$rte-font-arrow-touch-width: 20px !default;
|
|
62
62
|
$rte-font-icon-line-height: $leading-none !default;
|
|
63
63
|
$rte-placeholder-line-height: $leading-normal !default;
|
|
64
|
-
$rte-big-active-tb-item-btn-padding: 0
|
|
64
|
+
$rte-big-active-tb-item-btn-padding: 0 8px !default;
|
|
65
65
|
$rte-table-popup-padding: 18px 18px 8px 22px !default;
|
|
66
66
|
$rte-table-popup-border: 1px solid $cool-gray-300 !default;
|
|
67
67
|
$rte-insert-dialog-label-padding-top: 12px !default;
|
|
@@ -105,6 +105,7 @@ $rte-big-tablecell-width : 16px;
|
|
|
105
105
|
$rte-toolbar-item-frist-last-child-margin: 0;
|
|
106
106
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
107
107
|
$rte-toolbar-expaned-padding: 0 4px;
|
|
108
|
+
$rte-big-toolbar-expaned-padding: 0 8px;
|
|
108
109
|
$rte-toolbar-expaned-padding-hover: 0 4px;
|
|
109
110
|
$rte-formatlists-dropdown-line-height: 20px;
|
|
110
111
|
$rte-big-formatlists-dropdown-line-height: 35px;
|
|
@@ -140,7 +141,7 @@ $rte-quick-pop-item-focus-bg: $secondary-bg-color-pressed !default;
|
|
|
140
141
|
$rte-quick-tb-btn-hover: $secondary-bg-color-pressed !default;
|
|
141
142
|
$rte-tb-item-active-bg: $secondary-bg-color-pressed !default;
|
|
142
143
|
$rte-tb-active-font-color: $icon-color !default;
|
|
143
|
-
$rte-tb-item-active-border:
|
|
144
|
+
$rte-tb-item-active-border: 1px solid $secondary-border-color-pressed !default;
|
|
144
145
|
$rte-expand-tb-border-bottom: $rte-border-size $rte-border-type $border-light !default;
|
|
145
146
|
$rte-color-picker-active-bg: inherit !default;
|
|
146
147
|
$rte-drop-btn-active-bg: $secondary-bg-color-pressed !default;
|
|
@@ -158,7 +159,7 @@ $rte-split-btn-span-active-bg: $secondary-bg-color-pressed !default;
|
|
|
158
159
|
$rte-split-btn-bar-bg: $content-bg-color-alt1 !default;
|
|
159
160
|
$rte-split-btn-active-bar-bg: $content-bg-color !default;
|
|
160
161
|
$rte-split-btn-bar-size: 0 !default;
|
|
161
|
-
$rte-split-btn-active-border:
|
|
162
|
+
$rte-split-btn-active-border: 0 solid $secondary-border-color-hover !default;
|
|
162
163
|
$rte-split-btn-active-color-icon-line-height: 30px !default;
|
|
163
164
|
$rte-big-split-btn-active-color-icon-line-height: 38px !default;
|
|
164
165
|
|
|
@@ -187,6 +187,11 @@
|
|
|
187
187
|
.e-toolbar-wrapper .e-rte-toolbar:not(.e-rte-tb-float) {
|
|
188
188
|
border-bottom: 1px solid $rte-border-color;
|
|
189
189
|
}
|
|
190
|
+
|
|
191
|
+
.e-toolbar-wrapper.e-rte-tb-float .e-rte-toolbar {
|
|
192
|
+
border-top: 1px solid $rte-border-color;
|
|
193
|
+
}
|
|
194
|
+
|
|
190
195
|
.e-toolbar-wrapper + .e-rte-toolbar:not(.e-rte-tb-float) {
|
|
191
196
|
border: 0;
|
|
192
197
|
}
|
|
@@ -529,7 +534,7 @@
|
|
|
529
534
|
.e-dialog .e-vid-uploadwrap .e-droptext {
|
|
530
535
|
height: $rte-drop-text-height;
|
|
531
536
|
}
|
|
532
|
-
|
|
537
|
+
|
|
533
538
|
.e-bigger .e-richtexteditor {
|
|
534
539
|
.e-dialog .e-img-uploadwrap .e-droptext,
|
|
535
540
|
.e-dialog .e-aud-uploadwrap .e-droptext,
|
|
@@ -537,7 +542,7 @@
|
|
|
537
542
|
height: $rte-big-drop-text-height;
|
|
538
543
|
}
|
|
539
544
|
}
|
|
540
|
-
|
|
545
|
+
|
|
541
546
|
.e-dialog.e-device.e-dlg-modal .e-img-uploadwrap .e-droptext,
|
|
542
547
|
.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap .e-droptext,
|
|
543
548
|
.e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap .e-droptext {
|
|
@@ -614,7 +619,7 @@
|
|
|
614
619
|
.e-dropdown-popup {
|
|
615
620
|
& ul {
|
|
616
621
|
& .e-item.e-active {
|
|
617
|
-
background
|
|
622
|
+
background: $rte-dropdown-selection-bgcolor;
|
|
618
623
|
color: $rte-dropdown-selection-color;
|
|
619
624
|
}
|
|
620
625
|
}
|
|
@@ -711,6 +716,11 @@
|
|
|
711
716
|
& .e-tbar-btn:hover .e-icons {
|
|
712
717
|
color: $rte-quick-item-active-font-color;
|
|
713
718
|
}
|
|
719
|
+
@if $skin-name == 'bootstrap5' {
|
|
720
|
+
& .e-tbar-btn:hover {
|
|
721
|
+
color: $rte-quick-item-active-font-color;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
714
724
|
}
|
|
715
725
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-active .e-icons {
|
|
716
726
|
color: $rte-tlbar-expand-active;
|
|
@@ -828,7 +838,7 @@
|
|
|
828
838
|
.e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn{
|
|
829
839
|
border: 1px solid $transparent;
|
|
830
840
|
}
|
|
831
|
-
|
|
841
|
+
|
|
832
842
|
.e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn:focus {
|
|
833
843
|
border: 1px solid $transparent;
|
|
834
844
|
}
|
|
@@ -843,6 +853,9 @@
|
|
|
843
853
|
.e-richtexteditor .e-toolbar .e-insert-table-btn.e-btn:hover .e-icons {
|
|
844
854
|
color: $rte-tb-hover-font-color;
|
|
845
855
|
}
|
|
856
|
+
.e-rte-dropdown-popup .e-active.e-item .e-menu-icon {
|
|
857
|
+
color: $white;
|
|
858
|
+
}
|
|
846
859
|
}
|
|
847
860
|
|
|
848
861
|
@if $skin-name == 'Material3' {
|
|
@@ -871,7 +884,7 @@
|
|
|
871
884
|
.e-bigger .e-rtl .e-rte-toolbar .e-toolbar-items {
|
|
872
885
|
border-top-right-radius: $rte-border-top-right-radius;
|
|
873
886
|
}
|
|
874
|
-
.e-
|
|
887
|
+
.e-richtexteditor .e-rte-table-popup .e-insert-table-btn {
|
|
875
888
|
color: $rte-content-color;
|
|
876
889
|
}
|
|
877
890
|
}
|
|
@@ -140,12 +140,14 @@
|
|
|
140
140
|
content: "\e948";
|
|
141
141
|
}
|
|
142
142
|
.e-rte-toolbar .e-replace::before,
|
|
143
|
+
.e-rte-dropdown-popup .e-replace::before {
|
|
144
|
+
content: "\e359";
|
|
145
|
+
}
|
|
143
146
|
.e-rte-toolbar .e-audio-replace::before,
|
|
144
147
|
.e-rte-toolbar .e-video-replace::before,
|
|
145
|
-
.e-rte-dropdown-popup .e-replace::before,
|
|
146
148
|
.e-rte-dropdown-popup .e-audio-replace::before,
|
|
147
149
|
.e-rte-dropdown-popup .e-video-replace::before {
|
|
148
|
-
content: "\
|
|
150
|
+
content: "\e606";
|
|
149
151
|
}
|
|
150
152
|
.e-rte-toolbar .e-align::before,
|
|
151
153
|
.e-rte-dropdown-popup .e-align::before {
|
|
@@ -235,11 +237,11 @@
|
|
|
235
237
|
}
|
|
236
238
|
.e-rte-toolbar .e-table-header::before,
|
|
237
239
|
.e-rte-dropdown-popup .e-table-header::before {
|
|
238
|
-
content: "\
|
|
240
|
+
content: "\e148";
|
|
239
241
|
}
|
|
240
242
|
.e-rte-toolbar .e-table-remove::before,
|
|
241
243
|
.e-rte-dropdown-popup .e-table-remove::before {
|
|
242
|
-
content: "\
|
|
244
|
+
content: "\e292";
|
|
243
245
|
}
|
|
244
246
|
.e-rte-toolbar .e-table-rows::before,
|
|
245
247
|
.e-rte-dropdown-popup .e-table-rows::before {
|
|
@@ -541,6 +543,14 @@
|
|
|
541
543
|
.e-richtexteditor.e-bigger .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
|
|
542
544
|
top: -120px;
|
|
543
545
|
}
|
|
546
|
+
.e-bigger .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control,
|
|
547
|
+
.e-richtexteditor.e-bigger .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
|
|
548
|
+
padding: 0 6px;
|
|
549
|
+
}
|
|
550
|
+
.e-bigger .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover,
|
|
551
|
+
.e-richtexteditor.e-bigger .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover {
|
|
552
|
+
padding: 0 6px;
|
|
553
|
+
}
|
|
544
554
|
|
|
545
555
|
.e-richtexteditor {
|
|
546
556
|
color: #f0f0f0;
|
|
@@ -783,15 +793,6 @@
|
|
|
783
793
|
display: block;
|
|
784
794
|
z-index: 101;
|
|
785
795
|
}
|
|
786
|
-
.e-richtexteditor .e-rte-toolbar.e-rte-tb-float,
|
|
787
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-rte-tb-float {
|
|
788
|
-
position: fixed;
|
|
789
|
-
top: 0;
|
|
790
|
-
}
|
|
791
|
-
.e-richtexteditor .e-rte-toolbar.e-rte-tb-float.e-rte-tb-abs-float,
|
|
792
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar.e-rte-tb-float.e-rte-tb-abs-float {
|
|
793
|
-
position: absolute;
|
|
794
|
-
}
|
|
795
796
|
.e-richtexteditor .rte-placeholder {
|
|
796
797
|
color: #f0f0f0;
|
|
797
798
|
line-height: 18px;
|
|
@@ -817,6 +818,8 @@
|
|
|
817
818
|
}
|
|
818
819
|
.e-richtexteditor .e-rte-content .e-content,
|
|
819
820
|
.e-richtexteditor .e-source-content .e-content {
|
|
821
|
+
width: 100%;
|
|
822
|
+
float: left;
|
|
820
823
|
background: unset;
|
|
821
824
|
box-sizing: border-box;
|
|
822
825
|
height: 100%;
|
|
@@ -837,6 +840,12 @@
|
|
|
837
840
|
.e-richtexteditor .e-source-content .e-content li {
|
|
838
841
|
margin-bottom: 10px;
|
|
839
842
|
}
|
|
843
|
+
.e-richtexteditor .e-rte-content .e-content li ol,
|
|
844
|
+
.e-richtexteditor .e-rte-content .e-content li ul,
|
|
845
|
+
.e-richtexteditor .e-source-content .e-content li ol,
|
|
846
|
+
.e-richtexteditor .e-source-content .e-content li ul {
|
|
847
|
+
margin-block-start: 10px;
|
|
848
|
+
}
|
|
840
849
|
.e-richtexteditor .e-rte-content .e-content h1,
|
|
841
850
|
.e-richtexteditor .e-source-content .e-content h1 {
|
|
842
851
|
font-size: 2.17em;
|
|
@@ -943,6 +952,7 @@
|
|
|
943
952
|
position: absolute;
|
|
944
953
|
right: 0;
|
|
945
954
|
z-index: 100;
|
|
955
|
+
pointer-events: none;
|
|
946
956
|
}
|
|
947
957
|
.e-richtexteditor .e-rte-character-count.e-warning {
|
|
948
958
|
color: #ffb74d;
|
|
@@ -1257,13 +1267,11 @@
|
|
|
1257
1267
|
}
|
|
1258
1268
|
|
|
1259
1269
|
.e-rte-img-caption .e-rte-image.e-imgright {
|
|
1260
|
-
float: none;
|
|
1261
1270
|
margin-left: auto;
|
|
1262
1271
|
margin-right: 0;
|
|
1263
1272
|
}
|
|
1264
1273
|
|
|
1265
1274
|
.e-rte-img-caption .e-rte-image.e-imgleft {
|
|
1266
|
-
float: none;
|
|
1267
1275
|
margin: 0;
|
|
1268
1276
|
}
|
|
1269
1277
|
|
|
@@ -1282,6 +1290,7 @@
|
|
|
1282
1290
|
height: 20px;
|
|
1283
1291
|
min-width: 20px;
|
|
1284
1292
|
padding: 2px 5px;
|
|
1293
|
+
box-sizing: border-box;
|
|
1285
1294
|
}
|
|
1286
1295
|
|
|
1287
1296
|
.e-rte-table.e-dashed-border td,
|
|
@@ -1302,13 +1311,20 @@
|
|
|
1302
1311
|
}
|
|
1303
1312
|
|
|
1304
1313
|
.e-rte-img-caption.e-imgleft .e-img-inner {
|
|
1314
|
+
float: left;
|
|
1305
1315
|
text-align: left;
|
|
1306
1316
|
}
|
|
1307
1317
|
|
|
1308
1318
|
.e-rte-img-caption.e-imgright .e-img-inner {
|
|
1319
|
+
float: right;
|
|
1309
1320
|
text-align: right;
|
|
1310
1321
|
}
|
|
1311
1322
|
|
|
1323
|
+
.e-rte-img-caption.e-imgleft .e-img-wrap,
|
|
1324
|
+
.e-rte-img-caption.e-imgright .e-img-wrap {
|
|
1325
|
+
display: contents;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1312
1328
|
.e-rte-img-caption .e-img-wrap {
|
|
1313
1329
|
display: inline-block;
|
|
1314
1330
|
margin: auto;
|
|
@@ -1563,7 +1579,7 @@
|
|
|
1563
1579
|
.e-rte-elements .e-rte-content .e-content table td.e-cell-select,
|
|
1564
1580
|
.e-rte-elements .e-rte-content .e-content table th.e-cell-select {
|
|
1565
1581
|
border: 1px double #0478d7;
|
|
1566
|
-
height:
|
|
1582
|
+
height: inherit;
|
|
1567
1583
|
}
|
|
1568
1584
|
.e-richtexteditor span.e-table-box,
|
|
1569
1585
|
.e-rte-elements span.e-table-box {
|
|
@@ -2636,6 +2652,27 @@
|
|
|
2636
2652
|
visibility: hidden;
|
|
2637
2653
|
}
|
|
2638
2654
|
|
|
2655
|
+
.e-richtexteditor .e-toolbar-wrapper.e-rte-tb-float,
|
|
2656
|
+
.e-richtexteditor .e-toolbar-container.e-rte-tb-float {
|
|
2657
|
+
position: sticky;
|
|
2658
|
+
top: 0;
|
|
2659
|
+
overflow: visible;
|
|
2660
|
+
}
|
|
2661
|
+
.e-richtexteditor .e-toolbar-wrapper,
|
|
2662
|
+
.e-richtexteditor .e-toolbar-container {
|
|
2663
|
+
height: auto;
|
|
2664
|
+
z-index: 10;
|
|
2665
|
+
}
|
|
2666
|
+
.e-richtexteditor .e-toolbar .e-toolbar-pop.e-toolbar-extended {
|
|
2667
|
+
position: relative;
|
|
2668
|
+
width: 100%;
|
|
2669
|
+
top: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2670
|
+
left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
2671
|
+
}
|
|
2672
|
+
.e-richtexteditor .e-toolbar .e-toolbar-pop.e-toolbar-extended.e-popup-open {
|
|
2673
|
+
display: block;
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2639
2676
|
/*! tab layout */
|
|
2640
2677
|
.e-richtexteditor .e-rte-toolbar {
|
|
2641
2678
|
border: 1px solid #505050;
|
|
@@ -2752,6 +2789,9 @@
|
|
|
2752
2789
|
.e-richtexteditor .e-toolbar-wrapper .e-rte-toolbar:not(.e-rte-tb-float) {
|
|
2753
2790
|
border-bottom: 1px solid #505050;
|
|
2754
2791
|
}
|
|
2792
|
+
.e-richtexteditor .e-toolbar-wrapper.e-rte-tb-float .e-rte-toolbar {
|
|
2793
|
+
border-top: 1px solid #505050;
|
|
2794
|
+
}
|
|
2755
2795
|
.e-richtexteditor .e-toolbar-wrapper + .e-rte-toolbar:not(.e-rte-tb-float) {
|
|
2756
2796
|
border: 0;
|
|
2757
2797
|
}
|
|
@@ -3072,7 +3112,7 @@ span.e-rte-videoboxmark {
|
|
|
3072
3112
|
}
|
|
3073
3113
|
|
|
3074
3114
|
.e-dropdown-popup ul .e-item.e-active {
|
|
3075
|
-
background
|
|
3115
|
+
background: #0070f0;
|
|
3076
3116
|
color: #fff;
|
|
3077
3117
|
}
|
|
3078
3118
|
|