@syncfusion/ej2-richtexteditor 23.2.7-52849 → 24.1.41-569781
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/.eslintrc.json +260 -0
- package/CHANGELOG.md +177 -1
- package/dist/ej2-richtexteditor.umd.min.js +1 -1
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +2919 -1147
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +2906 -1133
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/package.json +13 -13
- package/src/common/config.d.ts +7 -0
- package/src/common/config.js +12 -1
- package/src/common/constant.d.ts +6 -0
- package/src/common/constant.js +6 -0
- package/src/common/interface.d.ts +12 -0
- package/src/common/types.d.ts +6 -0
- package/src/common/util.d.ts +6 -0
- package/src/common/util.js +61 -20
- package/src/editor-manager/base/constant.d.ts +6 -0
- package/src/editor-manager/base/constant.js +6 -0
- package/src/editor-manager/base/editor-manager.d.ts +5 -0
- package/src/editor-manager/base/editor-manager.js +59 -0
- package/src/editor-manager/base/interface.d.ts +8 -0
- package/src/editor-manager/plugin/audio.js +13 -3
- package/src/editor-manager/plugin/dom-node.d.ts +5 -1
- package/src/editor-manager/plugin/dom-node.js +169 -28
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -0
- package/src/editor-manager/plugin/format-painter-actions.js +19 -1
- package/src/editor-manager/plugin/formats.d.ts +1 -0
- package/src/editor-manager/plugin/formats.js +38 -3
- package/src/editor-manager/plugin/image.js +38 -15
- package/src/editor-manager/plugin/inserthtml.d.ts +1 -0
- package/src/editor-manager/plugin/inserthtml.js +67 -7
- package/src/editor-manager/plugin/link.js +4 -1
- package/src/editor-manager/plugin/lists.js +121 -65
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +3 -0
- package/src/editor-manager/plugin/ms-word-clean-up.js +215 -85
- package/src/editor-manager/plugin/nodecutter.js +2 -2
- package/src/editor-manager/plugin/selection-commands.d.ts +1 -0
- package/src/editor-manager/plugin/selection-commands.js +165 -3
- package/src/editor-manager/plugin/table.d.ts +0 -1
- package/src/editor-manager/plugin/table.js +33 -30
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +20 -10
- package/src/editor-manager/plugin/undo.d.ts +1 -0
- package/src/editor-manager/plugin/undo.js +21 -1
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-quick-toolbar.js +66 -15
- package/src/rich-text-editor/actions/base-toolbar.js +32 -34
- package/src/rich-text-editor/actions/color-picker.d.ts +1 -0
- package/src/rich-text-editor/actions/color-picker.js +13 -3
- package/src/rich-text-editor/actions/count.js +1 -1
- package/src/rich-text-editor/actions/dropdown-buttons.js +25 -4
- package/src/rich-text-editor/actions/emoji-picker.js +15 -6
- package/src/rich-text-editor/actions/enter-key.js +6 -4
- package/src/rich-text-editor/actions/file-manager.js +1 -1
- package/src/rich-text-editor/actions/format-painter.js +1 -1
- package/src/rich-text-editor/actions/full-screen.js +5 -4
- package/src/rich-text-editor/actions/html-editor.d.ts +2 -0
- package/src/rich-text-editor/actions/html-editor.js +127 -17
- package/src/rich-text-editor/actions/keyboard.js +3 -1
- package/src/rich-text-editor/actions/markdown-editor.js +3 -1
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +5 -0
- package/src/rich-text-editor/actions/paste-clean-up.js +156 -28
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +7 -0
- package/src/rich-text-editor/actions/quick-toolbar.js +45 -11
- package/src/rich-text-editor/actions/resize.js +2 -1
- package/src/rich-text-editor/actions/toolbar-action.js +1 -1
- package/src/rich-text-editor/actions/toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/toolbar.js +35 -96
- package/src/rich-text-editor/base/classes.d.ts +5 -5
- package/src/rich-text-editor/base/classes.js +5 -5
- package/src/rich-text-editor/base/constant.d.ts +46 -1
- package/src/rich-text-editor/base/constant.js +215 -1
- package/src/rich-text-editor/base/interface.d.ts +47 -3
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +3 -3
- package/src/rich-text-editor/base/rich-text-editor.d.ts +16 -4
- package/src/rich-text-editor/base/rich-text-editor.js +196 -100
- package/src/rich-text-editor/base/util.d.ts +4 -0
- package/src/rich-text-editor/base/util.js +57 -5
- package/src/rich-text-editor/formatter/formatter.js +15 -4
- package/src/rich-text-editor/models/default-locale.js +31 -25
- package/src/rich-text-editor/models/items.js +3 -3
- 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/audio-module.d.ts +1 -0
- package/src/rich-text-editor/renderer/audio-module.js +13 -0
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -0
- package/src/rich-text-editor/renderer/dialog-renderer.js +22 -2
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +2 -1
- package/src/rich-text-editor/renderer/image-module.d.ts +9 -1
- package/src/rich-text-editor/renderer/image-module.js +244 -212
- package/src/rich-text-editor/renderer/link-module.js +53 -24
- package/src/rich-text-editor/renderer/table-module.d.ts +10 -1
- package/src/rich-text-editor/renderer/table-module.js +330 -165
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +4 -6
- package/src/rich-text-editor/renderer/toolbar-renderer.js +105 -106
- package/src/rich-text-editor/renderer/video-module.d.ts +3 -0
- package/src/rich-text-editor/renderer/video-module.js +61 -34
- package/src/rich-text-editor/renderer/view-source.d.ts +1 -0
- package/src/rich-text-editor/renderer/view-source.js +15 -5
- package/src/selection/selection.js +3 -0
- package/styles/bootstrap-dark.css +345 -99
- package/styles/bootstrap.css +353 -108
- package/styles/bootstrap4.css +337 -95
- package/styles/bootstrap5-dark.css +343 -96
- package/styles/bootstrap5.css +343 -96
- package/styles/fabric-dark.css +331 -89
- package/styles/fabric.css +332 -90
- package/styles/fluent-dark.css +342 -92
- package/styles/fluent.css +342 -92
- package/styles/highcontrast-light.css +331 -89
- package/styles/highcontrast.css +335 -90
- package/styles/material-dark.css +337 -90
- package/styles/material.css +337 -90
- package/styles/material3-dark.css +347 -99
- package/styles/material3.css +347 -99
- package/styles/rich-text-editor/_bds-definition.scss +279 -0
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +14 -10
- package/styles/rich-text-editor/_bootstrap-definition.scss +20 -17
- package/styles/rich-text-editor/_bootstrap4-definition.scss +11 -7
- package/styles/rich-text-editor/_bootstrap5-definition.scss +8 -4
- package/styles/rich-text-editor/_fabric-dark-definition.scss +6 -2
- package/styles/rich-text-editor/_fabric-definition.scss +7 -3
- package/styles/rich-text-editor/_fluent-definition.scss +9 -5
- package/styles/rich-text-editor/_fusionnew-definition.scss +7 -3
- package/styles/rich-text-editor/_highcontrast-definition.scss +7 -3
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +6 -2
- package/styles/rich-text-editor/_layout.scss +208 -31
- package/styles/rich-text-editor/_material-dark-definition.scss +6 -2
- package/styles/rich-text-editor/_material-definition.scss +6 -2
- package/styles/rich-text-editor/_material3-definition.scss +16 -12
- package/styles/rich-text-editor/_tailwind-definition.scss +25 -21
- package/styles/rich-text-editor/_theme.scss +93 -24
- package/styles/rich-text-editor/bootstrap-dark.css +345 -99
- package/styles/rich-text-editor/bootstrap.css +353 -108
- package/styles/rich-text-editor/bootstrap4.css +337 -95
- package/styles/rich-text-editor/bootstrap5-dark.css +343 -96
- package/styles/rich-text-editor/bootstrap5.css +343 -96
- package/styles/rich-text-editor/fabric-dark.css +331 -89
- package/styles/rich-text-editor/fabric.css +332 -90
- package/styles/rich-text-editor/fluent-dark.css +342 -92
- package/styles/rich-text-editor/fluent.css +342 -92
- package/styles/rich-text-editor/highcontrast-light.css +331 -89
- package/styles/rich-text-editor/highcontrast.css +335 -90
- package/styles/rich-text-editor/icons/_bds.scss +348 -0
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +4 -4
- package/styles/rich-text-editor/icons/_bootstrap.scss +4 -4
- package/styles/rich-text-editor/icons/_bootstrap4.scss +4 -4
- package/styles/rich-text-editor/icons/_bootstrap5.scss +4 -4
- package/styles/rich-text-editor/icons/_fabric-dark.scss +4 -4
- package/styles/rich-text-editor/icons/_fabric.scss +4 -4
- package/styles/rich-text-editor/icons/_fluent.scss +4 -4
- package/styles/rich-text-editor/icons/_fusionnew.scss +3 -3
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +4 -4
- package/styles/rich-text-editor/icons/_highcontrast.scss +4 -4
- package/styles/rich-text-editor/icons/_material-dark.scss +4 -4
- package/styles/rich-text-editor/icons/_material.scss +4 -4
- package/styles/rich-text-editor/icons/_material3.scss +4 -4
- package/styles/rich-text-editor/icons/_tailwind.scss +4 -4
- package/styles/rich-text-editor/material-dark.css +337 -90
- package/styles/rich-text-editor/material.css +337 -90
- package/styles/rich-text-editor/material3-dark.css +347 -99
- package/styles/rich-text-editor/material3.css +347 -99
- package/styles/rich-text-editor/tailwind-dark.css +386 -116
- package/styles/rich-text-editor/tailwind.css +386 -116
- package/styles/tailwind-dark.css +386 -116
- package/styles/tailwind.css +386 -116
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
- package/src/global.d.ts +0 -1
|
@@ -68,7 +68,8 @@ $rte-insert-dialog-label-padding-top: 20px !default;
|
|
|
68
68
|
$rte-insert-dialog-label-padding-bottom: 0 !default;
|
|
69
69
|
$rte-big-quick-tbar-item-min-height: 40px !default;
|
|
70
70
|
$rte-big-quick-tbar-item-min-width: 40px !default;
|
|
71
|
-
$rte-content-font-size:
|
|
71
|
+
$rte-content-font-size: 14px !default;
|
|
72
|
+
$rte-big-content-font-size: 16px !default;
|
|
72
73
|
$rte-dropdown-caret-icon-size: $text-xs !default;
|
|
73
74
|
$rte-big-dropdown-caret-icon-size: $text-sm !default;
|
|
74
75
|
$font-weight: $font-weight-normal !default;
|
|
@@ -87,22 +88,24 @@ $rte-default-character-count-opacity: 1;
|
|
|
87
88
|
$rte-droparea-line-height: 10;
|
|
88
89
|
$rte-droparea-browsebtn-height: 32px;
|
|
89
90
|
$rte-droparea-browsebtn-padding: 6px 16px;
|
|
90
|
-
$rte-droparea-browsebtn-top: -
|
|
91
|
+
$rte-droparea-browsebtn-top: -120px;
|
|
92
|
+
$rte-big-droparea-browsebtn-top: -120px;
|
|
91
93
|
$rte-inline-dropdown-line-height: 14px !default;
|
|
92
94
|
$rte-big-inline-dropdown-line-height: 14px !default;
|
|
93
95
|
$rte-insert-dialog-font-size: 10px;
|
|
94
96
|
$rte-big-insert-dialog-font-size: 10px;
|
|
95
|
-
$rte-table-popup-tablecell-height:
|
|
96
|
-
$rte-table-popup-tablecell-width:
|
|
97
|
-
$rte-table-popup-tablecell-margin:
|
|
98
|
-
$rte-table-popup-row-height :
|
|
99
|
-
$rte-big-table-row-height :
|
|
100
|
-
$rte-big-tablecell-height :
|
|
101
|
-
$rte-big-tablecell-width :
|
|
97
|
+
$rte-table-popup-tablecell-height: 14px;
|
|
98
|
+
$rte-table-popup-tablecell-width: 14px;
|
|
99
|
+
$rte-table-popup-tablecell-margin: 1px;
|
|
100
|
+
$rte-table-popup-row-height : 16px;
|
|
101
|
+
$rte-big-table-row-height : 18px;
|
|
102
|
+
$rte-big-tablecell-height : 16px;
|
|
103
|
+
$rte-big-tablecell-width : 16px;
|
|
102
104
|
$rte-toolbar-item-frist-last-child-margin: 0;
|
|
103
105
|
$rte-big-toolbar-item-frist-last-child-margin: 0;
|
|
104
106
|
$rte-toolbar-expaned-padding: 0 7px;
|
|
105
107
|
$rte-toolbar-expaned-padding-hover: 0 7px;
|
|
108
|
+
$rte-big-toolbar-expaned-padding: 0 10px;
|
|
106
109
|
$rte-formatlists-dropdown-line-height: 1;
|
|
107
110
|
$rte-big-formatlists-dropdown-line-height: 1;
|
|
108
111
|
$rte-quick-toolbar-item-margin: 0 8px !default;
|
|
@@ -172,7 +175,7 @@ $rte-drop-text-clr: rgba($on-secondary-container) !default;
|
|
|
172
175
|
$rte-default-character-count-color: rgba($placeholder-text-color) !default;
|
|
173
176
|
$rte-warning-character-count-color: rgba($warning) !default;
|
|
174
177
|
$rte-error-character-count-color: rgba($danger) !default;
|
|
175
|
-
$rte-img-border:
|
|
178
|
+
$rte-img-border: solid 2px rgba($primary) !default;
|
|
176
179
|
$rte-font-family: $font-family !default;
|
|
177
180
|
$rte-content-color: rgba($content-text-color) !default;
|
|
178
181
|
$rte-content-blockquote-border-left-color: solid 2px rgba($content-text-color) !default;
|
|
@@ -230,7 +233,8 @@ $rte-big-edit-table-dlg-max-height: 373px !default;
|
|
|
230
233
|
$toolbar-expand-icon-min-height: 40px !default;
|
|
231
234
|
$rte-align-caret-icon-min-width: 24px !default;
|
|
232
235
|
$rte-drop-text-width: 280px !default;
|
|
233
|
-
$rte-drop-text-height:
|
|
236
|
+
$rte-drop-text-height: 128px !default;
|
|
237
|
+
$rte-big-drop-text-height: 140px !default;
|
|
234
238
|
$rte-drop-text-mobile-width: 250px !default;
|
|
235
239
|
$rte-tbar-default-bg: $content-bg-color-alt2 !default;
|
|
236
240
|
$rte-extended-toolbar-items-padding: 0;
|
|
@@ -244,7 +248,7 @@ $rte-big-dropdown-btn-color-content-padding: 9.5px !default;
|
|
|
244
248
|
$rte-tb-expended-min-height: 48px !default;
|
|
245
249
|
$rte-big-tb-expended-min-height: 56px !default;
|
|
246
250
|
$rte-tb-expended-padding-left: 1px !default;
|
|
247
|
-
$rte-tb-expended-hover-padding-left:
|
|
251
|
+
$rte-tb-expended-hover-padding-left: 1px !default;
|
|
248
252
|
$rte-toolbar-expaned-minwidth: 18px !default;
|
|
249
253
|
|
|
250
254
|
$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:
|
|
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,30 +45,31 @@ $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:
|
|
49
|
-
$rte-drop-btn-action-padding-right:
|
|
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:
|
|
53
|
-
$rte-big-drop-btn-action-padding-right:
|
|
54
|
-
$rte-colorpicker-parent-padding:
|
|
55
|
-
$rte-colorpicker-parent-padding-hover:
|
|
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:
|
|
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;
|
|
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
|
-
$rte-table-popup-border: 1px solid $cool-gray-
|
|
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;
|
|
70
70
|
$rte-big-quick-tbar-item-min-width: 38px !default;
|
|
71
|
-
$rte-content-font-size:
|
|
71
|
+
$rte-content-font-size: 14px !default;
|
|
72
|
+
$rte-big-content-font-size: 16px !default;
|
|
72
73
|
$rte-dropdown-caret-icon-size: $text-xs !default;
|
|
73
74
|
$rte-big-dropdown-caret-icon-size: $text-sm !default;
|
|
74
75
|
$rte-inline-dropdown-line-height: 30px !default;
|
|
@@ -84,13 +85,14 @@ $rte-big-inline-tmp-size-min-width: 59px;
|
|
|
84
85
|
$rte-inline-tmp-size-min-width: 66px;
|
|
85
86
|
$rte-big-inline-tmp-color-min-width: 50px;
|
|
86
87
|
$rte-inline-tmp-color-min-width: 55px;
|
|
87
|
-
$rte-big-color-list-span-common-padding-left-right:
|
|
88
|
+
$rte-big-color-list-span-common-padding-left-right: 1px;
|
|
88
89
|
$rte-placeholder-padding: 12px !default;
|
|
89
90
|
$rte-default-character-count-opacity: 1;
|
|
90
91
|
$rte-droparea-line-height: 10;
|
|
91
92
|
$rte-droparea-browsebtn-height: 36px;
|
|
92
93
|
$rte-droparea-browsebtn-padding: 0 18px;
|
|
93
|
-
$rte-droparea-browsebtn-top: -
|
|
94
|
+
$rte-droparea-browsebtn-top: -120px;
|
|
95
|
+
$rte-big-droparea-browsebtn-top: -120px;
|
|
94
96
|
$rte-insert-dialog-font-size: 15px;
|
|
95
97
|
$rte-big-insert-dialog-font-size: 15px;
|
|
96
98
|
$rte-table-popup-tablecell-height: 14px;
|
|
@@ -102,10 +104,11 @@ $rte-big-tablecell-height : 16px;
|
|
|
102
104
|
$rte-big-tablecell-width : 16px;
|
|
103
105
|
$rte-toolbar-item-frist-last-child-margin: 0;
|
|
104
106
|
$rte-big-toolbar-item-frist-last-child-margin: 0 6px;
|
|
105
|
-
$rte-toolbar-expaned-padding: 0
|
|
107
|
+
$rte-toolbar-expaned-padding: 0 4px;
|
|
108
|
+
$rte-big-toolbar-expaned-padding: 0 8px;
|
|
106
109
|
$rte-toolbar-expaned-padding-hover: 0 4px;
|
|
107
110
|
$rte-formatlists-dropdown-line-height: 20px;
|
|
108
|
-
$rte-big-formatlists-dropdown-line-height:
|
|
111
|
+
$rte-big-formatlists-dropdown-line-height: 35px;
|
|
109
112
|
|
|
110
113
|
//Layout Variables End
|
|
111
114
|
|
|
@@ -123,7 +126,7 @@ $rte-img-popup-box-shadow: $shadow !default;
|
|
|
123
126
|
$rte-img-popup-color: $border-light !default;
|
|
124
127
|
$rte-quick-item-active-bg: $secondary-bg-color-pressed !default;
|
|
125
128
|
$rte-quick-item-active-font-color: $icon-color !default;
|
|
126
|
-
$rte-quick-item-border:
|
|
129
|
+
$rte-quick-item-border: 1px solid transparent !default;
|
|
127
130
|
$rte-quick-item-hover-border-color: $secondary-border-color-hover !default;
|
|
128
131
|
$rte-quick-item-active-border-color: $secondary-border-color-pressed !default;
|
|
129
132
|
$rte-quick-drop-btn-border-color: $content-bg-color-alt2 !default;
|
|
@@ -156,7 +159,7 @@ $rte-split-btn-span-active-bg: $secondary-bg-color-pressed !default;
|
|
|
156
159
|
$rte-split-btn-bar-bg: $content-bg-color-alt1 !default;
|
|
157
160
|
$rte-split-btn-active-bar-bg: $content-bg-color !default;
|
|
158
161
|
$rte-split-btn-bar-size: 0 !default;
|
|
159
|
-
$rte-split-btn-active-border:
|
|
162
|
+
$rte-split-btn-active-border: 0 solid $secondary-border-color-hover !default;
|
|
160
163
|
$rte-split-btn-active-color-icon-line-height: 30px !default;
|
|
161
164
|
$rte-big-split-btn-active-color-icon-line-height: 38px !default;
|
|
162
165
|
|
|
@@ -199,7 +202,7 @@ $rte-border-bottom-right-radius: 0;
|
|
|
199
202
|
$rte-border-bottom-left-radius: 0;
|
|
200
203
|
$rte-big-border-radius: 0;
|
|
201
204
|
$rte-extended-toolbar-items-padding: 0;
|
|
202
|
-
$rte-expand-tbar-hover-bg: $content-bg-color-
|
|
205
|
+
$rte-expand-tbar-hover-bg: $content-bg-color-alt1 !default;
|
|
203
206
|
|
|
204
207
|
//Theme Variables End
|
|
205
208
|
|
|
@@ -226,13 +229,14 @@ $rte-big-file-browser-dlg-max-height: 557px !default;
|
|
|
226
229
|
$rte-big-table-dlg-max-height: 283px !default;
|
|
227
230
|
$rte-big-edit-table-dlg-max-height: 388px !default;
|
|
228
231
|
$rte-drop-text-width: 300px !default;
|
|
229
|
-
$rte-drop-text-height:
|
|
232
|
+
$rte-drop-text-height: 128px !default;
|
|
233
|
+
$rte-big-drop-text-height: 140px !default;
|
|
230
234
|
$rte-drop-text-mobile-width: 250px !default;
|
|
231
235
|
$rte-tbar-default-bg: $content-bg-color-alt2;
|
|
232
236
|
$rte-big-insert-dialog-label-padding-top: 12px;
|
|
233
237
|
$rte-tbar-icon-size: 20px;
|
|
234
238
|
$rte-dropdown-btn-color-content-padding: 1px !default;
|
|
235
|
-
$rte-big-dropdown-btn-color-content-padding:
|
|
239
|
+
$rte-big-dropdown-btn-color-content-padding: 0 !default;
|
|
236
240
|
$rte-tb-expended-min-height: 40px !default;
|
|
237
241
|
$rte-big-tb-expended-min-height: 48px !default;
|
|
238
242
|
$rte-tb-expended-padding-left: 1px !default;
|
|
@@ -16,12 +16,6 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
@if $skin-name == 'bootstrap5' {
|
|
20
|
-
.e-tbar-btn:focus .e-icons {
|
|
21
|
-
color: $rte-quick-item-active-font-color;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
19
|
&.e-active .e-tbar-btn,
|
|
26
20
|
&.e-active .e-tbar-btn:focus {
|
|
27
21
|
background: $rte-tb-item-active-bg;
|
|
@@ -45,10 +39,6 @@
|
|
|
45
39
|
.e-tbar-btn:hover .e-icons {
|
|
46
40
|
color: $rte-tb-hover-font-color;
|
|
47
41
|
}
|
|
48
|
-
|
|
49
|
-
.e-tbar-btn:focus .e-icons {
|
|
50
|
-
color: $primary-text-focus;
|
|
51
|
-
}
|
|
52
42
|
}
|
|
53
43
|
|
|
54
44
|
.e-dropdown-btn.e-active {
|
|
@@ -160,9 +150,6 @@
|
|
|
160
150
|
.e-toolbar-item .e-tbar-btn:hover .e-icons {
|
|
161
151
|
color: $rte-hover-icons-color;
|
|
162
152
|
}
|
|
163
|
-
.e-toolbar-item .e-tbar-btn:focus .e-icons {
|
|
164
|
-
color: $rte-hover-icons-color;
|
|
165
|
-
}
|
|
166
153
|
.e-toolbar-item.e-active .e-tbar-btn .e-icons {
|
|
167
154
|
color: $rte-tb-active-font-color;
|
|
168
155
|
}
|
|
@@ -200,6 +187,11 @@
|
|
|
200
187
|
.e-toolbar-wrapper .e-rte-toolbar:not(.e-rte-tb-float) {
|
|
201
188
|
border-bottom: 1px solid $rte-border-color;
|
|
202
189
|
}
|
|
190
|
+
|
|
191
|
+
.e-toolbar-wrapper.e-rte-tb-float .e-rte-toolbar {
|
|
192
|
+
border-top: 1px solid $rte-border-color;
|
|
193
|
+
}
|
|
194
|
+
|
|
203
195
|
.e-toolbar-wrapper + .e-rte-toolbar:not(.e-rte-tb-float) {
|
|
204
196
|
border: 0;
|
|
205
197
|
}
|
|
@@ -360,15 +352,19 @@
|
|
|
360
352
|
.e-clickelem::after,
|
|
361
353
|
.e-video-clickelem::after {
|
|
362
354
|
background: transparent;
|
|
363
|
-
bottom: 0;
|
|
364
355
|
content: '';
|
|
365
356
|
cursor: default;
|
|
366
357
|
display: block;
|
|
367
|
-
left: 0;
|
|
368
358
|
position: absolute;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.e-clickelem::before,
|
|
362
|
+
.e-video-clickelem::before {
|
|
363
|
+
background: transparent;
|
|
364
|
+
content: '';
|
|
365
|
+
cursor: default;
|
|
366
|
+
display: block;
|
|
367
|
+
position: absolute;
|
|
372
368
|
}
|
|
373
369
|
|
|
374
370
|
.e-videoheader,
|
|
@@ -399,6 +395,38 @@
|
|
|
399
395
|
.e-toolbar-items {
|
|
400
396
|
background: $rte-quick-pop-bg;
|
|
401
397
|
|
|
398
|
+
.e-rte-backgroundcolor-dropdown {
|
|
399
|
+
.e-rte-color-content{
|
|
400
|
+
padding-top: $rte-dropdown-btn-color-content-padding;
|
|
401
|
+
@if $skin-name =='bootstrap' or $skin-name =='bootstrap-dark'{
|
|
402
|
+
padding-top: 5px;
|
|
403
|
+
}
|
|
404
|
+
height: $rte-dropdown-btn-color-content-height;
|
|
405
|
+
@if $skin-name == 'FluentUI' {
|
|
406
|
+
display: flex;
|
|
407
|
+
align-items: center;
|
|
408
|
+
justify-content: center;
|
|
409
|
+
}
|
|
410
|
+
&:hover {
|
|
411
|
+
background: $rte-split-btn-span-hover-bg;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.e-caret {
|
|
416
|
+
&:hover {
|
|
417
|
+
background: $rte-split-btn-span-hover-bg;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
&.e-tbar-btn:hover {
|
|
421
|
+
@if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' or $skin-name == 'highcontrast' {
|
|
422
|
+
background: $rte-split-btn-hover-bg;
|
|
423
|
+
}
|
|
424
|
+
@if $skin-name =='bootstrap-dark'{
|
|
425
|
+
background: $rte-tbar-default-bg;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
402
430
|
.e-separator {
|
|
403
431
|
border: .5px solid $rte-quick-vr-line-color;
|
|
404
432
|
}
|
|
@@ -479,6 +507,14 @@
|
|
|
479
507
|
}
|
|
480
508
|
}
|
|
481
509
|
|
|
510
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown {
|
|
511
|
+
.e-rte-color-content {
|
|
512
|
+
@if $skin-name =='tailwind' or $skin-name =='tailwind-dark' or $skin-name =='bootstrap5' or $skin-name =='bootstrap5-dark' or $skin-name =='material' or $skin-name =='material-dark' {
|
|
513
|
+
padding-top: 8px;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
482
518
|
.e-dialog .e-img-uploadwrap .e-droptext,
|
|
483
519
|
.e-dialog .e-aud-uploadwrap .e-droptext,
|
|
484
520
|
.e-dialog .e-vid-uploadwrap .e-droptext,
|
|
@@ -496,9 +532,17 @@
|
|
|
496
532
|
}
|
|
497
533
|
|
|
498
534
|
.e-dialog .e-vid-uploadwrap .e-droptext {
|
|
499
|
-
height:
|
|
535
|
+
height: $rte-drop-text-height;
|
|
500
536
|
}
|
|
501
|
-
|
|
537
|
+
|
|
538
|
+
.e-bigger .e-richtexteditor {
|
|
539
|
+
.e-dialog .e-img-uploadwrap .e-droptext,
|
|
540
|
+
.e-dialog .e-aud-uploadwrap .e-droptext,
|
|
541
|
+
.e-dialog .e-vid-uploadwrap .e-droptext {
|
|
542
|
+
height: $rte-big-drop-text-height;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
502
546
|
.e-dialog.e-device.e-dlg-modal .e-img-uploadwrap .e-droptext,
|
|
503
547
|
.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap .e-droptext,
|
|
504
548
|
.e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap .e-droptext {
|
|
@@ -575,7 +619,7 @@
|
|
|
575
619
|
.e-dropdown-popup {
|
|
576
620
|
& ul {
|
|
577
621
|
& .e-item.e-active {
|
|
578
|
-
background
|
|
622
|
+
background: $rte-dropdown-selection-bgcolor;
|
|
579
623
|
color: $rte-dropdown-selection-color;
|
|
580
624
|
}
|
|
581
625
|
}
|
|
@@ -632,7 +676,7 @@
|
|
|
632
676
|
}
|
|
633
677
|
|
|
634
678
|
.e-rte-table.e-alternate-border tbody tr:nth-child(2n+0) {
|
|
635
|
-
background
|
|
679
|
+
background: $rte-table-alternate-color;
|
|
636
680
|
@if $skin-name == 'highcontrast' {
|
|
637
681
|
color: $rte-img-popup-color;
|
|
638
682
|
}
|
|
@@ -672,6 +716,11 @@
|
|
|
672
716
|
& .e-tbar-btn:hover .e-icons {
|
|
673
717
|
color: $rte-quick-item-active-font-color;
|
|
674
718
|
}
|
|
719
|
+
@if $skin-name == 'bootstrap5' {
|
|
720
|
+
& .e-tbar-btn:hover {
|
|
721
|
+
color: $rte-quick-item-active-font-color;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
675
724
|
}
|
|
676
725
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-active .e-icons {
|
|
677
726
|
color: $rte-tlbar-expand-active;
|
|
@@ -761,13 +810,19 @@
|
|
|
761
810
|
color: $rte-icons-color;
|
|
762
811
|
}
|
|
763
812
|
|
|
813
|
+
.e-bigger .e-richtexteditor,
|
|
814
|
+
.e-richtexteditor {
|
|
815
|
+
.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-overlay .e-tbar-btn .e-icons {
|
|
816
|
+
color: $icon-color-disabled;
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
|
|
764
820
|
.e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
|
|
765
821
|
border-radius: 4px;
|
|
766
822
|
}
|
|
767
823
|
|
|
768
824
|
.e-richtexteditor .e-toolbar .e-tbar-btn {
|
|
769
|
-
border
|
|
770
|
-
border-top: 1px solid $transparent;
|
|
825
|
+
border: 1px solid $transparent;
|
|
771
826
|
}
|
|
772
827
|
|
|
773
828
|
.e-richtexteditor .e-toolbar .e-tbar-btn:hover {
|
|
@@ -779,6 +834,14 @@
|
|
|
779
834
|
background: $rte-tb-hover-bg-color;
|
|
780
835
|
border: 1px solid $rte-quick-item-hover-border-color;
|
|
781
836
|
}
|
|
837
|
+
|
|
838
|
+
.e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn{
|
|
839
|
+
border: 1px solid $transparent;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn:focus {
|
|
843
|
+
border: 1px solid $transparent;
|
|
844
|
+
}
|
|
782
845
|
}
|
|
783
846
|
|
|
784
847
|
@if $skin-name == 'bootstrap5' {
|
|
@@ -790,6 +853,9 @@
|
|
|
790
853
|
.e-richtexteditor .e-toolbar .e-insert-table-btn.e-btn:hover .e-icons {
|
|
791
854
|
color: $rte-tb-hover-font-color;
|
|
792
855
|
}
|
|
856
|
+
.e-rte-dropdown-popup .e-active.e-item .e-menu-icon {
|
|
857
|
+
color: $white;
|
|
858
|
+
}
|
|
793
859
|
}
|
|
794
860
|
|
|
795
861
|
@if $skin-name == 'Material3' {
|
|
@@ -818,6 +884,9 @@
|
|
|
818
884
|
.e-bigger .e-rtl .e-rte-toolbar .e-toolbar-items {
|
|
819
885
|
border-top-right-radius: $rte-border-top-right-radius;
|
|
820
886
|
}
|
|
887
|
+
.e-rte-toolbar .e-rte-table-popup .e-insert-table-btn{
|
|
888
|
+
color: $rte-content-color;
|
|
889
|
+
}
|
|
821
890
|
}
|
|
822
891
|
// Blazor styles start
|
|
823
892
|
.e-richtexteditor.e-rte-tb-expand .e-rte-content-border {
|