@syncfusion/ej2-richtexteditor 19.2.57 → 19.3.43
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 +1 -1
- package/CHANGELOG.md +61 -9
- 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 +1006 -312
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +1014 -310
- 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 +12 -12
- package/src/common/types.d.ts +8 -0
- package/src/editor-manager/base/editor-manager.d.ts +1 -1
- package/src/editor-manager/base/editor-manager.js +6 -6
- package/src/editor-manager/base/interface.d.ts +7 -1
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +3 -1
- package/src/editor-manager/plugin/clearformat.js +19 -9
- package/src/editor-manager/plugin/dom-node.js +2 -2
- package/src/editor-manager/plugin/formats.d.ts +1 -0
- package/src/editor-manager/plugin/formats.js +87 -7
- package/src/editor-manager/plugin/image.js +77 -54
- package/src/editor-manager/plugin/inserthtml.js +20 -2
- package/src/editor-manager/plugin/isformatted.js +2 -1
- package/src/editor-manager/plugin/lists.d.ts +1 -0
- package/src/editor-manager/plugin/lists.js +87 -8
- package/src/editor-manager/plugin/nodecutter.d.ts +1 -0
- package/src/editor-manager/plugin/nodecutter.js +1 -0
- package/src/editor-manager/plugin/selection-commands.d.ts +2 -1
- package/src/editor-manager/plugin/selection-commands.js +29 -12
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.js +19 -9
- package/src/editor-manager/plugin/toolbar-status.d.ts +1 -0
- package/src/editor-manager/plugin/toolbar-status.js +20 -0
- package/src/rich-text-editor/actions/base-quick-toolbar.js +3 -4
- package/src/rich-text-editor/actions/enter-key.d.ts +18 -0
- package/src/rich-text-editor/actions/enter-key.js +290 -0
- package/src/rich-text-editor/actions/full-screen.js +62 -42
- package/src/rich-text-editor/actions/html-editor.js +30 -20
- package/src/rich-text-editor/actions/paste-clean-up.js +5 -5
- package/src/rich-text-editor/actions/resize.js +4 -4
- 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 +15 -3
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +27 -1
- package/src/rich-text-editor/base/rich-text-editor.d.ts +34 -5
- package/src/rich-text-editor/base/rich-text-editor.js +66 -57
- package/src/rich-text-editor/base/util.d.ts +7 -1
- package/src/rich-text-editor/base/util.js +45 -11
- package/src/rich-text-editor/formatter/formatter.js +9 -7
- package/src/rich-text-editor/models/items.js +3 -3
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +2 -2
- package/src/rich-text-editor/renderer/image-module.d.ts +6 -0
- package/src/rich-text-editor/renderer/image-module.js +70 -26
- package/src/rich-text-editor/renderer/link-module.js +4 -3
- package/src/rich-text-editor/renderer/popup-renderer.js +1 -2
- package/src/rich-text-editor/renderer/render.js +10 -2
- package/src/rich-text-editor/renderer/table-module.js +25 -15
- package/src/rich-text-editor/renderer/toolbar-renderer.js +1 -1
- package/src/rich-text-editor/renderer/view-source.js +21 -3
- package/styles/bootstrap-dark.css +25 -12
- package/styles/bootstrap.css +25 -12
- package/styles/bootstrap4.css +21 -13
- package/styles/bootstrap5-dark.css +3058 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +3058 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/fabric-dark.css +20 -12
- package/styles/fabric.css +20 -12
- package/styles/highcontrast-light.css +20 -12
- package/styles/highcontrast.css +19 -18
- package/styles/material-dark.css +22 -14
- package/styles/material.css +19 -11
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +1 -1
- package/styles/rich-text-editor/_bootstrap-definition.scss +1 -1
- package/styles/rich-text-editor/_bootstrap4-definition.scss +2 -2
- package/styles/rich-text-editor/_bootstrap5-dark-definition.scss +1 -0
- package/styles/rich-text-editor/_bootstrap5-definition.scss +168 -0
- package/styles/rich-text-editor/_fabric-dark-definition.scss +1 -1
- package/styles/rich-text-editor/_fabric-definition.scss +1 -1
- package/styles/rich-text-editor/_highcontrast-definition.scss +2 -2
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +1 -1
- package/styles/rich-text-editor/_layout.scss +64 -7
- package/styles/rich-text-editor/_tailwind-dark-definition.scss +1 -165
- package/styles/rich-text-editor/_tailwind-definition.scss +74 -72
- package/styles/rich-text-editor/_theme.scss +103 -3
- package/styles/rich-text-editor/bootstrap-dark.css +25 -12
- package/styles/rich-text-editor/bootstrap.css +25 -12
- package/styles/rich-text-editor/bootstrap4.css +21 -13
- package/styles/rich-text-editor/bootstrap5-dark.css +3058 -0
- package/styles/rich-text-editor/bootstrap5-dark.scss +4 -0
- package/styles/rich-text-editor/bootstrap5.css +3058 -0
- package/styles/rich-text-editor/bootstrap5.scss +4 -0
- package/styles/rich-text-editor/fabric-dark.css +20 -12
- package/styles/rich-text-editor/fabric.css +20 -12
- package/styles/rich-text-editor/highcontrast-light.css +20 -12
- package/styles/rich-text-editor/highcontrast.css +19 -18
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +1 -1
- package/styles/rich-text-editor/icons/_bootstrap.scss +1 -1
- package/styles/rich-text-editor/icons/_bootstrap4.scss +1 -1
- package/styles/rich-text-editor/icons/_bootstrap5-dark.scss +1 -0
- package/styles/rich-text-editor/icons/_bootstrap5.scss +303 -0
- package/styles/rich-text-editor/icons/_fabric-dark.scss +1 -1
- package/styles/rich-text-editor/icons/_fabric.scss +1 -1
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +1 -1
- package/styles/rich-text-editor/icons/_highcontrast.scss +1 -1
- package/styles/rich-text-editor/icons/_material-dark.scss +1 -1
- package/styles/rich-text-editor/icons/_material.scss +1 -1
- package/styles/rich-text-editor/icons/_tailwind-dark.scss +1 -304
- package/styles/rich-text-editor/icons/_tailwind.scss +2 -2
- package/styles/rich-text-editor/material-dark.css +22 -14
- package/styles/rich-text-editor/material.css +19 -11
- package/styles/rich-text-editor/tailwind-dark.css +51 -20
- package/styles/rich-text-editor/tailwind.css +49 -18
- package/styles/tailwind-dark.css +51 -20
- package/styles/tailwind.css +49 -18
|
@@ -84,7 +84,7 @@ $rte-split-btn-bar-bg: $neutral-tertiary-alt !default;
|
|
|
84
84
|
$rte-split-btn-active-bar-bg: $neutral-tertiary !default;
|
|
85
85
|
$rte-split-btn-bar-size: 1px !default;
|
|
86
86
|
$rte-split-btn-active-border: 0 !default;
|
|
87
|
-
$rte-split-btn-active-color-icon-line-height:
|
|
87
|
+
$rte-split-btn-active-color-icon-line-height: 40px !default;
|
|
88
88
|
$rte-big-split-btn-active-color-icon-line-height: 48px !default;
|
|
89
89
|
|
|
90
90
|
$rte-link-valid-color: #f00 !default;
|
|
@@ -26,7 +26,7 @@ $rte-quick-item-icon-min-width: 20px !default;
|
|
|
26
26
|
$rte-big-quick-item-line-height: normal !default;
|
|
27
27
|
$rte-quick-item-line-height: 25px !default;
|
|
28
28
|
$rte-quick-item-active-bg: $selection-bg !default;
|
|
29
|
-
$rte-quick-item-active-font-color: $
|
|
29
|
+
$rte-quick-item-active-font-color: $content-font !default;
|
|
30
30
|
$rte-quick-item-border: $rte-2px-border-size solid transparent !default;
|
|
31
31
|
$rte-quick-item-hover-border-color: $border-fg !default;
|
|
32
32
|
$rte-quick-item-active-border-color: $selection-bg !default;
|
|
@@ -84,7 +84,7 @@ $rte-split-btn-bar-bg: $border-fg !default;
|
|
|
84
84
|
$rte-split-btn-active-bar-bg: $bg-base-0 !default;
|
|
85
85
|
$rte-split-btn-bar-size: 1.5px !default;
|
|
86
86
|
$rte-split-btn-active-border: 2px solid $selection-bg !default;
|
|
87
|
-
$rte-split-btn-active-color-icon-line-height:
|
|
87
|
+
$rte-split-btn-active-color-icon-line-height: 36px !default;
|
|
88
88
|
$rte-big-split-btn-active-color-icon-line-height: 48px !default;
|
|
89
89
|
|
|
90
90
|
$rte-link-valid-color: #f00 !default;
|
|
@@ -84,7 +84,7 @@ $rte-split-btn-bar-bg: $border-fg !default;
|
|
|
84
84
|
$rte-split-btn-active-bar-bg: $bg-base-0 !default;
|
|
85
85
|
$rte-split-btn-bar-size: 1.5px !default;
|
|
86
86
|
$rte-split-btn-active-border: 2px solid $selection-bg !default;
|
|
87
|
-
$rte-split-btn-active-color-icon-line-height:
|
|
87
|
+
$rte-split-btn-active-color-icon-line-height: 36px !default;
|
|
88
88
|
$rte-big-split-btn-active-color-icon-line-height: 48px !default;
|
|
89
89
|
|
|
90
90
|
$rte-link-valid-color: #f00 !default;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
@if $skin-name == 'tailwind' or $skin-name == '
|
|
14
|
+
@if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
|
|
15
15
|
.e-rte-toolbar .e-toolbar-item .e-dropdown-btn .e-dropdown-btn {
|
|
16
16
|
font-size: $dropdown-btn-big-font-size;
|
|
17
17
|
}
|
|
@@ -189,8 +189,12 @@
|
|
|
189
189
|
padding-left: $rte-drop-btn-padding-left;
|
|
190
190
|
padding-right: $rte-drop-btn-padding-right;
|
|
191
191
|
|
|
192
|
+
@if $skin-name == 'bootstrap5' {
|
|
193
|
+
border: 1px solid $transparent;
|
|
194
|
+
}
|
|
195
|
+
|
|
192
196
|
.e-rte-dropdown-btn-text {
|
|
193
|
-
@if $skin-name == 'tailwind' or $skin-name == '
|
|
197
|
+
@if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
|
|
194
198
|
font-size: $dropdown-btn-font-size;
|
|
195
199
|
}
|
|
196
200
|
font-weight: $font-weight;
|
|
@@ -217,9 +221,9 @@
|
|
|
217
221
|
font-size: 13px;
|
|
218
222
|
}
|
|
219
223
|
|
|
220
|
-
.e-rte-numberformatlist-dropdown .e-
|
|
221
|
-
.e-rte-bulletformatlist-dropdown .e-
|
|
222
|
-
|
|
224
|
+
.e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
225
|
+
.e-rte-bulletformatlist-dropdown .e-rte-list-primary-content {
|
|
226
|
+
line-height: 1;
|
|
223
227
|
}
|
|
224
228
|
|
|
225
229
|
.e-background-color.e-icons::before {
|
|
@@ -1297,6 +1301,17 @@
|
|
|
1297
1301
|
text-align: center;
|
|
1298
1302
|
width: $rte-font-arrow-width;
|
|
1299
1303
|
}
|
|
1304
|
+
|
|
1305
|
+
@if $skin-name == 'bootstrap5' {
|
|
1306
|
+
.e-icons.e-btn-icon {
|
|
1307
|
+
padding-top: 4px;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.e-icons.e-btn-icon.e-caret:not(.e-toolbar-pop) {
|
|
1311
|
+
padding-left: 0;
|
|
1312
|
+
padding-right: 0;
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1300
1315
|
}
|
|
1301
1316
|
|
|
1302
1317
|
button.e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
|
|
@@ -1308,10 +1323,16 @@
|
|
|
1308
1323
|
.e-rte-list-primary-content {
|
|
1309
1324
|
line-height: $rte-split-btn-line-height;
|
|
1310
1325
|
}
|
|
1311
|
-
|
|
1326
|
+
}
|
|
1312
1327
|
|
|
1313
1328
|
.e-dropdown-btn .e-btn-icon.e-caret {
|
|
1314
1329
|
font-size: $rte-dropdown-caret-icon-size;
|
|
1330
|
+
|
|
1331
|
+
@if $skin-name == 'bootstrap5' {
|
|
1332
|
+
&:not(.e-toolbar-pop) {
|
|
1333
|
+
font-size: 12px;
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1315
1336
|
}
|
|
1316
1337
|
}
|
|
1317
1338
|
|
|
@@ -1366,6 +1387,12 @@
|
|
|
1366
1387
|
|
|
1367
1388
|
.e-dropdown-btn .e-caret {
|
|
1368
1389
|
font-size: $rte-big-dropdown-caret-icon-size;
|
|
1390
|
+
|
|
1391
|
+
@if $skin-name == 'bootstrap5' {
|
|
1392
|
+
&.e-btn-icon:not(.e-toolbar-pop) {
|
|
1393
|
+
font-size: 14px;
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1369
1396
|
}
|
|
1370
1397
|
}
|
|
1371
1398
|
}
|
|
@@ -1557,7 +1584,7 @@
|
|
|
1557
1584
|
padding: 0;
|
|
1558
1585
|
}
|
|
1559
1586
|
|
|
1560
|
-
@if $skin-name == 'tailwind'
|
|
1587
|
+
@if $skin-name == 'tailwind' {
|
|
1561
1588
|
.e-rte-table-popup.e-popup.e-popup-open {
|
|
1562
1589
|
box-shadow: $rte-table-popup-box;
|
|
1563
1590
|
}
|
|
@@ -1569,6 +1596,36 @@
|
|
|
1569
1596
|
.e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
1570
1597
|
min-width: 24px;
|
|
1571
1598
|
}
|
|
1599
|
+
|
|
1600
|
+
.e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn.e-btn {
|
|
1601
|
+
line-height: 20px;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
|
|
1605
|
+
.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
|
|
1606
|
+
padding: 0;
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
@if $skin-name == 'bootstrap5' {
|
|
1611
|
+
.e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
|
|
1612
|
+
min-width: 24px;
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
.e-richtexteditor .e-toolbar .e-toolbar-item .e-tbar-btn.e-btn {
|
|
1616
|
+
line-height: 20px;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.e-richtexteditor .e-toolbar .e-insert-table-btn.e-btn .e-icons {
|
|
1620
|
+
padding-bottom: 0;
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
@if $skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' {
|
|
1625
|
+
.e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
|
|
1626
|
+
padding-left: 0;
|
|
1627
|
+
padding-right: 0;
|
|
1628
|
+
}
|
|
1572
1629
|
}
|
|
1573
1630
|
|
|
1574
1631
|
.e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
|
|
@@ -1,165 +1 @@
|
|
|
1
|
-
|
|
2
|
-
$rte-border-size: 1px !default;
|
|
3
|
-
$rte-2px-border-size: 2px !default;
|
|
4
|
-
$rte-border-type: solid !default;
|
|
5
|
-
|
|
6
|
-
$rte-list-btn-flex: column !default;
|
|
7
|
-
$rte-list-btn-line-height: 1 !default;
|
|
8
|
-
$rte-split-btn-line-height: 30px !default;
|
|
9
|
-
$rte-big-split-btn-line-height: 38px !default;
|
|
10
|
-
$skin-name: 'tailwind-dark' !default;
|
|
11
|
-
$rte-border-color: $border-light !default;
|
|
12
|
-
$rte-content-bg: $content-bg-color !default;
|
|
13
|
-
$rte-full-screen-bg: $content-bg-color !default;
|
|
14
|
-
$rte-content-font-color: $content-text-color !default;
|
|
15
|
-
$rte-item-color: $content-text-color !default;
|
|
16
|
-
$rte-icons-color: $content-text-color !default;
|
|
17
|
-
$rte-img-popup-border: 1px solid $border-light !default;
|
|
18
|
-
$rte-img-popup-box-shadow: $shadow !default;
|
|
19
|
-
$rte-img-popup-color: $border-light !default;
|
|
20
|
-
|
|
21
|
-
$rte-big-quick-item-btn-width: 39px !default;
|
|
22
|
-
$rte-quick-item-btn-width: 27px !default;
|
|
23
|
-
$rte-big-quick-item-btn-height: 34px !default;
|
|
24
|
-
$rte-quick-item-btn-height: 26px !default;
|
|
25
|
-
$rte-big-quick-item-padding: 0 !default;
|
|
26
|
-
$rte-quick-item-padding: 0 !default;
|
|
27
|
-
$rte-quick-item-icon-min-width: 24px !default;
|
|
28
|
-
$rte-big-quick-item-line-height: $leading-normal !default;
|
|
29
|
-
$rte-quick-item-active-bg: $secondary-bg-color-pressed !default;
|
|
30
|
-
$rte-quick-item-active-font-color: $icon-color !default;
|
|
31
|
-
$rte-quick-item-border: 0 !default;
|
|
32
|
-
$rte-quick-item-hover-border-color: $secondary-border-color-hover !default;
|
|
33
|
-
$rte-quick-item-active-border-color: $secondary-border-color-pressed !default;
|
|
34
|
-
$rte-content-padding: 11px 12px 12px 13px !default;
|
|
35
|
-
|
|
36
|
-
$rte-big-quick-drop-btn-line-height: 33px !default;
|
|
37
|
-
$rte-quick-drop-btn-line-height: 24px !default;
|
|
38
|
-
$rte-big-quick-drop-btn-margin: 4px 0 !default;
|
|
39
|
-
$rte-quick-drop-btn-margin: 4px 0 !default;
|
|
40
|
-
$rte-big-quick-drop-btn-padding: 0 !default;
|
|
41
|
-
$rte-quick-drop-btn-padding: 1px 0 !default;
|
|
42
|
-
$rte-big-quick-drop-btn-icon-size: 16px !default;
|
|
43
|
-
$rte-quick-drop-btn-icon-size: 14px !default;
|
|
44
|
-
$rte-big-quick-drop-btn-caret-icon-size: 10px !default;
|
|
45
|
-
$rte-quick-drop-btn-caret-icon-size: 12px !default;
|
|
46
|
-
$rte-big-quick-drop-btn-caret-font-size: 12px !default;
|
|
47
|
-
$rte-quick-drop-btn-caret-font-size: 10px !default;
|
|
48
|
-
$rte-quick-drop-btn-border-color: $content-bg-color-alt2 !default;
|
|
49
|
-
$rte-quick-drop-btn-hover-border-color: $content-bg-color-alt2 !default;
|
|
50
|
-
$rte-extended-toolbar-background: $content-bg-color-alt2 !default;
|
|
51
|
-
$rte-quick-pop-border: none !default;
|
|
52
|
-
$rte-quick-tb-border: 1px solid $border-light !default;
|
|
53
|
-
$rte-quick-pop-bg: $content-bg-color-alt2 !default;
|
|
54
|
-
$rte-quick-vr-line-color: $border-light !default;
|
|
55
|
-
$rte-quick-pop-shadow: $shadow !default;
|
|
56
|
-
$rte-quick-pop-item-focus-bg: $secondary-bg-color-pressed !default;
|
|
57
|
-
$rte-quick-tb-btn-hover: $secondary-bg-color-pressed !default;
|
|
58
|
-
|
|
59
|
-
$rte-big-tb-items-margin-left: 3px !default;
|
|
60
|
-
$rte-tb-items-margin-left: 7px !default;
|
|
61
|
-
$rte-big-tb-items-padding-left: 3px !default;
|
|
62
|
-
$rte-tb-items-padding-left: 7px !default;
|
|
63
|
-
$rte-active-tb-item-btn-padding: 0 1.5px !default;
|
|
64
|
-
$rte-tb-item-active-bg: $secondary-bg-color-pressed !default;
|
|
65
|
-
$rte-tb-active-font-color: $icon-color !default;
|
|
66
|
-
$rte-tb-item-active-border: 1px solid $secondary-border-color-pressed !default;
|
|
67
|
-
$rte-expand-tb-border-bottom: $rte-border-size $rte-border-type $border-light !default;
|
|
68
|
-
$rte-color-picker-active-bg: inherit !default;
|
|
69
|
-
$rte-drop-btn-active-bg: $secondary-bg-color-pressed !default;
|
|
70
|
-
$rte-drop-btn-active-color: $icon-color !default;
|
|
71
|
-
$rte-drop-btn-active-border-color: $secondary-border-color-pressed !default;
|
|
72
|
-
$rte-split-btn-active-hover-font-color: $icon-color !default;
|
|
73
|
-
|
|
74
|
-
$rte-split-btn-color: $secondary-bg-color-pressed !default;
|
|
75
|
-
$rte-split-btn-active-color: $icon-color !default;
|
|
76
|
-
$rte-split-btn-hover-bg: $secondary-bg-color-pressed !default;
|
|
77
|
-
$rte-split-btn-active-bg: $secondary-bg-color-pressed !default;
|
|
78
|
-
$rte-split-btn-span-hover-bg: $secondary-bg-color-pressed !default;
|
|
79
|
-
$rte-split-btn-span-focus-bg: $secondary-bg-color-hover !default;
|
|
80
|
-
$rte-split-btn-span-active-bg: $secondary-bg-color-pressed !default;
|
|
81
|
-
$rte-split-btn-bar-bg: $content-bg-color !default;
|
|
82
|
-
$rte-split-btn-active-bar-bg: $content-bg-color !default;
|
|
83
|
-
$rte-split-btn-bar-size: 0 !default;
|
|
84
|
-
$rte-split-btn-active-border: 0 !default;
|
|
85
|
-
$rte-split-btn-active-color-icon-line-height: 25px !default;
|
|
86
|
-
$rte-big-split-btn-active-color-icon-line-height: 35px !default;
|
|
87
|
-
|
|
88
|
-
$rte-link-valid-color: $danger !default;
|
|
89
|
-
$rte-upload-drag-border-clr: $border-dark !default;
|
|
90
|
-
$rte-img-header-clr: $content-text-color-alt1 !default;
|
|
91
|
-
$rte-drop-text-clr: $content-text-color-alt2 !default;
|
|
92
|
-
$rte-default-character-count-color: $content-text-color-disabled !default;
|
|
93
|
-
$rte-warning-character-count-color: $warning !default;
|
|
94
|
-
$rte-error-character-count-color: $danger !default;
|
|
95
|
-
$rte-img-border: solid 2px #4a90e2 !default;
|
|
96
|
-
$rte-font-family: $font-family !default;
|
|
97
|
-
$rte-content-color: $content-text-color !default;
|
|
98
|
-
$rte-content-blockquote-border-left-color: solid 2px $content-text-color !default;
|
|
99
|
-
$rte-dropdown-selection-bgcolor: $secondary-bg-color-pressed !default;
|
|
100
|
-
$rte-format-btn-min-width: 0 !default;
|
|
101
|
-
$rte-font-name-btn-min-width: 0 !default;
|
|
102
|
-
$rte-font-size-btn-min-width: 0 !default;
|
|
103
|
-
$rte-drop-btn-padding-left: 7px !default;
|
|
104
|
-
$dropdown-btn-font-size: $text-sm;
|
|
105
|
-
$dropdown-btn-big-font-size: $text-base;
|
|
106
|
-
$rte-drop-btn-padding-right: 2.5px !default;
|
|
107
|
-
$rte-drop-btn-action-padding-left: 7px !default;
|
|
108
|
-
$rte-drop-btn-action-padding-right: 2.5px !default;
|
|
109
|
-
$rte-big-drop-btn-padding-left: 10px !default;
|
|
110
|
-
$rte-big-drop-btn-padding-right: 6px !default;
|
|
111
|
-
$rte-big-drop-btn-action-padding-left: 10px !default;
|
|
112
|
-
$rte-big-drop-btn-action-padding-right: 6px !default;
|
|
113
|
-
$rte-ext-tbar-overlay-icons-color: $icon-color-disabled !default;
|
|
114
|
-
$rte-colorpicker-parent-padding: 0 !default;
|
|
115
|
-
$rte-colorpicker-parent-padding-hover: 0 !default;
|
|
116
|
-
$rte-colorpicker-parent-padding-active-hover: 0 !default;
|
|
117
|
-
$rte-overlay-color: $overlay-bg-color !default;
|
|
118
|
-
$rte-dropdown-selection-color: $content-text-color-selected !default;
|
|
119
|
-
$rte-font-icon-width: 30px !default;
|
|
120
|
-
$rte-font-arrow-width: 18px !default;
|
|
121
|
-
$rte-font-arrow-touch-width: 20px !default;
|
|
122
|
-
$rte-font-icon-line-height: $leading-tight !default;
|
|
123
|
-
$rte-anchor-color: $info !default;
|
|
124
|
-
$rte-ext-tbar-overlay-dropdown-color: $content-bg-color-alt4 !default;
|
|
125
|
-
$rte-placeholder-line-height: $leading-normal !default;
|
|
126
|
-
$rte-img-resize-back-color: $primary !default;
|
|
127
|
-
$rte-img-resize-color: $primary-text-color !default;
|
|
128
|
-
$rte-table-header-color: $content-text-color !default;
|
|
129
|
-
$rte-table-span-bg-color: $content-bg-color !default;
|
|
130
|
-
$rte-table-span-border: 1px solid $border-light !default;
|
|
131
|
-
$rte-table-span-active-bg-color: $primary-lighter !default;
|
|
132
|
-
$rte-table-span-active-border-color: $primary !default;
|
|
133
|
-
$rte-table-select-border-color: $primary !default;
|
|
134
|
-
$rte-table-popup-bg: $content-bg-color !default;
|
|
135
|
-
$rte-table-popup-color: $border-light !default;
|
|
136
|
-
$rte-table-popup-box: $shadow !default;
|
|
137
|
-
$rte-table-border-color: $border-light !default;
|
|
138
|
-
$rte-table-alternate-color: $content-bg-color-alt1 !default;
|
|
139
|
-
$rte-table-header-bg: $content-bg-color-alt1 !default;
|
|
140
|
-
$rte-big-active-tb-item-btn-padding: 0 6px !default;
|
|
141
|
-
$rte-table-popup-padding: 18px 18px 8px 22px !default;
|
|
142
|
-
$rte-toolbar-icon-size: $text-sm !default;
|
|
143
|
-
$rte-toolbar-big-icon-size: $text-base !default;
|
|
144
|
-
|
|
145
|
-
$rte-insert-dialog-label-padding-top: 12px !default;
|
|
146
|
-
$rte-insert-dialog-label-padding-bottom: 3px !default;
|
|
147
|
-
$rte-big-quick-tbar-item-min-height: 34px !default;
|
|
148
|
-
$rte-big-quick-tbar-item-min-width: 39px !default;
|
|
149
|
-
$rte-content-font-size: $text-sm !default;
|
|
150
|
-
$rte-dropdown-caret-icon-size: $text-xs !default;
|
|
151
|
-
$rte-big-dropdown-caret-icon-size: $text-sm !default;
|
|
152
|
-
$font-weight: 400 !default;
|
|
153
|
-
$rte-table-popup-bdr-radius: 2px !default;
|
|
154
|
-
$rte-resize-handler-width: 15px;
|
|
155
|
-
$rte-resize-handler-height: 15px;
|
|
156
|
-
$rte-resize-handler-position: 0;
|
|
157
|
-
|
|
158
|
-
$rte-big-inline-tmp-min-width: 48px;
|
|
159
|
-
$rte-inline-tmp-min-width: 55px;
|
|
160
|
-
$rte-big-inline-tmp-size-min-width: 59px;
|
|
161
|
-
$rte-inline-tmp-size-min-width: 66px;
|
|
162
|
-
$rte-big-inline-tmp-color-min-width: 50px;
|
|
163
|
-
$rte-inline-tmp-color-min-width: 55px;
|
|
164
|
-
|
|
165
|
-
$rte-big-color-list-span-common-padding-left-right: 0;
|
|
1
|
+
@import './tailwind-definition.scss';
|
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
$skin-name: 'tailwind' !default;
|
|
2
|
+
//Layout Variables Start
|
|
2
3
|
$rte-border-size: 1px !default;
|
|
3
4
|
$rte-2px-border-size: 2px !default;
|
|
4
5
|
$rte-border-type: solid !default;
|
|
5
|
-
|
|
6
6
|
$rte-list-btn-flex: column !default;
|
|
7
7
|
$rte-list-btn-line-height: 1 !default;
|
|
8
8
|
$rte-split-btn-line-height: 30px !default;
|
|
9
9
|
$rte-big-split-btn-line-height: 38px !default;
|
|
10
|
-
$skin-name: 'tailwind' !default;
|
|
11
|
-
$rte-border-color: $border-light !default;
|
|
12
|
-
$rte-content-bg: $content-bg-color !default;
|
|
13
|
-
$rte-full-screen-bg: $content-bg-color !default;
|
|
14
|
-
$rte-content-font-color: $content-text-color !default;
|
|
15
|
-
$rte-item-color: $content-text-color !default;
|
|
16
|
-
$rte-icons-color: $content-text-color !default;
|
|
17
|
-
$rte-img-popup-border: 1px solid $border-light !default;
|
|
18
|
-
$rte-img-popup-box-shadow: $shadow !default;
|
|
19
|
-
$rte-img-popup-color: $border-light !default;
|
|
20
|
-
|
|
21
10
|
$rte-big-quick-item-btn-width: 39px !default;
|
|
22
11
|
$rte-quick-item-btn-width: 27px !default;
|
|
23
12
|
$rte-big-quick-item-btn-height: 34px !default;
|
|
@@ -26,15 +15,9 @@ $rte-big-quick-item-padding: 0 !default;
|
|
|
26
15
|
$rte-quick-item-padding: 0 !default;
|
|
27
16
|
$rte-quick-item-icon-min-width: 24px !default;
|
|
28
17
|
$rte-big-quick-item-line-height: $leading-normal !default;
|
|
29
|
-
$rte-quick-item-active-bg: $secondary-bg-color-pressed !default;
|
|
30
|
-
$rte-quick-item-active-font-color: $icon-color !default;
|
|
31
|
-
$rte-quick-item-border: 0 !default;
|
|
32
|
-
$rte-quick-item-hover-border-color: $secondary-border-color-hover !default;
|
|
33
|
-
$rte-quick-item-active-border-color: $secondary-border-color-pressed !default;
|
|
34
18
|
$rte-content-padding: 11px 12px 12px 13px !default;
|
|
35
19
|
$rte-toolbar-icon-size: $text-sm !default;
|
|
36
20
|
$rte-toolbar-big-icon-size: $text-base !default;
|
|
37
|
-
|
|
38
21
|
$rte-big-quick-drop-btn-line-height: 33px !default;
|
|
39
22
|
$rte-quick-drop-btn-line-height: 24px !default;
|
|
40
23
|
$rte-big-quick-drop-btn-margin: 4px 0 !default;
|
|
@@ -47,6 +30,74 @@ $rte-big-quick-drop-btn-caret-icon-size: 10px !default;
|
|
|
47
30
|
$rte-quick-drop-btn-caret-icon-size: 12px !default;
|
|
48
31
|
$rte-big-quick-drop-btn-caret-font-size: 12px !default;
|
|
49
32
|
$rte-quick-drop-btn-caret-font-size: 10px !default;
|
|
33
|
+
$rte-big-tb-items-margin-left: 3px !default;
|
|
34
|
+
$rte-tb-items-margin-left: 7px !default;
|
|
35
|
+
$rte-big-tb-items-padding-left: 3px !default;
|
|
36
|
+
$rte-tb-items-padding-left: 7px !default;
|
|
37
|
+
$rte-active-tb-item-btn-padding: 0 !default;
|
|
38
|
+
$rte-split-btn-bar-size: 0 !default;
|
|
39
|
+
$rte-split-btn-active-border: 0 !default;
|
|
40
|
+
$rte-split-btn-active-color-icon-line-height: 30px !default;
|
|
41
|
+
$rte-big-split-btn-active-color-icon-line-height: 35px !default;
|
|
42
|
+
$rte-format-btn-min-width: 0 !default;
|
|
43
|
+
$rte-font-name-btn-min-width: 0 !default;
|
|
44
|
+
$rte-font-size-btn-min-width: 0 !default;
|
|
45
|
+
$rte-drop-btn-padding-left: 7px !default;
|
|
46
|
+
$dropdown-btn-font-size: $text-sm;
|
|
47
|
+
$dropdown-btn-big-font-size: $text-base;
|
|
48
|
+
$rte-drop-btn-padding-right: 2.5px !default;
|
|
49
|
+
$rte-drop-btn-action-padding-left: 6px !default;
|
|
50
|
+
$rte-drop-btn-action-padding-right: 1.5px !default;
|
|
51
|
+
$rte-big-drop-btn-padding-left: 10px !default;
|
|
52
|
+
$rte-big-drop-btn-padding-right: 6px !default;
|
|
53
|
+
$rte-big-drop-btn-action-padding-left: 10px !default;
|
|
54
|
+
$rte-big-drop-btn-action-padding-right: 6px !default;
|
|
55
|
+
$rte-colorpicker-parent-padding: 1px !default;
|
|
56
|
+
$rte-colorpicker-parent-padding-hover: 0 !default;
|
|
57
|
+
$rte-colorpicker-parent-padding-active-hover: 0 !default;
|
|
58
|
+
$rte-font-icon-width: 30px !default;
|
|
59
|
+
$rte-font-arrow-width: 18px !default;
|
|
60
|
+
$rte-font-arrow-touch-width: 20px !default;
|
|
61
|
+
$rte-font-icon-line-height: $leading-tight !default;
|
|
62
|
+
$rte-placeholder-line-height: $leading-normal !default;
|
|
63
|
+
$rte-big-active-tb-item-btn-padding: 0 6px !default;
|
|
64
|
+
$rte-table-popup-padding: 18px 18px 8px 22px !default;
|
|
65
|
+
$rte-insert-dialog-label-padding-top: 12px !default;
|
|
66
|
+
$rte-insert-dialog-label-padding-bottom: 3px !default;
|
|
67
|
+
$rte-big-quick-tbar-item-min-height: 34px !default;
|
|
68
|
+
$rte-big-quick-tbar-item-min-width: 39px !default;
|
|
69
|
+
$rte-content-font-size: $text-sm !default;
|
|
70
|
+
$rte-dropdown-caret-icon-size: $text-xs !default;
|
|
71
|
+
$rte-big-dropdown-caret-icon-size: $text-sm !default;
|
|
72
|
+
$font-weight: 400 !default;
|
|
73
|
+
$rte-table-popup-bdr-radius: 2px !default;
|
|
74
|
+
$rte-resize-handler-width: 15px;
|
|
75
|
+
$rte-resize-handler-height: 15px;
|
|
76
|
+
$rte-resize-handler-position: 0;
|
|
77
|
+
$rte-big-inline-tmp-min-width: 48px;
|
|
78
|
+
$rte-inline-tmp-min-width: 55px;
|
|
79
|
+
$rte-big-inline-tmp-size-min-width: 59px;
|
|
80
|
+
$rte-inline-tmp-size-min-width: 66px;
|
|
81
|
+
$rte-big-inline-tmp-color-min-width: 50px;
|
|
82
|
+
$rte-inline-tmp-color-min-width: 55px;
|
|
83
|
+
$rte-big-color-list-span-common-padding-left-right: 0;
|
|
84
|
+
//Layout Variables End
|
|
85
|
+
|
|
86
|
+
//Theme Variables Start
|
|
87
|
+
$rte-border-color: $border-light !default;
|
|
88
|
+
$rte-content-bg: $content-bg-color !default;
|
|
89
|
+
$rte-full-screen-bg: $content-bg-color !default;
|
|
90
|
+
$rte-content-font-color: $content-text-color !default;
|
|
91
|
+
$rte-item-color: $content-text-color !default;
|
|
92
|
+
$rte-icons-color: $content-text-color !default;
|
|
93
|
+
$rte-img-popup-border: 1px solid $border-light !default;
|
|
94
|
+
$rte-img-popup-box-shadow: $shadow !default;
|
|
95
|
+
$rte-img-popup-color: $border-light !default;
|
|
96
|
+
$rte-quick-item-active-bg: $secondary-bg-color-pressed !default;
|
|
97
|
+
$rte-quick-item-active-font-color: $icon-color !default;
|
|
98
|
+
$rte-quick-item-border: 0 !default;
|
|
99
|
+
$rte-quick-item-hover-border-color: $secondary-border-color-hover !default;
|
|
100
|
+
$rte-quick-item-active-border-color: $secondary-border-color-pressed !default;
|
|
50
101
|
$rte-quick-drop-btn-border-color: $content-bg-color-alt2 !default;
|
|
51
102
|
$rte-quick-drop-btn-hover-border-color: $content-bg-color-alt2 !default;
|
|
52
103
|
$rte-extended-toolbar-background: $content-bg-color-alt2 !default;
|
|
@@ -57,12 +108,6 @@ $rte-quick-vr-line-color: $border-light !default;
|
|
|
57
108
|
$rte-quick-pop-shadow: $shadow !default;
|
|
58
109
|
$rte-quick-pop-item-focus-bg: $secondary-bg-color-pressed !default;
|
|
59
110
|
$rte-quick-tb-btn-hover: $secondary-bg-color-pressed !default;
|
|
60
|
-
|
|
61
|
-
$rte-big-tb-items-margin-left: 3px !default;
|
|
62
|
-
$rte-tb-items-margin-left: 7px !default;
|
|
63
|
-
$rte-big-tb-items-padding-left: 3px !default;
|
|
64
|
-
$rte-tb-items-padding-left: 7px !default;
|
|
65
|
-
$rte-active-tb-item-btn-padding: 0 1.5px !default;
|
|
66
111
|
$rte-tb-item-active-bg: $secondary-bg-color-pressed !default;
|
|
67
112
|
$rte-tb-active-font-color: $icon-color !default;
|
|
68
113
|
$rte-tb-item-active-border: 1px solid $secondary-border-color-pressed !default;
|
|
@@ -72,7 +117,6 @@ $rte-drop-btn-active-bg: $secondary-bg-color-pressed !default;
|
|
|
72
117
|
$rte-drop-btn-active-color: $icon-color !default;
|
|
73
118
|
$rte-drop-btn-active-border-color: $secondary-border-color-pressed !default;
|
|
74
119
|
$rte-split-btn-active-hover-font-color: $icon-color !default;
|
|
75
|
-
|
|
76
120
|
$rte-split-btn-color: $secondary-bg-color-pressed !default;
|
|
77
121
|
$rte-split-btn-active-color: $icon-color !default;
|
|
78
122
|
$rte-split-btn-hover-bg: $secondary-bg-color-pressed !default;
|
|
@@ -84,8 +128,8 @@ $rte-split-btn-bar-bg: $content-bg-color !default;
|
|
|
84
128
|
$rte-split-btn-active-bar-bg: $content-bg-color !default;
|
|
85
129
|
$rte-split-btn-bar-size: 0 !default;
|
|
86
130
|
$rte-split-btn-active-border: 0 !default;
|
|
87
|
-
$rte-split-btn-active-color-icon-line-height:
|
|
88
|
-
$rte-big-split-btn-active-color-icon-line-height:
|
|
131
|
+
$rte-split-btn-active-color-icon-line-height: 30px !default;
|
|
132
|
+
$rte-big-split-btn-active-color-icon-line-height: 38px !default;
|
|
89
133
|
|
|
90
134
|
$rte-link-valid-color: $danger !default;
|
|
91
135
|
$rte-upload-drag-border-clr: $border-dark !default;
|
|
@@ -99,32 +143,11 @@ $rte-font-family: $font-family !default;
|
|
|
99
143
|
$rte-content-color: $content-text-color !default;
|
|
100
144
|
$rte-content-blockquote-border-left-color: solid 2px $content-text-color !default;
|
|
101
145
|
$rte-dropdown-selection-bgcolor: $secondary-bg-color-pressed !default;
|
|
102
|
-
$rte-format-btn-min-width: 0 !default;
|
|
103
|
-
$rte-font-name-btn-min-width: 0 !default;
|
|
104
|
-
$rte-font-size-btn-min-width: 0 !default;
|
|
105
|
-
$rte-drop-btn-padding-left: 7px !default;
|
|
106
|
-
$dropdown-btn-font-size: $text-sm;
|
|
107
|
-
$dropdown-btn-big-font-size: $text-base;
|
|
108
|
-
$rte-drop-btn-padding-right: 2.5px !default;
|
|
109
|
-
$rte-drop-btn-action-padding-left: 7px !default;
|
|
110
|
-
$rte-drop-btn-action-padding-right: 2.5px !default;
|
|
111
|
-
$rte-big-drop-btn-padding-left: 10px !default;
|
|
112
|
-
$rte-big-drop-btn-padding-right: 6px !default;
|
|
113
|
-
$rte-big-drop-btn-action-padding-left: 10px !default;
|
|
114
|
-
$rte-big-drop-btn-action-padding-right: 6px !default;
|
|
115
146
|
$rte-ext-tbar-overlay-icons-color: $icon-color-disabled !default;
|
|
116
|
-
$rte-colorpicker-parent-padding: 0 !default;
|
|
117
|
-
$rte-colorpicker-parent-padding-hover: 0 !default;
|
|
118
|
-
$rte-colorpicker-parent-padding-active-hover: 0 !default;
|
|
119
147
|
$rte-overlay-color: $overlay-bg-color !default;
|
|
120
148
|
$rte-dropdown-selection-color: $content-text-color-selected !default;
|
|
121
|
-
$rte-font-icon-width: 30px !default;
|
|
122
|
-
$rte-font-arrow-width: 18px !default;
|
|
123
|
-
$rte-font-arrow-touch-width: 20px !default;
|
|
124
|
-
$rte-font-icon-line-height: $leading-tight !default;
|
|
125
149
|
$rte-anchor-color: $info !default;
|
|
126
150
|
$rte-ext-tbar-overlay-dropdown-color: $content-bg-color-alt4 !default;
|
|
127
|
-
$rte-placeholder-line-height: $leading-normal !default;
|
|
128
151
|
$rte-img-resize-back-color: $primary !default;
|
|
129
152
|
$rte-img-resize-color: $primary-text-color !default;
|
|
130
153
|
$rte-table-header-color: $content-text-color !default;
|
|
@@ -139,27 +162,6 @@ $rte-table-popup-box: $shadow !default;
|
|
|
139
162
|
$rte-table-border-color: $border-light !default;
|
|
140
163
|
$rte-table-alternate-color: $content-bg-color-alt1 !default;
|
|
141
164
|
$rte-table-header-bg: $content-bg-color-alt1 !default;
|
|
142
|
-
|
|
143
|
-
$rte-table-popup-padding: 18px 18px 8px 22px !default;
|
|
144
|
-
|
|
145
|
-
$rte-insert-dialog-label-padding-top: 12px !default;
|
|
146
|
-
$rte-insert-dialog-label-padding-bottom: 3px !default;
|
|
147
|
-
$rte-big-quick-tbar-item-min-height: 34px !default;
|
|
148
|
-
$rte-big-quick-tbar-item-min-width: 39px !default;
|
|
149
|
-
$rte-content-font-size: $text-sm !default;
|
|
150
|
-
$rte-dropdown-caret-icon-size: $text-xs !default;
|
|
151
|
-
$rte-big-dropdown-caret-icon-size: $text-sm !default;
|
|
152
|
-
$font-weight: 400 !default;
|
|
153
|
-
$rte-table-popup-bdr-radius: 2px !default;
|
|
154
|
-
$rte-resize-handler-width: 15px;
|
|
155
|
-
$rte-resize-handler-height: 15px;
|
|
156
|
-
$rte-resize-handler-position: 0;
|
|
165
|
+
//Theme Variables End
|
|
157
166
|
|
|
158
|
-
$rte-
|
|
159
|
-
$rte-inline-tmp-min-width: 55px;
|
|
160
|
-
$rte-big-inline-tmp-size-min-width: 59px;
|
|
161
|
-
$rte-inline-tmp-size-min-width: 66px;
|
|
162
|
-
$rte-big-inline-tmp-color-min-width: 50px;
|
|
163
|
-
$rte-inline-tmp-color-min-width: 55px;
|
|
164
|
-
|
|
165
|
-
$rte-big-color-list-span-common-padding-left-right: 0;
|
|
167
|
+
$rte-tb-hover-bg-color: $content-bg-color-alt1
|