ct-rich-text-editor 1.3.0 → 1.3.2
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/dist/assets/style.css +465 -239
- package/dist/components/FormatTextMenu/FormatTextMenuDrop.d.ts +5 -0
- package/dist/{html2pdf.bundle-0fecc54c.js → html2pdf.bundle-7d125fec.js} +2 -2
- package/dist/{html2pdf.bundle-0fecc54c.js.map → html2pdf.bundle-7d125fec.js.map} +1 -1
- package/dist/{html2pdf.bundle.min-d9d93bc1.js → html2pdf.bundle.min-96e9ee6a.js} +2 -2
- package/dist/{html2pdf.bundle.min-d9d93bc1.js.map → html2pdf.bundle.min-96e9ee6a.js.map} +1 -1
- package/dist/{index-7aab7b5a.js → index-413952d9.js} +1554 -974
- package/dist/index-413952d9.js.map +1 -0
- package/dist/{index-113e3eb2.js → index-91e0322d.js} +7 -11
- package/dist/index-91e0322d.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/plugins/CombinedAutocompletGrammarPlugin.d.ts +22 -0
- package/dist/ui/Icons.d.ts +2 -1
- package/package.json +1 -1
- package/dist/index-113e3eb2.js.map +0 -1
- package/dist/index-7aab7b5a.js.map +0 -1
package/dist/assets/style.css
CHANGED
|
@@ -751,10 +751,6 @@ video {
|
|
|
751
751
|
margin-bottom: 1rem;
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
-
.cteditor-ml-1{
|
|
755
|
-
margin-left: 0.25rem;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
754
|
.cteditor-ml-2{
|
|
759
755
|
margin-left: 0.5rem;
|
|
760
756
|
}
|
|
@@ -775,10 +771,6 @@ video {
|
|
|
775
771
|
margin-right: 0.5rem;
|
|
776
772
|
}
|
|
777
773
|
|
|
778
|
-
.cteditor-mr-4{
|
|
779
|
-
margin-right: 1rem;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
774
|
.cteditor-mt-0\.5{
|
|
783
775
|
margin-top: 0.125rem;
|
|
784
776
|
}
|
|
@@ -815,6 +807,10 @@ video {
|
|
|
815
807
|
display: inline-block;
|
|
816
808
|
}
|
|
817
809
|
|
|
810
|
+
.cteditor-inline{
|
|
811
|
+
display: inline;
|
|
812
|
+
}
|
|
813
|
+
|
|
818
814
|
.cteditor-flex{
|
|
819
815
|
display: flex;
|
|
820
816
|
}
|
|
@@ -875,6 +871,11 @@ video {
|
|
|
875
871
|
height: 1.5rem;
|
|
876
872
|
}
|
|
877
873
|
|
|
874
|
+
.cteditor-size-8{
|
|
875
|
+
width: 2rem;
|
|
876
|
+
height: 2rem;
|
|
877
|
+
}
|
|
878
|
+
|
|
878
879
|
.cteditor-size-9{
|
|
879
880
|
width: 2.25rem;
|
|
880
881
|
height: 2.25rem;
|
|
@@ -957,6 +958,10 @@ video {
|
|
|
957
958
|
height: var(--radix-select-trigger-height);
|
|
958
959
|
}
|
|
959
960
|
|
|
961
|
+
.cteditor-h-auto{
|
|
962
|
+
height: auto;
|
|
963
|
+
}
|
|
964
|
+
|
|
960
965
|
.cteditor-h-full{
|
|
961
966
|
height: 100%;
|
|
962
967
|
}
|
|
@@ -965,6 +970,14 @@ video {
|
|
|
965
970
|
height: 1px;
|
|
966
971
|
}
|
|
967
972
|
|
|
973
|
+
.cteditor-max-h-44{
|
|
974
|
+
max-height: 11rem;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.cteditor-max-h-56{
|
|
978
|
+
max-height: 14rem;
|
|
979
|
+
}
|
|
980
|
+
|
|
968
981
|
.cteditor-max-h-60{
|
|
969
982
|
max-height: 15rem;
|
|
970
983
|
}
|
|
@@ -1021,10 +1034,6 @@ video {
|
|
|
1021
1034
|
width: 2.25rem !important;
|
|
1022
1035
|
}
|
|
1023
1036
|
|
|
1024
|
-
.\!cteditor-w-\[120px\]{
|
|
1025
|
-
width: 120px !important;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
1037
|
.\!cteditor-w-full{
|
|
1029
1038
|
width: 100% !important;
|
|
1030
1039
|
}
|
|
@@ -1093,10 +1102,6 @@ video {
|
|
|
1093
1102
|
width: 2rem;
|
|
1094
1103
|
}
|
|
1095
1104
|
|
|
1096
|
-
.cteditor-w-80{
|
|
1097
|
-
width: 20rem;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
1105
|
.cteditor-w-9{
|
|
1101
1106
|
width: 2.25rem;
|
|
1102
1107
|
}
|
|
@@ -1109,6 +1114,10 @@ video {
|
|
|
1109
1114
|
width: 1px;
|
|
1110
1115
|
}
|
|
1111
1116
|
|
|
1117
|
+
.cteditor-w-\[20rem\]{
|
|
1118
|
+
width: 20rem;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1112
1121
|
.cteditor-w-\[400px\]{
|
|
1113
1122
|
width: 400px;
|
|
1114
1123
|
}
|
|
@@ -1161,6 +1170,10 @@ video {
|
|
|
1161
1170
|
max-width: 32rem;
|
|
1162
1171
|
}
|
|
1163
1172
|
|
|
1173
|
+
.cteditor-max-w-xs{
|
|
1174
|
+
max-width: 20rem;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1164
1177
|
.cteditor-flex-1{
|
|
1165
1178
|
flex: 1 1 0%;
|
|
1166
1179
|
}
|
|
@@ -1219,6 +1232,12 @@ video {
|
|
|
1219
1232
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1220
1233
|
}
|
|
1221
1234
|
|
|
1235
|
+
.cteditor-scale-\[5\]{
|
|
1236
|
+
--tw-scale-x: 5;
|
|
1237
|
+
--tw-scale-y: 5;
|
|
1238
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1222
1241
|
@keyframes cteditor-pulse{
|
|
1223
1242
|
|
|
1224
1243
|
50%{
|
|
@@ -1284,6 +1303,10 @@ video {
|
|
|
1284
1303
|
flex-wrap: wrap;
|
|
1285
1304
|
}
|
|
1286
1305
|
|
|
1306
|
+
.cteditor-flex-nowrap{
|
|
1307
|
+
flex-wrap: nowrap;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1287
1310
|
.cteditor-items-start{
|
|
1288
1311
|
align-items: flex-start;
|
|
1289
1312
|
}
|
|
@@ -1292,6 +1315,10 @@ video {
|
|
|
1292
1315
|
align-items: center;
|
|
1293
1316
|
}
|
|
1294
1317
|
|
|
1318
|
+
.\!cteditor-justify-start{
|
|
1319
|
+
justify-content: flex-start !important;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1295
1322
|
.cteditor-justify-start{
|
|
1296
1323
|
justify-content: flex-start;
|
|
1297
1324
|
}
|
|
@@ -1388,10 +1415,6 @@ video {
|
|
|
1388
1415
|
margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
|
|
1389
1416
|
}
|
|
1390
1417
|
|
|
1391
|
-
.cteditor-overflow-auto{
|
|
1392
|
-
overflow: auto;
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
1418
|
.cteditor-overflow-hidden{
|
|
1396
1419
|
overflow: hidden;
|
|
1397
1420
|
}
|
|
@@ -1408,6 +1431,10 @@ video {
|
|
|
1408
1431
|
overflow-x: hidden;
|
|
1409
1432
|
}
|
|
1410
1433
|
|
|
1434
|
+
.cteditor-overflow-y-hidden{
|
|
1435
|
+
overflow-y: hidden;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1411
1438
|
.cteditor-truncate{
|
|
1412
1439
|
overflow: hidden;
|
|
1413
1440
|
text-overflow: ellipsis;
|
|
@@ -1471,10 +1498,18 @@ video {
|
|
|
1471
1498
|
border-width: 2px;
|
|
1472
1499
|
}
|
|
1473
1500
|
|
|
1501
|
+
.cteditor-border-\[1px\]{
|
|
1502
|
+
border-width: 1px;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1474
1505
|
.cteditor-border-b{
|
|
1475
1506
|
border-bottom-width: 1px;
|
|
1476
1507
|
}
|
|
1477
1508
|
|
|
1509
|
+
.cteditor-border-b-2{
|
|
1510
|
+
border-bottom-width: 2px;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1478
1513
|
.cteditor-border-l{
|
|
1479
1514
|
border-left-width: 1px;
|
|
1480
1515
|
}
|
|
@@ -1495,6 +1530,10 @@ video {
|
|
|
1495
1530
|
border-style: dashed;
|
|
1496
1531
|
}
|
|
1497
1532
|
|
|
1533
|
+
.\!cteditor-border-none{
|
|
1534
|
+
border-style: none !important;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1498
1537
|
.cteditor-border-none{
|
|
1499
1538
|
border-style: none;
|
|
1500
1539
|
}
|
|
@@ -1513,6 +1552,10 @@ video {
|
|
|
1513
1552
|
border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
|
|
1514
1553
|
}
|
|
1515
1554
|
|
|
1555
|
+
.cteditor-border-background\/20{
|
|
1556
|
+
border-color: hsl(var(--cteditorf47ac10b-background) / 0.2);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1516
1559
|
.cteditor-border-blue-200{
|
|
1517
1560
|
--tw-border-opacity: 1;
|
|
1518
1561
|
border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
|
|
@@ -1531,8 +1574,8 @@ video {
|
|
|
1531
1574
|
border-color: hsl(var(--cteditorf47ac10b-border) / 0.3);
|
|
1532
1575
|
}
|
|
1533
1576
|
|
|
1534
|
-
.cteditor-border-
|
|
1535
|
-
border-color: hsl(var(--cteditorf47ac10b-
|
|
1577
|
+
.cteditor-border-foreground{
|
|
1578
|
+
border-color: hsl(var(--cteditorf47ac10b-foreground));
|
|
1536
1579
|
}
|
|
1537
1580
|
|
|
1538
1581
|
.cteditor-border-foreground\/15{
|
|
@@ -1646,10 +1689,18 @@ video {
|
|
|
1646
1689
|
border-left-color: rgb(234 179 8 / var(--tw-border-opacity, 1));
|
|
1647
1690
|
}
|
|
1648
1691
|
|
|
1692
|
+
.\!cteditor-bg-accent{
|
|
1693
|
+
background-color: hsl(var(--cteditorf47ac10b-accent)) !important;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1649
1696
|
.\!cteditor-bg-foreground\/10{
|
|
1650
1697
|
background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.1) !important;
|
|
1651
1698
|
}
|
|
1652
1699
|
|
|
1700
|
+
.\!cteditor-bg-foreground\/5{
|
|
1701
|
+
background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.05) !important;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1653
1704
|
.\!cteditor-bg-secondary{
|
|
1654
1705
|
background-color: hsl(var(--cteditorf47ac10b-secondary)) !important;
|
|
1655
1706
|
}
|
|
@@ -1756,6 +1807,10 @@ video {
|
|
|
1756
1807
|
background-color: hsl(var(--cteditorf47ac10b-muted));
|
|
1757
1808
|
}
|
|
1758
1809
|
|
|
1810
|
+
.cteditor-bg-muted\/30{
|
|
1811
|
+
background-color: hsl(var(--cteditorf47ac10b-muted) / 0.3);
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1759
1814
|
.cteditor-bg-muted\/50{
|
|
1760
1815
|
background-color: hsl(var(--cteditorf47ac10b-muted) / 0.5);
|
|
1761
1816
|
}
|
|
@@ -1904,6 +1959,11 @@ video {
|
|
|
1904
1959
|
padding-bottom: 0.125rem !important;
|
|
1905
1960
|
}
|
|
1906
1961
|
|
|
1962
|
+
.\!cteditor-py-3{
|
|
1963
|
+
padding-top: 0.75rem !important;
|
|
1964
|
+
padding-bottom: 0.75rem !important;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1907
1967
|
.cteditor-px-1{
|
|
1908
1968
|
padding-left: 0.25rem;
|
|
1909
1969
|
padding-right: 0.25rem;
|
|
@@ -2159,6 +2219,10 @@ video {
|
|
|
2159
2219
|
color: rgb(120 53 15 / var(--tw-text-opacity, 1));
|
|
2160
2220
|
}
|
|
2161
2221
|
|
|
2222
|
+
.cteditor-text-background{
|
|
2223
|
+
color: hsl(var(--cteditorf47ac10b-background));
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2162
2226
|
.cteditor-text-black{
|
|
2163
2227
|
--tw-text-opacity: 1;
|
|
2164
2228
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
@@ -2174,11 +2238,6 @@ video {
|
|
|
2174
2238
|
color: rgb(37 99 235 / var(--tw-text-opacity, 1));
|
|
2175
2239
|
}
|
|
2176
2240
|
|
|
2177
|
-
.cteditor-text-blue-700{
|
|
2178
|
-
--tw-text-opacity: 1;
|
|
2179
|
-
color: rgb(29 78 216 / var(--tw-text-opacity, 1));
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
2241
|
.cteditor-text-blue-800{
|
|
2183
2242
|
--tw-text-opacity: 1;
|
|
2184
2243
|
color: rgb(30 64 175 / var(--tw-text-opacity, 1));
|
|
@@ -2390,6 +2449,10 @@ video {
|
|
|
2390
2449
|
outline-width: 0px;
|
|
2391
2450
|
}
|
|
2392
2451
|
|
|
2452
|
+
.cteditor-outline-background\/30{
|
|
2453
|
+
outline-color: hsl(var(--cteditorf47ac10b-background) / 0.3);
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2393
2456
|
.cteditor-ring-offset-background{
|
|
2394
2457
|
--tw-ring-offset-color: hsl(var(--cteditorf47ac10b-background));
|
|
2395
2458
|
}
|
|
@@ -2599,6 +2662,35 @@ body.dark ::-webkit-scrollbar-thumb {
|
|
|
2599
2662
|
background-color: transparent !important;
|
|
2600
2663
|
}
|
|
2601
2664
|
|
|
2665
|
+
.PlaygroundEditorTheme__tableCellHeader,
|
|
2666
|
+
.PlaygroundEditorTheme__table th,
|
|
2667
|
+
.PlaygroundEditorTheme__table td.PlaygroundEditorTheme__tableCellHeader {
|
|
2668
|
+
white-space: nowrap !important;
|
|
2669
|
+
overflow: hidden !important;
|
|
2670
|
+
max-height: 40px !important;
|
|
2671
|
+
line-height: 1.2 !important;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
/* Prevent wrapping in all nested elements inside table headers */
|
|
2675
|
+
|
|
2676
|
+
.PlaygroundEditorTheme__tableCellHeader *,
|
|
2677
|
+
.PlaygroundEditorTheme__table th *,
|
|
2678
|
+
.PlaygroundEditorTheme__table td.PlaygroundEditorTheme__tableCellHeader * {
|
|
2679
|
+
white-space: nowrap !important;
|
|
2680
|
+
display: inline !important;
|
|
2681
|
+
margin: 0 !important;
|
|
2682
|
+
padding: 0 !important;
|
|
2683
|
+
line-height: 1.2 !important;
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
/* Force br tags to not create new lines in headers */
|
|
2687
|
+
|
|
2688
|
+
.PlaygroundEditorTheme__tableCellHeader br,
|
|
2689
|
+
.PlaygroundEditorTheme__table th br,
|
|
2690
|
+
.PlaygroundEditorTheme__table td.PlaygroundEditorTheme__tableCellHeader br {
|
|
2691
|
+
display: none !important;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2602
2694
|
.editor .PlaygroundEditorTheme__tableAddRows,
|
|
2603
2695
|
.editor .PlaygroundEditorTheme__tableAddColumns {
|
|
2604
2696
|
background-color: hsla(var(--cteditorf47ac10b-foreground));
|
|
@@ -2680,6 +2772,46 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
2680
2772
|
}
|
|
2681
2773
|
}
|
|
2682
2774
|
|
|
2775
|
+
/* Editor responsive styles - ensure proper box-sizing and scrolling */
|
|
2776
|
+
|
|
2777
|
+
#ct-editor-f47ac10b * {
|
|
2778
|
+
box-sizing: border-box;
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
/* Better scrollbar styling for toolbar and overflow areas */
|
|
2782
|
+
|
|
2783
|
+
#ct-editor-f47ac10b .cteditor-overflow-x-auto::-webkit-scrollbar {
|
|
2784
|
+
height: 6px;
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
#ct-editor-f47ac10b .cteditor-overflow-x-auto::-webkit-scrollbar-track {
|
|
2788
|
+
background: transparent;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
#ct-editor-f47ac10b .cteditor-overflow-x-auto::-webkit-scrollbar-thumb {
|
|
2792
|
+
background: hsl(var(--cteditorf47ac10b-border));
|
|
2793
|
+
border-radius: 3px;
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
#ct-editor-f47ac10b .cteditor-overflow-x-auto::-webkit-scrollbar-thumb:hover {
|
|
2797
|
+
background: hsl(var(--cteditorf47ac10b-foreground) / 0.3);
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
/* Ensure toolbar items don't shrink on small screens */
|
|
2801
|
+
|
|
2802
|
+
#ct-editor-f47ac10b [data-toolbar-item] {
|
|
2803
|
+
flex-shrink: 0;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
2807
|
+
display: none;
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
.no-scrollbar {
|
|
2811
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
2812
|
+
scrollbar-width: none; /* Firefox */
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2683
2815
|
.file\:cteditor-border-0::file-selector-button{
|
|
2684
2816
|
border-width: 0px;
|
|
2685
2817
|
}
|
|
@@ -2701,6 +2833,14 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
2701
2833
|
color: hsl(var(--cteditorf47ac10b-foreground));
|
|
2702
2834
|
}
|
|
2703
2835
|
|
|
2836
|
+
.placeholder\:cteditor-text-background::-moz-placeholder{
|
|
2837
|
+
color: hsl(var(--cteditorf47ac10b-background));
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
.placeholder\:cteditor-text-background::placeholder{
|
|
2841
|
+
color: hsl(var(--cteditorf47ac10b-background));
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2704
2844
|
.placeholder\:cteditor-text-muted-foreground::-moz-placeholder{
|
|
2705
2845
|
color: hsl(var(--cteditorf47ac10b-muted-foreground));
|
|
2706
2846
|
}
|
|
@@ -2823,8 +2963,13 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
2823
2963
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
2824
2964
|
}
|
|
2825
2965
|
|
|
2826
|
-
.hover\:cteditor-bg-
|
|
2827
|
-
|
|
2966
|
+
.hover\:cteditor-bg-green-100:hover{
|
|
2967
|
+
--tw-bg-opacity: 1;
|
|
2968
|
+
background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2971
|
+
.hover\:cteditor-bg-muted\/50:hover{
|
|
2972
|
+
background-color: hsl(var(--cteditorf47ac10b-muted) / 0.5);
|
|
2828
2973
|
}
|
|
2829
2974
|
|
|
2830
2975
|
.hover\:cteditor-bg-primary:hover{
|
|
@@ -2905,12 +3050,6 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
2905
3050
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2906
3051
|
}
|
|
2907
3052
|
|
|
2908
|
-
.hover\:cteditor-shadow-lg:hover{
|
|
2909
|
-
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
2910
|
-
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
2911
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2912
|
-
}
|
|
2913
|
-
|
|
2914
3053
|
.hover\:cteditor-shadow-md:hover{
|
|
2915
3054
|
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
2916
3055
|
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
|
|
@@ -2922,18 +3061,10 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
2922
3061
|
border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
|
|
2923
3062
|
}
|
|
2924
3063
|
|
|
2925
|
-
.focus\:cteditor-border-primary:focus{
|
|
2926
|
-
border-color: hsl(var(--cteditorf47ac10b-primary));
|
|
2927
|
-
}
|
|
2928
|
-
|
|
2929
3064
|
.focus\:cteditor-border-primary\/60:focus{
|
|
2930
3065
|
border-color: hsl(var(--cteditorf47ac10b-primary) / 0.6);
|
|
2931
3066
|
}
|
|
2932
3067
|
|
|
2933
|
-
.focus\:cteditor-bg-background:focus{
|
|
2934
|
-
background-color: hsl(var(--cteditorf47ac10b-background));
|
|
2935
|
-
}
|
|
2936
|
-
|
|
2937
3068
|
.focus\:cteditor-bg-foreground\/5:focus{
|
|
2938
3069
|
background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.05);
|
|
2939
3070
|
}
|
|
@@ -2963,10 +3094,6 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
2963
3094
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2964
3095
|
}
|
|
2965
3096
|
|
|
2966
|
-
.focus\:cteditor-ring-primary\/50:focus{
|
|
2967
|
-
--tw-ring-color: hsl(var(--cteditorf47ac10b-primary) / 0.5);
|
|
2968
|
-
}
|
|
2969
|
-
|
|
2970
3097
|
.focus\:cteditor-ring-ring:focus{
|
|
2971
3098
|
--tw-ring-color: hsl(var(--cteditorf47ac10b-ring));
|
|
2972
3099
|
}
|
|
@@ -3269,11 +3396,6 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3269
3396
|
border-color: rgb(133 77 14 / var(--tw-border-opacity, 1));
|
|
3270
3397
|
}
|
|
3271
3398
|
|
|
3272
|
-
.dark\:cteditor-bg-\[\#0b0b0b\]:is(.cteditor-dark *){
|
|
3273
|
-
--tw-bg-opacity: 1;
|
|
3274
|
-
background-color: rgb(11 11 11 / var(--tw-bg-opacity, 1));
|
|
3275
|
-
}
|
|
3276
|
-
|
|
3277
3399
|
.dark\:cteditor-bg-amber-950\/50:is(.cteditor-dark *){
|
|
3278
3400
|
background-color: rgb(69 26 3 / 0.5);
|
|
3279
3401
|
}
|
|
@@ -3328,11 +3450,6 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3328
3450
|
color: rgb(96 165 250 / var(--tw-text-opacity, 1));
|
|
3329
3451
|
}
|
|
3330
3452
|
|
|
3331
|
-
.dark\:cteditor-text-blue-500:is(.cteditor-dark *){
|
|
3332
|
-
--tw-text-opacity: 1;
|
|
3333
|
-
color: rgb(59 130 246 / var(--tw-text-opacity, 1));
|
|
3334
|
-
}
|
|
3335
|
-
|
|
3336
3453
|
.dark\:cteditor-text-gray-400:is(.cteditor-dark *){
|
|
3337
3454
|
--tw-text-opacity: 1;
|
|
3338
3455
|
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
@@ -3378,12 +3495,23 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3378
3495
|
color: rgb(250 204 21 / var(--tw-text-opacity, 1));
|
|
3379
3496
|
}
|
|
3380
3497
|
|
|
3498
|
+
@media not all and (min-width: 768px){
|
|
3499
|
+
|
|
3500
|
+
.max-md\:cteditor-w-full{
|
|
3501
|
+
width: 100%;
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3381
3505
|
@media (min-width: 640px){
|
|
3382
3506
|
|
|
3383
3507
|
.sm\:cteditor-inline{
|
|
3384
3508
|
display: inline;
|
|
3385
3509
|
}
|
|
3386
3510
|
|
|
3511
|
+
.sm\:cteditor-w-\[28rem\]{
|
|
3512
|
+
width: 28rem;
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3387
3515
|
.sm\:cteditor-w-\[400px\]{
|
|
3388
3516
|
width: 400px;
|
|
3389
3517
|
}
|
|
@@ -3427,6 +3555,17 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3427
3555
|
}
|
|
3428
3556
|
}
|
|
3429
3557
|
|
|
3558
|
+
@media (min-width: 768px){
|
|
3559
|
+
|
|
3560
|
+
.md\:\!cteditor-w-\[120px\]{
|
|
3561
|
+
width: 120px !important;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
.md\:\!cteditor-bg-secondary{
|
|
3565
|
+
background-color: hsl(var(--cteditorf47ac10b-secondary)) !important;
|
|
3566
|
+
}
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3430
3569
|
.\[\&\>button\:hover\>span\]\:cteditor-bottom-full>button:hover>span{
|
|
3431
3570
|
bottom: 100%;
|
|
3432
3571
|
}
|
|
@@ -3512,11 +3651,15 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3512
3651
|
transition-duration: 150ms;
|
|
3513
3652
|
}
|
|
3514
3653
|
|
|
3515
|
-
|
|
3654
|
+
.hover\:\[\&\>button\]\:cteditor-bg-foreground\/5>button:hover{
|
|
3655
|
+
background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.05);
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
.focus\:\[\&\>button\]\:cteditor-bg-foreground\/5>button:focus{
|
|
3516
3659
|
background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.05);
|
|
3517
3660
|
}
|
|
3518
3661
|
|
|
3519
|
-
|
|
3662
|
+
.focus\:\[\&\>button\]\:cteditor-text-accent-foreground>button:focus{
|
|
3520
3663
|
color: hsl(var(--cteditorf47ac10b-accent-foreground));
|
|
3521
3664
|
}
|
|
3522
3665
|
|
|
@@ -3610,8 +3753,65 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3610
3753
|
|
|
3611
3754
|
.\[\&_svg\]\:cteditor-shrink-0 svg{
|
|
3612
3755
|
flex-shrink: 0;
|
|
3613
|
-
}
|
|
3614
|
-
|
|
3756
|
+
}#ct-editor-f47ac10b {
|
|
3757
|
+
/* Responsive container styles for constrained spaces */
|
|
3758
|
+
.editor-container {
|
|
3759
|
+
max-width: 100%;
|
|
3760
|
+
overflow-wrap: break-word;
|
|
3761
|
+
word-wrap: break-word;
|
|
3762
|
+
word-break: break-word;
|
|
3763
|
+
}
|
|
3764
|
+
|
|
3765
|
+
/* Ensure images scale properly */
|
|
3766
|
+
.editor-image,
|
|
3767
|
+
img {
|
|
3768
|
+
max-width: 100%;
|
|
3769
|
+
height: auto;
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
/* Ensure tables are responsive */
|
|
3773
|
+
.PlaygroundEditorTheme__table,
|
|
3774
|
+
.table {
|
|
3775
|
+
max-width: 100%;
|
|
3776
|
+
overflow-x: auto;
|
|
3777
|
+
display: block;
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3780
|
+
/* Prevent table header text wrapping */
|
|
3781
|
+
.PlaygroundEditorTheme__tableCellHeader,
|
|
3782
|
+
.PlaygroundEditorTheme__table th,
|
|
3783
|
+
.PlaygroundEditorTheme__table td.PlaygroundEditorTheme__tableCellHeader {
|
|
3784
|
+
white-space: nowrap !important;
|
|
3785
|
+
overflow: hidden !important;
|
|
3786
|
+
max-height: 40px !important;
|
|
3787
|
+
line-height: 1.2 !important;
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3790
|
+
/* Prevent wrapping in all nested elements inside table headers */
|
|
3791
|
+
.PlaygroundEditorTheme__tableCellHeader *,
|
|
3792
|
+
.PlaygroundEditorTheme__table th *,
|
|
3793
|
+
.PlaygroundEditorTheme__table td.PlaygroundEditorTheme__tableCellHeader * {
|
|
3794
|
+
white-space: nowrap !important;
|
|
3795
|
+
display: inline !important;
|
|
3796
|
+
margin: 0 !important;
|
|
3797
|
+
padding: 0 !important;
|
|
3798
|
+
line-height: 1.2 !important;
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3801
|
+
/* Force br tags to not create new lines in headers */
|
|
3802
|
+
.PlaygroundEditorTheme__tableCellHeader br,
|
|
3803
|
+
.PlaygroundEditorTheme__table th br,
|
|
3804
|
+
.PlaygroundEditorTheme__table td.PlaygroundEditorTheme__tableCellHeader br {
|
|
3805
|
+
display: none !important;
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
/* Content editable area responsive styles */
|
|
3809
|
+
[contenteditable="true"] {
|
|
3810
|
+
max-width: 100%;
|
|
3811
|
+
overflow-wrap: break-word;
|
|
3812
|
+
word-wrap: break-word;
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3615
3815
|
.ltr {
|
|
3616
3816
|
text-align: left;
|
|
3617
3817
|
}
|
|
@@ -3744,8 +3944,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3744
3944
|
}
|
|
3745
3945
|
|
|
3746
3946
|
.code {
|
|
3747
|
-
background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3748
|
-
color: hsla(var(--cteditorf47ac10b-foreground));
|
|
3947
|
+
background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.15);
|
|
3948
|
+
color: hsla(var(--cteditorf47ac10b-foreground) / 0.95);
|
|
3749
3949
|
font-family: Menlo, Consolas, Monaco, monospace;
|
|
3750
3950
|
display: block;
|
|
3751
3951
|
padding: 8px 8px 8px 52px;
|
|
@@ -3760,15 +3960,22 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3760
3960
|
overflow-x: auto;
|
|
3761
3961
|
position: relative;
|
|
3762
3962
|
border-radius: 6px;
|
|
3763
|
-
border: 1px solid hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3963
|
+
border: 1px solid hsla(var(--cteditorf47ac10b-foreground) / 0.2);
|
|
3764
3964
|
transition: all 0.2s ease;
|
|
3765
3965
|
cursor: pointer;
|
|
3766
3966
|
}
|
|
3767
3967
|
|
|
3968
|
+
/* Hide extra br tags that create double spacing */
|
|
3969
|
+
.code br {
|
|
3970
|
+
line-height: 0;
|
|
3971
|
+
height: 0;
|
|
3972
|
+
display: block;
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3768
3975
|
.code:hover {
|
|
3769
|
-
background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3770
|
-
border-color: hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3771
|
-
box-shadow: 0 2px 8px hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3976
|
+
background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.18);
|
|
3977
|
+
border-color: hsla(var(--cteditorf47ac10b-foreground) / 0.25);
|
|
3978
|
+
box-shadow: 0 2px 8px hsla(var(--cteditorf47ac10b-foreground) / 0.15);
|
|
3772
3979
|
}
|
|
3773
3980
|
|
|
3774
3981
|
.code:focus-within {
|
|
@@ -3785,17 +3992,18 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3785
3992
|
.code::before {
|
|
3786
3993
|
content: attr(data-gutter);
|
|
3787
3994
|
position: absolute;
|
|
3788
|
-
background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3995
|
+
background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.12);
|
|
3789
3996
|
left: 0;
|
|
3790
3997
|
top: 0;
|
|
3791
|
-
border-right: 1px solid hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3998
|
+
border-right: 1px solid hsla(var(--cteditorf47ac10b-foreground) / 0.2);
|
|
3792
3999
|
border-top-left-radius: 6px;
|
|
3793
4000
|
border-bottom-left-radius: 6px;
|
|
3794
4001
|
padding: 8px;
|
|
3795
|
-
color: hsla(var(--cteditorf47ac10b-foreground) / 0.
|
|
3796
|
-
white-space: pre
|
|
4002
|
+
color: hsla(var(--cteditorf47ac10b-foreground) / 0.75);
|
|
4003
|
+
white-space: pre;
|
|
3797
4004
|
text-align: right;
|
|
3798
4005
|
min-width: 25px;
|
|
4006
|
+
line-height: 1.53;
|
|
3799
4007
|
}
|
|
3800
4008
|
|
|
3801
4009
|
.characterLimit {
|
|
@@ -3929,11 +4137,11 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3929
4137
|
}
|
|
3930
4138
|
|
|
3931
4139
|
.tokenComment {
|
|
3932
|
-
color:
|
|
4140
|
+
color: #7c8896;
|
|
3933
4141
|
}
|
|
3934
4142
|
|
|
3935
4143
|
.tokenPunctuation {
|
|
3936
|
-
color: #
|
|
4144
|
+
color: #606060;
|
|
3937
4145
|
}
|
|
3938
4146
|
|
|
3939
4147
|
.comment-node {
|
|
@@ -4000,27 +4208,27 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4000
4208
|
}
|
|
4001
4209
|
|
|
4002
4210
|
.tokenProperty {
|
|
4003
|
-
color: #
|
|
4211
|
+
color: #b854a6;
|
|
4004
4212
|
}
|
|
4005
4213
|
|
|
4006
4214
|
.tokenSelector {
|
|
4007
|
-
color: #
|
|
4215
|
+
color: #5f8c3d;
|
|
4008
4216
|
}
|
|
4009
4217
|
|
|
4010
4218
|
.tokenOperator {
|
|
4011
|
-
color: #
|
|
4219
|
+
color: #c48944;
|
|
4012
4220
|
}
|
|
4013
4221
|
|
|
4014
4222
|
.tokenAttr {
|
|
4015
|
-
color: #
|
|
4223
|
+
color: #3a8fb7;
|
|
4016
4224
|
}
|
|
4017
4225
|
|
|
4018
4226
|
.tokenVariable {
|
|
4019
|
-
color: #
|
|
4227
|
+
color: #ff9900;
|
|
4020
4228
|
}
|
|
4021
4229
|
|
|
4022
4230
|
.tokenFunction {
|
|
4023
|
-
color: #
|
|
4231
|
+
color: #e55876;
|
|
4024
4232
|
}
|
|
4025
4233
|
|
|
4026
4234
|
.mark {
|
|
@@ -4303,8 +4511,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4303
4511
|
}
|
|
4304
4512
|
|
|
4305
4513
|
.PlaygroundEditorTheme__code {
|
|
4306
|
-
background-color: hsla(var(--cteditorf47ac10b-
|
|
4307
|
-
color: hsla(var(--cteditorf47ac10b-
|
|
4514
|
+
background-color: hsla(var(--cteditorf47ac10b-background) / 0.05);
|
|
4515
|
+
color: hsla(var(--cteditorf47ac10b-background));
|
|
4308
4516
|
font-family: Menlo, Consolas, Monaco, monospace;
|
|
4309
4517
|
display: block;
|
|
4310
4518
|
padding: 8px 8px 8px 52px;
|
|
@@ -4319,15 +4527,15 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4319
4527
|
-o-tab-size: 2;
|
|
4320
4528
|
tab-size: 2;
|
|
4321
4529
|
border-radius: 6px;
|
|
4322
|
-
border: 1px solid hsla(var(--cteditorf47ac10b-
|
|
4530
|
+
border: 1px solid hsla(var(--cteditorf47ac10b-background) / 0.1);
|
|
4323
4531
|
transition: all 0.2s ease;
|
|
4324
4532
|
cursor: pointer;
|
|
4325
4533
|
}
|
|
4326
4534
|
|
|
4327
4535
|
.PlaygroundEditorTheme__code:hover {
|
|
4328
|
-
background-color: hsla(var(--cteditorf47ac10b-
|
|
4329
|
-
border-color: hsla(var(--cteditorf47ac10b-
|
|
4330
|
-
box-shadow: 0 2px 8px hsla(var(--cteditorf47ac10b-
|
|
4536
|
+
background-color: hsla(var(--cteditorf47ac10b-background) / 0.08);
|
|
4537
|
+
border-color: hsla(var(--cteditorf47ac10b-background) / 0.2);
|
|
4538
|
+
box-shadow: 0 2px 8px hsla(var(--cteditorf47ac10b-background) / 0.1);
|
|
4331
4539
|
}
|
|
4332
4540
|
|
|
4333
4541
|
.PlaygroundEditorTheme__code:focus-within {
|
|
@@ -4336,7 +4544,7 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4336
4544
|
}
|
|
4337
4545
|
|
|
4338
4546
|
.PlaygroundEditorTheme__code.selected {
|
|
4339
|
-
background-color: hsla(var(--cteditorf47ac10b-
|
|
4547
|
+
background-color: hsla(var(--cteditorf47ac10b-background) / 0.1);
|
|
4340
4548
|
border-color: hsla(var(--cteditorf47ac10b-primary));
|
|
4341
4549
|
box-shadow: 0 0 0 2px hsla(var(--cteditorf47ac10b-primary) / 0.2);
|
|
4342
4550
|
}
|
|
@@ -4344,14 +4552,14 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4344
4552
|
.PlaygroundEditorTheme__code:before {
|
|
4345
4553
|
content: attr(data-gutter);
|
|
4346
4554
|
position: absolute;
|
|
4347
|
-
background-color: hsla(var(--cteditorf47ac10b-
|
|
4555
|
+
background-color: hsla(var(--cteditorf47ac10b-background) / 0.08);
|
|
4348
4556
|
left: 0;
|
|
4349
4557
|
top: 0;
|
|
4350
|
-
border-right: 1px solid hsla(var(--cteditorf47ac10b-
|
|
4558
|
+
border-right: 1px solid hsla(var(--cteditorf47ac10b-background) / 0.15);
|
|
4351
4559
|
border-top-left-radius: 6px;
|
|
4352
4560
|
border-bottom-left-radius: 6px;
|
|
4353
4561
|
padding: 8px;
|
|
4354
|
-
color: hsla(var(--cteditorf47ac10b-
|
|
4562
|
+
color: hsla(var(--cteditorf47ac10b-background) / 0.6);
|
|
4355
4563
|
white-space: pre-wrap;
|
|
4356
4564
|
text-align: right;
|
|
4357
4565
|
min-width: 25px;
|
|
@@ -4440,6 +4648,14 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4440
4648
|
|
|
4441
4649
|
.PlaygroundEditorTheme__tableCellHeader {
|
|
4442
4650
|
text-align: start;
|
|
4651
|
+
white-space: nowrap;
|
|
4652
|
+
overflow: hidden;
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
.PlaygroundEditorTheme__tableCellHeader * {
|
|
4656
|
+
white-space: nowrap;
|
|
4657
|
+
display: inline;
|
|
4658
|
+
margin: 0;
|
|
4443
4659
|
}
|
|
4444
4660
|
|
|
4445
4661
|
.PlaygroundEditorTheme__tableCellSelected {
|
|
@@ -4655,19 +4871,19 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4655
4871
|
}
|
|
4656
4872
|
|
|
4657
4873
|
.PlaygroundEditorTheme__listItemChecked:after {
|
|
4658
|
-
|
|
4874
|
+
content: "";
|
|
4659
4875
|
cursor: pointer;
|
|
4660
4876
|
border-color: #fff;
|
|
4661
4877
|
border-style: solid;
|
|
4662
4878
|
position: absolute;
|
|
4663
4879
|
display: block;
|
|
4664
|
-
top:
|
|
4665
|
-
width:
|
|
4666
|
-
left:
|
|
4880
|
+
top: 5px;
|
|
4881
|
+
width: 4px;
|
|
4882
|
+
left: 6px;
|
|
4667
4883
|
right: 7px;
|
|
4668
|
-
height:
|
|
4884
|
+
height: 8px;
|
|
4669
4885
|
transform: rotate(45deg);
|
|
4670
|
-
border-width: 0
|
|
4886
|
+
border-width: 0 1px 1px 0;
|
|
4671
4887
|
}
|
|
4672
4888
|
|
|
4673
4889
|
.PlaygroundEditorTheme__nestedListItem {
|
|
@@ -4788,6 +5004,7 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4788
5004
|
display: inline-block;
|
|
4789
5005
|
-moz-user-select: none;
|
|
4790
5006
|
user-select: none;
|
|
5007
|
+
margin:6px;
|
|
4791
5008
|
}
|
|
4792
5009
|
|
|
4793
5010
|
.editor-image img {
|
|
@@ -4818,6 +5035,7 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4818
5035
|
border: 1px solid #fff !important;
|
|
4819
5036
|
border-radius: 50% !important;
|
|
4820
5037
|
z-index: 10 !important;
|
|
5038
|
+
transition: all 0.2s linear;
|
|
4821
5039
|
}
|
|
4822
5040
|
|
|
4823
5041
|
.editor-image .image-resizer.image-resizer-n {
|
|
@@ -4845,7 +5063,7 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4845
5063
|
}
|
|
4846
5064
|
|
|
4847
5065
|
.editor-image .image-resizer.image-resizer-s {
|
|
4848
|
-
bottom: -
|
|
5066
|
+
bottom: -4px !important;
|
|
4849
5067
|
left: 48% !important;
|
|
4850
5068
|
cursor: s-resize !important;
|
|
4851
5069
|
}
|
|
@@ -5319,7 +5537,116 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5319
5537
|
border-radius: 2px !important;
|
|
5320
5538
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
|
5321
5539
|
}
|
|
5322
|
-
}
|
|
5540
|
+
}/* Grammar Check Plugin Tooltip Styles */
|
|
5541
|
+
|
|
5542
|
+
.grammar-tooltip {
|
|
5543
|
+
animation: fadeIn 0.2s ease-in-out;
|
|
5544
|
+
pointer-events: auto;
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5547
|
+
@keyframes fadeIn {
|
|
5548
|
+
from {
|
|
5549
|
+
opacity: 0;
|
|
5550
|
+
transform: translateY(-5px);
|
|
5551
|
+
}
|
|
5552
|
+
to {
|
|
5553
|
+
opacity: 1;
|
|
5554
|
+
transform: translateY(0);
|
|
5555
|
+
}
|
|
5556
|
+
}
|
|
5557
|
+
|
|
5558
|
+
/* Error highlighting styles - can be applied to text nodes */
|
|
5559
|
+
.spelling-error {
|
|
5560
|
+
text-decoration: underline wavy red;
|
|
5561
|
+
text-decoration-thickness: 2px;
|
|
5562
|
+
text-underline-offset: 2px;
|
|
5563
|
+
cursor: pointer;
|
|
5564
|
+
}
|
|
5565
|
+
|
|
5566
|
+
.grammar-error {
|
|
5567
|
+
text-decoration: underline wavy blue;
|
|
5568
|
+
text-decoration-thickness: 2px;
|
|
5569
|
+
text-underline-offset: 2px;
|
|
5570
|
+
cursor: pointer;
|
|
5571
|
+
}
|
|
5572
|
+
|
|
5573
|
+
/* Tooltip card enhancements */
|
|
5574
|
+
.grammar-tooltip .cteditor-shadow-xl {
|
|
5575
|
+
box-shadow:
|
|
5576
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
5577
|
+
0 4px 6px -2px rgba(0, 0, 0, 0.05),
|
|
5578
|
+
0 0 0 1px rgba(0, 0, 0, 0.05);
|
|
5579
|
+
}
|
|
5580
|
+
|
|
5581
|
+
/* Suggestion button hover effects */
|
|
5582
|
+
.grammar-tooltip button:active {
|
|
5583
|
+
transform: scale(0.98);
|
|
5584
|
+
}
|
|
5585
|
+
|
|
5586
|
+
/* Error Panel - Compact notification bar */
|
|
5587
|
+
.grammar-error-panel {
|
|
5588
|
+
position: relative;
|
|
5589
|
+
max-width: -moz-fit-content;
|
|
5590
|
+
max-width: fit-content;
|
|
5591
|
+
margin-bottom: 8px;
|
|
5592
|
+
z-index: 100;
|
|
5593
|
+
animation: slideDown 0.3s ease-out;
|
|
5594
|
+
}
|
|
5595
|
+
|
|
5596
|
+
@keyframes slideDown {
|
|
5597
|
+
from {
|
|
5598
|
+
opacity: 0;
|
|
5599
|
+
transform: translateY(-10px);
|
|
5600
|
+
max-height: 0;
|
|
5601
|
+
}
|
|
5602
|
+
to {
|
|
5603
|
+
opacity: 1;
|
|
5604
|
+
transform: translateY(0);
|
|
5605
|
+
max-height: 300px;
|
|
5606
|
+
}
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5609
|
+
/* Error toggle button - when panel is hidden (inline version) */
|
|
5610
|
+
.grammar-error-toggle {
|
|
5611
|
+
position: relative;
|
|
5612
|
+
display: inline-flex;
|
|
5613
|
+
align-items: center;
|
|
5614
|
+
gap: 8px;
|
|
5615
|
+
padding: 6px 12px;
|
|
5616
|
+
margin-bottom: 8px;
|
|
5617
|
+
background: #ef4444;
|
|
5618
|
+
color: white;
|
|
5619
|
+
border: none;
|
|
5620
|
+
border-radius: 6px;
|
|
5621
|
+
cursor: pointer;
|
|
5622
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
5623
|
+
transition: all 0.2s;
|
|
5624
|
+
font-size: 13px;
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
.grammar-error-toggle:hover {
|
|
5628
|
+
background: #dc2626;
|
|
5629
|
+
transform: translateY(-1px);
|
|
5630
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
|
|
5631
|
+
}
|
|
5632
|
+
|
|
5633
|
+
.grammar-error-toggle span {
|
|
5634
|
+
font-weight: 600;
|
|
5635
|
+
font-size: 13px;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
/* Compact panel styling */
|
|
5639
|
+
.grammar-error-panel .cteditor-max-h-48 {
|
|
5640
|
+
max-height: 200px;
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
/* Responsive tooltip positioning */
|
|
5644
|
+
@media (max-width: 768px) {
|
|
5645
|
+
.grammar-tooltip {
|
|
5646
|
+
max-width: 90vw;
|
|
5647
|
+
}
|
|
5648
|
+
}
|
|
5649
|
+
#ct-editor-f47ac10b {
|
|
5323
5650
|
.floating-embed-menu {
|
|
5324
5651
|
display: flex !important;
|
|
5325
5652
|
/* flex-direction: column; */
|
|
@@ -5789,177 +6116,76 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5789
6116
|
.TableCellResizer__resizer {
|
|
5790
6117
|
position: absolute;
|
|
5791
6118
|
}
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
.grammar-tooltip {
|
|
5795
|
-
animation: fadeIn 0.2s ease-in-out;
|
|
5796
|
-
pointer-events: auto;
|
|
5797
|
-
}
|
|
5798
|
-
|
|
5799
|
-
@keyframes fadeIn {
|
|
5800
|
-
from {
|
|
5801
|
-
opacity: 0;
|
|
5802
|
-
transform: translateY(-5px);
|
|
5803
|
-
}
|
|
5804
|
-
to {
|
|
5805
|
-
opacity: 1;
|
|
5806
|
-
transform: translateY(0);
|
|
5807
|
-
}
|
|
5808
|
-
}
|
|
5809
|
-
|
|
5810
|
-
/* Error highlighting styles - can be applied to text nodes */
|
|
5811
|
-
.spelling-error {
|
|
5812
|
-
text-decoration: underline wavy red;
|
|
5813
|
-
text-decoration-thickness: 2px;
|
|
5814
|
-
text-underline-offset: 2px;
|
|
5815
|
-
cursor: pointer;
|
|
5816
|
-
}
|
|
5817
|
-
|
|
5818
|
-
.grammar-error {
|
|
5819
|
-
text-decoration: underline wavy blue;
|
|
5820
|
-
text-decoration-thickness: 2px;
|
|
5821
|
-
text-underline-offset: 2px;
|
|
5822
|
-
cursor: pointer;
|
|
5823
|
-
}
|
|
5824
|
-
|
|
5825
|
-
/* Tooltip card enhancements */
|
|
5826
|
-
.grammar-tooltip .cteditor-shadow-xl {
|
|
5827
|
-
box-shadow:
|
|
5828
|
-
0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
5829
|
-
0 4px 6px -2px rgba(0, 0, 0, 0.05),
|
|
5830
|
-
0 0 0 1px rgba(0, 0, 0, 0.05);
|
|
5831
|
-
}
|
|
5832
|
-
|
|
5833
|
-
/* Suggestion button hover effects */
|
|
5834
|
-
.grammar-tooltip button:active {
|
|
5835
|
-
transform: scale(0.98);
|
|
5836
|
-
}
|
|
5837
|
-
|
|
5838
|
-
/* Error Panel - Compact notification bar */
|
|
5839
|
-
.grammar-error-panel {
|
|
5840
|
-
position: relative;
|
|
5841
|
-
max-width: -moz-fit-content;
|
|
5842
|
-
max-width: fit-content;
|
|
5843
|
-
margin-bottom: 8px;
|
|
5844
|
-
z-index: 100;
|
|
5845
|
-
animation: slideDown 0.3s ease-out;
|
|
5846
|
-
}
|
|
5847
|
-
|
|
5848
|
-
@keyframes slideDown {
|
|
5849
|
-
from {
|
|
5850
|
-
opacity: 0;
|
|
5851
|
-
transform: translateY(-10px);
|
|
5852
|
-
max-height: 0;
|
|
5853
|
-
}
|
|
5854
|
-
to {
|
|
5855
|
-
opacity: 1;
|
|
5856
|
-
transform: translateY(0);
|
|
5857
|
-
max-height: 300px;
|
|
5858
|
-
}
|
|
5859
|
-
}
|
|
5860
|
-
|
|
5861
|
-
/* Error toggle button - when panel is hidden (inline version) */
|
|
5862
|
-
.grammar-error-toggle {
|
|
5863
|
-
position: relative;
|
|
5864
|
-
display: inline-flex;
|
|
5865
|
-
align-items: center;
|
|
5866
|
-
gap: 8px;
|
|
5867
|
-
padding: 6px 12px;
|
|
5868
|
-
margin-bottom: 8px;
|
|
5869
|
-
background: #ef4444;
|
|
5870
|
-
color: white;
|
|
5871
|
-
border: none;
|
|
5872
|
-
border-radius: 6px;
|
|
5873
|
-
cursor: pointer;
|
|
5874
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
5875
|
-
transition: all 0.2s;
|
|
5876
|
-
font-size: 13px;
|
|
5877
|
-
}
|
|
5878
|
-
|
|
5879
|
-
.grammar-error-toggle:hover {
|
|
5880
|
-
background: #dc2626;
|
|
5881
|
-
transform: translateY(-1px);
|
|
5882
|
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
|
|
5883
|
-
}
|
|
5884
|
-
|
|
5885
|
-
.grammar-error-toggle span {
|
|
5886
|
-
font-weight: 600;
|
|
5887
|
-
font-size: 13px;
|
|
5888
|
-
}
|
|
5889
|
-
|
|
5890
|
-
/* Compact panel styling */
|
|
5891
|
-
.grammar-error-panel .cteditor-max-h-48 {
|
|
5892
|
-
max-height: 200px;
|
|
5893
|
-
}
|
|
6119
|
+
#ct-editor-f47ac10b {
|
|
5894
6120
|
|
|
5895
|
-
/*
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
6121
|
+
/* Caption container styling - uses normal flow to prevent overlap */
|
|
6122
|
+
.image-caption-container {
|
|
6123
|
+
width: 100%;
|
|
6124
|
+
margin-top: 8px;
|
|
6125
|
+
margin-bottom: 12px;
|
|
5899
6126
|
}
|
|
5900
|
-
}
|
|
5901
|
-
#ct-editor-f47ac10b {
|
|
5902
6127
|
|
|
5903
6128
|
/* Improved caption button styling - positioned relative to the image container */
|
|
5904
6129
|
.image-caption-button {
|
|
5905
6130
|
position: absolute;
|
|
5906
|
-
bottom:
|
|
6131
|
+
bottom:4px;
|
|
5907
6132
|
left: 50%;
|
|
5908
6133
|
transform: translateX(-50%);
|
|
5909
|
-
background:
|
|
6134
|
+
background:hsl(var(--cteditorf47ac10b-background));
|
|
6135
|
+
color:hsl(var(--cteditorf47ac10b-foreground));
|
|
5910
6136
|
border-radius: 8px;
|
|
5911
|
-
padding:
|
|
6137
|
+
padding: 4px 16px;
|
|
5912
6138
|
font-size: 13px;
|
|
5913
6139
|
cursor: pointer;
|
|
5914
6140
|
transition: all 0.2s ease;
|
|
5915
6141
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
5916
6142
|
font-weight: 400;
|
|
5917
6143
|
white-space: nowrap;
|
|
5918
|
-
z-index:
|
|
6144
|
+
z-index: 10;
|
|
6145
|
+
border: 1px solid hsla(var(--cteditorf47ac10b-border) / 0.2);
|
|
5919
6146
|
}
|
|
5920
6147
|
|
|
5921
6148
|
.image-caption-button:hover {
|
|
5922
|
-
background: hsla(var(--cteditorf47ac10b-
|
|
6149
|
+
background: hsla(var(--cteditorf47ac10b-background) / 0.8);
|
|
5923
6150
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
6151
|
+
|
|
5924
6152
|
}
|
|
5925
6153
|
|
|
5926
|
-
|
|
5927
|
-
background: hsla(var(--cteditorf47ac10b-secondary) / 0.6);
|
|
5928
|
-
transform: translateX(-50%) translateY(1px);
|
|
5929
|
-
}
|
|
5930
|
-
|
|
5931
|
-
/* Caption input styling */
|
|
6154
|
+
/* Caption input styling - now in normal flow */
|
|
5932
6155
|
.ImageNode__contentEditable {
|
|
5933
|
-
position:
|
|
5934
|
-
bottom: -36px;
|
|
5935
|
-
left: 50%;
|
|
5936
|
-
transform: translateX(-50%);
|
|
6156
|
+
position: relative;
|
|
5937
6157
|
width: 100%;
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
height:
|
|
6158
|
+
background: hsla(var(--cteditorf47ac10b-secondary) / 0.5);
|
|
6159
|
+
border: 1px solid hsla(var(--cteditorf47ac10b-border) / 0.2);
|
|
6160
|
+
color: 1px solid hsla(var(--cteditorf47ac10b-foreground));
|
|
6161
|
+
border-radius: 6px;
|
|
6162
|
+
padding:4px 8px;
|
|
6163
|
+
line-height: 1.5;
|
|
6164
|
+
min-height: 32px;
|
|
5944
6165
|
font-size: 14px;
|
|
5945
6166
|
outline: none;
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
6167
|
+
transition: all 0.2s ease;
|
|
6168
|
+
color: hsla(var(--cteditorf47ac10b-text));
|
|
6169
|
+
}
|
|
6170
|
+
|
|
6171
|
+
.ImageNode__contentEditable:focus {
|
|
6172
|
+
background: hsla(var(--cteditorf47ac10b-secondary));
|
|
6173
|
+
border-color: hsla(var(--cteditorf47ac10b-border) / 0.4);
|
|
6174
|
+
box-shadow: 0 0 0 3px hsla(var(--cteditorf47ac10b-primary) / 0.1);
|
|
5954
6175
|
}
|
|
5955
6176
|
|
|
5956
6177
|
.ImageNode__contentEditable::-moz-placeholder {
|
|
5957
|
-
color:
|
|
5958
|
-
font-style:
|
|
6178
|
+
color: hsla(var(--cteditorf47ac10b-text) / 0.4);
|
|
6179
|
+
font-style: italic;
|
|
5959
6180
|
}
|
|
5960
6181
|
|
|
5961
|
-
.ImageNode__contentEditable::placeholder
|
|
5962
|
-
|
|
5963
|
-
|
|
6182
|
+
.ImageNode__contentEditable::placeholder,
|
|
6183
|
+
.ImageNode__contentEditable [data-lexical-text="true"]::before {
|
|
6184
|
+
color: hsla(var(--cteditorf47ac10b-text) / 0.4);
|
|
6185
|
+
font-style: italic;
|
|
6186
|
+
}
|
|
6187
|
+
|
|
6188
|
+
.ImageNode__contentEditable p {
|
|
6189
|
+
margin: 0;
|
|
5964
6190
|
}
|
|
5965
6191
|
}
|