ct-rich-text-editor 1.3.1 → 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.
Files changed (41) hide show
  1. package/dist/assets/style.css +171 -130
  2. package/dist/{babel-d3085146.js → babel-d155920e.js} +3278 -3551
  3. package/dist/babel-d155920e.js.map +1 -0
  4. package/dist/components/CodeActionMenuPlugin/utils.d.ts +1 -1
  5. package/dist/components/FormatTextMenu/FormatTextMenuDrop.d.ts +5 -0
  6. package/dist/{estree-164983f6.js → estree-b1fff53b.js} +1778 -1763
  7. package/dist/estree-b1fff53b.js.map +1 -0
  8. package/dist/hooks/useDebounce.d.ts +1 -1
  9. package/dist/{html-5586dbf6.js → html-f95ee5dc.js} +656 -701
  10. package/dist/html-f95ee5dc.js.map +1 -0
  11. package/dist/{html2pdf.bundle-f23e1b00.js → html2pdf.bundle-7d125fec.js} +2 -2
  12. package/dist/html2pdf.bundle-7d125fec.js.map +1 -0
  13. package/dist/{html2pdf.bundle.min-daf952fb.js → html2pdf.bundle.min-96e9ee6a.js} +2 -2
  14. package/dist/html2pdf.bundle.min-96e9ee6a.js.map +1 -0
  15. package/dist/{index-8d147c36.js → index-413952d9.js} +489 -348
  16. package/dist/index-413952d9.js.map +1 -0
  17. package/dist/{index-10f9d057.js → index-91e0322d.js} +2 -2
  18. package/dist/{index-10f9d057.js.map → index-91e0322d.js.map} +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/{markdown-d513479b.js → markdown-1d9e6c3f.js} +1789 -1836
  21. package/dist/markdown-1d9e6c3f.js.map +1 -0
  22. package/dist/{postcss-f084f74d.js → postcss-c2592f3f.js} +1357 -1378
  23. package/dist/postcss-c2592f3f.js.map +1 -0
  24. package/dist/standalone-bcc7f37a.js +2649 -0
  25. package/dist/standalone-bcc7f37a.js.map +1 -0
  26. package/dist/typescript-48c10f50.js +13601 -0
  27. package/dist/typescript-48c10f50.js.map +1 -0
  28. package/dist/ui/Icons.d.ts +2 -1
  29. package/package.json +1 -1
  30. package/dist/babel-d3085146.js.map +0 -1
  31. package/dist/estree-164983f6.js.map +0 -1
  32. package/dist/html-5586dbf6.js.map +0 -1
  33. package/dist/html2pdf.bundle-f23e1b00.js.map +0 -1
  34. package/dist/html2pdf.bundle.min-daf952fb.js.map +0 -1
  35. package/dist/index-8d147c36.js.map +0 -1
  36. package/dist/markdown-d513479b.js.map +0 -1
  37. package/dist/postcss-f084f74d.js.map +0 -1
  38. package/dist/standalone-5a8c6b7e.js +0 -2518
  39. package/dist/standalone-5a8c6b7e.js.map +0 -1
  40. package/dist/typescript-b1005db4.js +0 -13705
  41. package/dist/typescript-b1005db4.js.map +0 -1
@@ -181,8 +181,7 @@ Add the correct text decoration in Chrome, Edge, and Safari.
181
181
  */
182
182
 
183
183
  abbr:where([title]) {
184
- -webkit-text-decoration: underline dotted;
185
- text-decoration: underline dotted;
184
+ text-decoration: underline dotted;
186
185
  }
187
186
 
188
187
  /*
@@ -752,10 +751,6 @@ video {
752
751
  margin-bottom: 1rem;
753
752
  }
754
753
 
755
- .cteditor-ml-1{
756
- margin-left: 0.25rem;
757
- }
758
-
759
754
  .cteditor-ml-2{
760
755
  margin-left: 0.5rem;
761
756
  }
@@ -776,10 +771,6 @@ video {
776
771
  margin-right: 0.5rem;
777
772
  }
778
773
 
779
- .cteditor-mr-4{
780
- margin-right: 1rem;
781
- }
782
-
783
774
  .cteditor-mt-0\.5{
784
775
  margin-top: 0.125rem;
785
776
  }
@@ -880,6 +871,11 @@ video {
880
871
  height: 1.5rem;
881
872
  }
882
873
 
874
+ .cteditor-size-8{
875
+ width: 2rem;
876
+ height: 2rem;
877
+ }
878
+
883
879
  .cteditor-size-9{
884
880
  width: 2.25rem;
885
881
  height: 2.25rem;
@@ -962,6 +958,10 @@ video {
962
958
  height: var(--radix-select-trigger-height);
963
959
  }
964
960
 
961
+ .cteditor-h-auto{
962
+ height: auto;
963
+ }
964
+
965
965
  .cteditor-h-full{
966
966
  height: 100%;
967
967
  }
@@ -970,6 +970,10 @@ video {
970
970
  height: 1px;
971
971
  }
972
972
 
973
+ .cteditor-max-h-44{
974
+ max-height: 11rem;
975
+ }
976
+
973
977
  .cteditor-max-h-56{
974
978
  max-height: 14rem;
975
979
  }
@@ -1030,10 +1034,6 @@ video {
1030
1034
  width: 2.25rem !important;
1031
1035
  }
1032
1036
 
1033
- .\!cteditor-w-\[120px\]{
1034
- width: 120px !important;
1035
- }
1036
-
1037
1037
  .\!cteditor-w-full{
1038
1038
  width: 100% !important;
1039
1039
  }
@@ -1102,10 +1102,6 @@ video {
1102
1102
  width: 2rem;
1103
1103
  }
1104
1104
 
1105
- .cteditor-w-80{
1106
- width: 20rem;
1107
- }
1108
-
1109
1105
  .cteditor-w-9{
1110
1106
  width: 2.25rem;
1111
1107
  }
@@ -1118,6 +1114,10 @@ video {
1118
1114
  width: 1px;
1119
1115
  }
1120
1116
 
1117
+ .cteditor-w-\[20rem\]{
1118
+ width: 20rem;
1119
+ }
1120
+
1121
1121
  .cteditor-w-\[400px\]{
1122
1122
  width: 400px;
1123
1123
  }
@@ -1170,6 +1170,10 @@ video {
1170
1170
  max-width: 32rem;
1171
1171
  }
1172
1172
 
1173
+ .cteditor-max-w-xs{
1174
+ max-width: 20rem;
1175
+ }
1176
+
1173
1177
  .cteditor-flex-1{
1174
1178
  flex: 1 1 0%;
1175
1179
  }
@@ -1228,6 +1232,12 @@ video {
1228
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));
1229
1233
  }
1230
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
+
1231
1241
  @keyframes cteditor-pulse{
1232
1242
 
1233
1243
  50%{
@@ -1255,9 +1265,8 @@ video {
1255
1265
  }
1256
1266
 
1257
1267
  .cteditor-select-none{
1258
- -webkit-user-select: none;
1259
- -moz-user-select: none;
1260
- user-select: none;
1268
+ -moz-user-select: none;
1269
+ user-select: none;
1261
1270
  }
1262
1271
 
1263
1272
  .cteditor-resize-none{
@@ -1306,6 +1315,10 @@ video {
1306
1315
  align-items: center;
1307
1316
  }
1308
1317
 
1318
+ .\!cteditor-justify-start{
1319
+ justify-content: flex-start !important;
1320
+ }
1321
+
1309
1322
  .cteditor-justify-start{
1310
1323
  justify-content: flex-start;
1311
1324
  }
@@ -1418,6 +1431,10 @@ video {
1418
1431
  overflow-x: hidden;
1419
1432
  }
1420
1433
 
1434
+ .cteditor-overflow-y-hidden{
1435
+ overflow-y: hidden;
1436
+ }
1437
+
1421
1438
  .cteditor-truncate{
1422
1439
  overflow: hidden;
1423
1440
  text-overflow: ellipsis;
@@ -1481,6 +1498,10 @@ video {
1481
1498
  border-width: 2px;
1482
1499
  }
1483
1500
 
1501
+ .cteditor-border-\[1px\]{
1502
+ border-width: 1px;
1503
+ }
1504
+
1484
1505
  .cteditor-border-b{
1485
1506
  border-bottom-width: 1px;
1486
1507
  }
@@ -1509,6 +1530,10 @@ video {
1509
1530
  border-style: dashed;
1510
1531
  }
1511
1532
 
1533
+ .\!cteditor-border-none{
1534
+ border-style: none !important;
1535
+ }
1536
+
1512
1537
  .cteditor-border-none{
1513
1538
  border-style: none;
1514
1539
  }
@@ -1527,6 +1552,10 @@ video {
1527
1552
  border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
1528
1553
  }
1529
1554
 
1555
+ .cteditor-border-background\/20{
1556
+ border-color: hsl(var(--cteditorf47ac10b-background) / 0.2);
1557
+ }
1558
+
1530
1559
  .cteditor-border-blue-200{
1531
1560
  --tw-border-opacity: 1;
1532
1561
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
@@ -1545,8 +1574,8 @@ video {
1545
1574
  border-color: hsl(var(--cteditorf47ac10b-border) / 0.3);
1546
1575
  }
1547
1576
 
1548
- .cteditor-border-border\/50{
1549
- border-color: hsl(var(--cteditorf47ac10b-border) / 0.5);
1577
+ .cteditor-border-foreground{
1578
+ border-color: hsl(var(--cteditorf47ac10b-foreground));
1550
1579
  }
1551
1580
 
1552
1581
  .cteditor-border-foreground\/15{
@@ -1660,10 +1689,18 @@ video {
1660
1689
  border-left-color: rgb(234 179 8 / var(--tw-border-opacity, 1));
1661
1690
  }
1662
1691
 
1692
+ .\!cteditor-bg-accent{
1693
+ background-color: hsl(var(--cteditorf47ac10b-accent)) !important;
1694
+ }
1695
+
1663
1696
  .\!cteditor-bg-foreground\/10{
1664
1697
  background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.1) !important;
1665
1698
  }
1666
1699
 
1700
+ .\!cteditor-bg-foreground\/5{
1701
+ background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.05) !important;
1702
+ }
1703
+
1667
1704
  .\!cteditor-bg-secondary{
1668
1705
  background-color: hsl(var(--cteditorf47ac10b-secondary)) !important;
1669
1706
  }
@@ -1922,6 +1959,11 @@ video {
1922
1959
  padding-bottom: 0.125rem !important;
1923
1960
  }
1924
1961
 
1962
+ .\!cteditor-py-3{
1963
+ padding-top: 0.75rem !important;
1964
+ padding-bottom: 0.75rem !important;
1965
+ }
1966
+
1925
1967
  .cteditor-px-1{
1926
1968
  padding-left: 0.25rem;
1927
1969
  padding-right: 0.25rem;
@@ -2177,6 +2219,10 @@ video {
2177
2219
  color: rgb(120 53 15 / var(--tw-text-opacity, 1));
2178
2220
  }
2179
2221
 
2222
+ .cteditor-text-background{
2223
+ color: hsl(var(--cteditorf47ac10b-background));
2224
+ }
2225
+
2180
2226
  .cteditor-text-black{
2181
2227
  --tw-text-opacity: 1;
2182
2228
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
@@ -2192,11 +2238,6 @@ video {
2192
2238
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
2193
2239
  }
2194
2240
 
2195
- .cteditor-text-blue-700{
2196
- --tw-text-opacity: 1;
2197
- color: rgb(29 78 216 / var(--tw-text-opacity, 1));
2198
- }
2199
-
2200
2241
  .cteditor-text-blue-800{
2201
2242
  --tw-text-opacity: 1;
2202
2243
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
@@ -2408,6 +2449,10 @@ video {
2408
2449
  outline-width: 0px;
2409
2450
  }
2410
2451
 
2452
+ .cteditor-outline-background\/30{
2453
+ outline-color: hsl(var(--cteditorf47ac10b-background) / 0.3);
2454
+ }
2455
+
2411
2456
  .cteditor-ring-offset-background{
2412
2457
  --tw-ring-offset-color: hsl(var(--cteditorf47ac10b-background));
2413
2458
  }
@@ -2758,6 +2803,15 @@ body .ai-chat-popup .ai-chat-input {
2758
2803
  flex-shrink: 0;
2759
2804
  }
2760
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
+
2761
2815
  .file\:cteditor-border-0::file-selector-button{
2762
2816
  border-width: 0px;
2763
2817
  }
@@ -2779,6 +2833,14 @@ body .ai-chat-popup .ai-chat-input {
2779
2833
  color: hsl(var(--cteditorf47ac10b-foreground));
2780
2834
  }
2781
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
+
2782
2844
  .placeholder\:cteditor-text-muted-foreground::-moz-placeholder{
2783
2845
  color: hsl(var(--cteditorf47ac10b-muted-foreground));
2784
2846
  }
@@ -2910,10 +2972,6 @@ body .ai-chat-popup .ai-chat-input {
2910
2972
  background-color: hsl(var(--cteditorf47ac10b-muted) / 0.5);
2911
2973
  }
2912
2974
 
2913
- .hover\:cteditor-bg-muted\/80:hover{
2914
- background-color: hsl(var(--cteditorf47ac10b-muted) / 0.8);
2915
- }
2916
-
2917
2975
  .hover\:cteditor-bg-primary:hover{
2918
2976
  background-color: hsl(var(--cteditorf47ac10b-primary));
2919
2977
  }
@@ -2992,12 +3050,6 @@ body .ai-chat-popup .ai-chat-input {
2992
3050
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2993
3051
  }
2994
3052
 
2995
- .hover\:cteditor-shadow-lg:hover{
2996
- --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
2997
- --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
2998
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2999
- }
3000
-
3001
3053
  .hover\:cteditor-shadow-md:hover{
3002
3054
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
3003
3055
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
@@ -3009,18 +3061,10 @@ body .ai-chat-popup .ai-chat-input {
3009
3061
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
3010
3062
  }
3011
3063
 
3012
- .focus\:cteditor-border-primary:focus{
3013
- border-color: hsl(var(--cteditorf47ac10b-primary));
3014
- }
3015
-
3016
3064
  .focus\:cteditor-border-primary\/60:focus{
3017
3065
  border-color: hsl(var(--cteditorf47ac10b-primary) / 0.6);
3018
3066
  }
3019
3067
 
3020
- .focus\:cteditor-bg-background:focus{
3021
- background-color: hsl(var(--cteditorf47ac10b-background));
3022
- }
3023
-
3024
3068
  .focus\:cteditor-bg-foreground\/5:focus{
3025
3069
  background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.05);
3026
3070
  }
@@ -3050,10 +3094,6 @@ body .ai-chat-popup .ai-chat-input {
3050
3094
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
3051
3095
  }
3052
3096
 
3053
- .focus\:cteditor-ring-primary\/50:focus{
3054
- --tw-ring-color: hsl(var(--cteditorf47ac10b-primary) / 0.5);
3055
- }
3056
-
3057
3097
  .focus\:cteditor-ring-ring:focus{
3058
3098
  --tw-ring-color: hsl(var(--cteditorf47ac10b-ring));
3059
3099
  }
@@ -3356,11 +3396,6 @@ body .ai-chat-popup .ai-chat-input {
3356
3396
  border-color: rgb(133 77 14 / var(--tw-border-opacity, 1));
3357
3397
  }
3358
3398
 
3359
- .dark\:cteditor-bg-\[\#0b0b0b\]:is(.cteditor-dark *){
3360
- --tw-bg-opacity: 1;
3361
- background-color: rgb(11 11 11 / var(--tw-bg-opacity, 1));
3362
- }
3363
-
3364
3399
  .dark\:cteditor-bg-amber-950\/50:is(.cteditor-dark *){
3365
3400
  background-color: rgb(69 26 3 / 0.5);
3366
3401
  }
@@ -3415,11 +3450,6 @@ body .ai-chat-popup .ai-chat-input {
3415
3450
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
3416
3451
  }
3417
3452
 
3418
- .dark\:cteditor-text-blue-500:is(.cteditor-dark *){
3419
- --tw-text-opacity: 1;
3420
- color: rgb(59 130 246 / var(--tw-text-opacity, 1));
3421
- }
3422
-
3423
3453
  .dark\:cteditor-text-gray-400:is(.cteditor-dark *){
3424
3454
  --tw-text-opacity: 1;
3425
3455
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
@@ -3465,12 +3495,23 @@ body .ai-chat-popup .ai-chat-input {
3465
3495
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
3466
3496
  }
3467
3497
 
3498
+ @media not all and (min-width: 768px){
3499
+
3500
+ .max-md\:cteditor-w-full{
3501
+ width: 100%;
3502
+ }
3503
+ }
3504
+
3468
3505
  @media (min-width: 640px){
3469
3506
 
3470
3507
  .sm\:cteditor-inline{
3471
3508
  display: inline;
3472
3509
  }
3473
3510
 
3511
+ .sm\:cteditor-w-\[28rem\]{
3512
+ width: 28rem;
3513
+ }
3514
+
3474
3515
  .sm\:cteditor-w-\[400px\]{
3475
3516
  width: 400px;
3476
3517
  }
@@ -3514,6 +3555,17 @@ body .ai-chat-popup .ai-chat-input {
3514
3555
  }
3515
3556
  }
3516
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
+
3517
3569
  .\[\&\>button\:hover\>span\]\:cteditor-bottom-full>button:hover>span{
3518
3570
  bottom: 100%;
3519
3571
  }
@@ -3558,9 +3610,8 @@ body .ai-chat-popup .ai-chat-input {
3558
3610
  }
3559
3611
 
3560
3612
  .\[\&\>button\]\:cteditor-select-none>button{
3561
- -webkit-user-select: none;
3562
- -moz-user-select: none;
3563
- user-select: none;
3613
+ -moz-user-select: none;
3614
+ user-select: none;
3564
3615
  }
3565
3616
 
3566
3617
  .\[\&\>button\]\:cteditor-items-center>button{
@@ -3600,11 +3651,15 @@ body .ai-chat-popup .ai-chat-input {
3600
3651
  transition-duration: 150ms;
3601
3652
  }
3602
3653
 
3603
- .\[\&\>button\]\:focus\:cteditor-bg-foreground\/5:focus>button{
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{
3604
3659
  background-color: hsl(var(--cteditorf47ac10b-foreground) / 0.05);
3605
3660
  }
3606
3661
 
3607
- .\[\&\>button\]\:focus\:cteditor-text-accent-foreground:focus>button{
3662
+ .focus\:\[\&\>button\]\:cteditor-text-accent-foreground>button:focus{
3608
3663
  color: hsl(var(--cteditorf47ac10b-accent-foreground));
3609
3664
  }
3610
3665
 
@@ -4091,9 +4146,8 @@ body .ai-chat-popup .ai-chat-input {
4091
4146
 
4092
4147
  .comment-node {
4093
4148
  display: inline;
4094
- -webkit-user-select: none;
4095
- -moz-user-select: none;
4096
- user-select: none;
4149
+ -moz-user-select: none;
4150
+ user-select: none;
4097
4151
  }
4098
4152
 
4099
4153
  .comment-highlight {
@@ -4199,9 +4253,8 @@ body .ai-chat-popup .ai-chat-input {
4199
4253
  }
4200
4254
 
4201
4255
  .embedBlock {
4202
- -webkit-user-select: none;
4203
- -moz-user-select: none;
4204
- user-select: none;
4256
+ -moz-user-select: none;
4257
+ user-select: none;
4205
4258
  }
4206
4259
 
4207
4260
  .embedBlockFocus {
@@ -4458,8 +4511,8 @@ body .ai-chat-popup .ai-chat-input {
4458
4511
  }
4459
4512
 
4460
4513
  .PlaygroundEditorTheme__code {
4461
- background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.05);
4462
- color: hsla(var(--cteditorf47ac10b-foreground));
4514
+ background-color: hsla(var(--cteditorf47ac10b-background) / 0.05);
4515
+ color: hsla(var(--cteditorf47ac10b-background));
4463
4516
  font-family: Menlo, Consolas, Monaco, monospace;
4464
4517
  display: block;
4465
4518
  padding: 8px 8px 8px 52px;
@@ -4474,15 +4527,15 @@ body .ai-chat-popup .ai-chat-input {
4474
4527
  -o-tab-size: 2;
4475
4528
  tab-size: 2;
4476
4529
  border-radius: 6px;
4477
- border: 1px solid hsla(var(--cteditorf47ac10b-foreground) / 0.1);
4530
+ border: 1px solid hsla(var(--cteditorf47ac10b-background) / 0.1);
4478
4531
  transition: all 0.2s ease;
4479
4532
  cursor: pointer;
4480
4533
  }
4481
4534
 
4482
4535
  .PlaygroundEditorTheme__code:hover {
4483
- background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.08);
4484
- border-color: hsla(var(--cteditorf47ac10b-foreground) / 0.2);
4485
- box-shadow: 0 2px 8px hsla(var(--cteditorf47ac10b-foreground) / 0.1);
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);
4486
4539
  }
4487
4540
 
4488
4541
  .PlaygroundEditorTheme__code:focus-within {
@@ -4491,7 +4544,7 @@ body .ai-chat-popup .ai-chat-input {
4491
4544
  }
4492
4545
 
4493
4546
  .PlaygroundEditorTheme__code.selected {
4494
- background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.1);
4547
+ background-color: hsla(var(--cteditorf47ac10b-background) / 0.1);
4495
4548
  border-color: hsla(var(--cteditorf47ac10b-primary));
4496
4549
  box-shadow: 0 0 0 2px hsla(var(--cteditorf47ac10b-primary) / 0.2);
4497
4550
  }
@@ -4499,14 +4552,14 @@ body .ai-chat-popup .ai-chat-input {
4499
4552
  .PlaygroundEditorTheme__code:before {
4500
4553
  content: attr(data-gutter);
4501
4554
  position: absolute;
4502
- background-color: hsla(var(--cteditorf47ac10b-foreground) / 0.08);
4555
+ background-color: hsla(var(--cteditorf47ac10b-background) / 0.08);
4503
4556
  left: 0;
4504
4557
  top: 0;
4505
- border-right: 1px solid hsla(var(--cteditorf47ac10b-foreground) / 0.15);
4558
+ border-right: 1px solid hsla(var(--cteditorf47ac10b-background) / 0.15);
4506
4559
  border-top-left-radius: 6px;
4507
4560
  border-bottom-left-radius: 6px;
4508
4561
  padding: 8px;
4509
- color: hsla(var(--cteditorf47ac10b-foreground) / 0.6);
4562
+ color: hsla(var(--cteditorf47ac10b-background) / 0.6);
4510
4563
  white-space: pre-wrap;
4511
4564
  text-align: right;
4512
4565
  min-width: 25px;
@@ -4818,19 +4871,19 @@ body .ai-chat-popup .ai-chat-input {
4818
4871
  }
4819
4872
 
4820
4873
  .PlaygroundEditorTheme__listItemChecked:after {
4821
- content: "";
4874
+ content: "";
4822
4875
  cursor: pointer;
4823
4876
  border-color: #fff;
4824
4877
  border-style: solid;
4825
4878
  position: absolute;
4826
4879
  display: block;
4827
- top: 6px;
4828
- width: 3px;
4829
- left: 7px;
4880
+ top: 5px;
4881
+ width: 4px;
4882
+ left: 6px;
4830
4883
  right: 7px;
4831
- height: 6px;
4884
+ height: 8px;
4832
4885
  transform: rotate(45deg);
4833
- border-width: 0 2px 2px 0;
4886
+ border-width: 0 1px 1px 0;
4834
4887
  }
4835
4888
 
4836
4889
  .PlaygroundEditorTheme__nestedListItem {
@@ -4896,9 +4949,8 @@ body .ai-chat-popup .ai-chat-input {
4896
4949
  }
4897
4950
 
4898
4951
  .PlaygroundEditorTheme__embedBlock {
4899
- -webkit-user-select: none;
4900
- -moz-user-select: none;
4901
- user-select: none;
4952
+ -moz-user-select: none;
4953
+ user-select: none;
4902
4954
  }
4903
4955
 
4904
4956
  .PlaygroundEditorTheme__embedBlockFocus {
@@ -4938,9 +4990,8 @@ body .ai-chat-popup .ai-chat-input {
4938
4990
 
4939
4991
  .PlaygroundEditorTheme__hr.selected {
4940
4992
  outline: 2px solid rgb(60, 132, 244);
4941
- -webkit-user-select: none;
4942
- -moz-user-select: none;
4943
- user-select: none;
4993
+ -moz-user-select: none;
4994
+ user-select: none;
4944
4995
  }
4945
4996
 
4946
4997
  .PlaygroundEditorTheme__specialText {
@@ -4951,9 +5002,9 @@ body .ai-chat-popup .ai-chat-input {
4951
5002
  .editor-image {
4952
5003
  position: relative;
4953
5004
  display: inline-block;
4954
- -webkit-user-select: none;
4955
- -moz-user-select: none;
4956
- user-select: none;
5005
+ -moz-user-select: none;
5006
+ user-select: none;
5007
+ margin:6px;
4957
5008
  }
4958
5009
 
4959
5010
  .editor-image img {
@@ -4963,9 +5014,8 @@ body .ai-chat-popup .ai-chat-input {
4963
5014
 
4964
5015
  .editor-image img.focused {
4965
5016
  outline: 2px solid rgb(60, 132, 244);
4966
- -webkit-user-select: none;
4967
- -moz-user-select: none;
4968
- user-select: none;
5017
+ -moz-user-select: none;
5018
+ user-select: none;
4969
5019
  }
4970
5020
 
4971
5021
  .editor-image img.focused.draggable {
@@ -4985,6 +5035,7 @@ body .ai-chat-popup .ai-chat-input {
4985
5035
  border: 1px solid #fff !important;
4986
5036
  border-radius: 50% !important;
4987
5037
  z-index: 10 !important;
5038
+ transition: all 0.2s linear;
4988
5039
  }
4989
5040
 
4990
5041
  .editor-image .image-resizer.image-resizer-n {
@@ -5012,7 +5063,7 @@ body .ai-chat-popup .ai-chat-input {
5012
5063
  }
5013
5064
 
5014
5065
  .editor-image .image-resizer.image-resizer-s {
5015
- bottom: -2px !important;
5066
+ bottom: -4px !important;
5016
5067
  left: 48% !important;
5017
5068
  cursor: s-resize !important;
5018
5069
  }
@@ -5363,9 +5414,8 @@ body .ai-chat-popup .ai-chat-input {
5363
5414
  display: flex;
5364
5415
  align-items: center;
5365
5416
  flex-direction: row;
5366
- -webkit-user-select: none;
5367
- -moz-user-select: none;
5368
- user-select: none;
5417
+ -moz-user-select: none;
5418
+ user-select: none;
5369
5419
  background-color: hsla(var(--background) / 0.95);
5370
5420
  backdrop-filter: blur(8px);
5371
5421
  border: 1px solid hsla(var(--foreground) / 0.1);
@@ -5507,16 +5557,14 @@ body .ai-chat-popup .ai-chat-input {
5507
5557
 
5508
5558
  /* Error highlighting styles - can be applied to text nodes */
5509
5559
  .spelling-error {
5510
- -webkit-text-decoration: underline wavy red;
5511
- text-decoration: underline wavy red;
5560
+ text-decoration: underline wavy red;
5512
5561
  text-decoration-thickness: 2px;
5513
5562
  text-underline-offset: 2px;
5514
5563
  cursor: pointer;
5515
5564
  }
5516
5565
 
5517
5566
  .grammar-error {
5518
- -webkit-text-decoration: underline wavy blue;
5519
- text-decoration: underline wavy blue;
5567
+ text-decoration: underline wavy blue;
5520
5568
  text-decoration-thickness: 2px;
5521
5569
  text-underline-offset: 2px;
5522
5570
  cursor: pointer;
@@ -5854,9 +5902,8 @@ body .ai-chat-popup .ai-chat-input {
5854
5902
  display: flex;
5855
5903
  width: 20px;
5856
5904
  height: 20px;
5857
- -webkit-user-select: none;
5858
- -moz-user-select: none;
5859
- user-select: none;
5905
+ -moz-user-select: none;
5906
+ user-select: none;
5860
5907
  margin-right: 8px;
5861
5908
  line-height: 16px;
5862
5909
  background-size: contain;
@@ -5867,9 +5914,8 @@ body .ai-chat-popup .ai-chat-input {
5867
5914
  width: 16px;
5868
5915
  height: 16px;
5869
5916
  display: flex;
5870
- -webkit-user-select: none;
5871
- -moz-user-select: none;
5872
- user-select: none;
5917
+ -moz-user-select: none;
5918
+ user-select: none;
5873
5919
  }
5874
5920
 
5875
5921
  .floating-text-format-popup i.chevron-down.inside {
@@ -5976,9 +6022,8 @@ body .ai-chat-popup .ai-chat-input {
5976
6022
  height: 150px;
5977
6023
  background-image: linear-gradient(transparent, black),
5978
6024
  linear-gradient(to right, white, transparent);
5979
- -webkit-user-select: none;
5980
- -moz-user-select: none;
5981
- user-select: none;
6025
+ -moz-user-select: none;
6026
+ user-select: none;
5982
6027
  }
5983
6028
  .color-picker-saturation_cursor {
5984
6029
  position: absolute;
@@ -6005,9 +6050,8 @@ body .ai-chat-popup .ai-chat-input {
6005
6050
  rgb(255, 0, 255),
6006
6051
  rgb(255, 0, 0)
6007
6052
  );
6008
- -webkit-user-select: none;
6009
- -moz-user-select: none;
6010
- user-select: none;
6053
+ -moz-user-select: none;
6054
+ user-select: none;
6011
6055
  border-radius: 12px;
6012
6056
  }
6013
6057
 
@@ -6084,10 +6128,11 @@ body .ai-chat-popup .ai-chat-input {
6084
6128
  /* Improved caption button styling - positioned relative to the image container */
6085
6129
  .image-caption-button {
6086
6130
  position: absolute;
6087
- bottom: -42px;
6131
+ bottom:4px;
6088
6132
  left: 50%;
6089
6133
  transform: translateX(-50%);
6090
- background: hsla(var(--cteditorf47ac10b-secondary));
6134
+ background:hsl(var(--cteditorf47ac10b-background));
6135
+ color:hsl(var(--cteditorf47ac10b-foreground));
6091
6136
  border-radius: 8px;
6092
6137
  padding: 4px 16px;
6093
6138
  font-size: 13px;
@@ -6101,14 +6146,9 @@ body .ai-chat-popup .ai-chat-input {
6101
6146
  }
6102
6147
 
6103
6148
  .image-caption-button:hover {
6104
- background: hsla(var(--cteditorf47ac10b-secondary) / 0.8);
6149
+ background: hsla(var(--cteditorf47ac10b-background) / 0.8);
6105
6150
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
6106
- transform: translateX(-50%) translateY(-1px);
6107
- }
6108
-
6109
- .image-caption-button:active {
6110
- background: hsla(var(--cteditorf47ac10b-secondary) / 0.6);
6111
- transform: translateX(-50%) translateY(0px);
6151
+
6112
6152
  }
6113
6153
 
6114
6154
  /* Caption input styling - now in normal flow */
@@ -6117,10 +6157,11 @@ body .ai-chat-popup .ai-chat-input {
6117
6157
  width: 100%;
6118
6158
  background: hsla(var(--cteditorf47ac10b-secondary) / 0.5);
6119
6159
  border: 1px solid hsla(var(--cteditorf47ac10b-border) / 0.2);
6160
+ color: 1px solid hsla(var(--cteditorf47ac10b-foreground));
6120
6161
  border-radius: 6px;
6121
- padding: 8px 12px;
6162
+ padding:4px 8px;
6122
6163
  line-height: 1.5;
6123
- min-height: 36px;
6164
+ min-height: 32px;
6124
6165
  font-size: 14px;
6125
6166
  outline: none;
6126
6167
  transition: all 0.2s ease;