ct-rich-text-editor 1.2.8 → 1.2.9
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 +33 -55
- package/dist/{html2pdf.bundle-b85c32f6.js → html2pdf.bundle-583538f8.js} +2 -2
- package/dist/{html2pdf.bundle-b85c32f6.js.map → html2pdf.bundle-583538f8.js.map} +1 -1
- package/dist/{html2pdf.bundle.min-2dd44ab5.js → html2pdf.bundle.min-bc7d5952.js} +2 -2
- package/dist/{html2pdf.bundle.min-2dd44ab5.js.map → html2pdf.bundle.min-bc7d5952.js.map} +1 -1
- package/dist/{index-0752dfb0.js → index-91238d37.js} +2 -2
- package/dist/{index-0752dfb0.js.map → index-91238d37.js.map} +1 -1
- package/dist/{index-2d49fa3f.js → index-9d28aec6.js} +1967 -2722
- package/dist/index-9d28aec6.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-2d49fa3f.js.map +0 -1
package/dist/assets/style.css
CHANGED
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/*
|
|
112
|
-
! tailwindcss v3.4.
|
|
112
|
+
! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
|
|
113
113
|
*/
|
|
114
114
|
|
|
115
115
|
/*
|
|
@@ -181,8 +181,7 @@ Add the correct text decoration in Chrome, Edge, and Safari.
|
|
|
181
181
|
*/
|
|
182
182
|
|
|
183
183
|
abbr:where([title]) {
|
|
184
|
-
|
|
185
|
-
text-decoration: underline dotted;
|
|
184
|
+
text-decoration: underline dotted;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
/*
|
|
@@ -1243,9 +1242,8 @@ video {
|
|
|
1243
1242
|
}
|
|
1244
1243
|
|
|
1245
1244
|
.cteditor-select-none{
|
|
1246
|
-
-
|
|
1247
|
-
|
|
1248
|
-
user-select: none;
|
|
1245
|
+
-moz-user-select: none;
|
|
1246
|
+
user-select: none;
|
|
1249
1247
|
}
|
|
1250
1248
|
|
|
1251
1249
|
.cteditor-resize-none{
|
|
@@ -2380,14 +2378,11 @@ video {
|
|
|
2380
2378
|
|
|
2381
2379
|
.cteditor-backdrop-blur-sm{
|
|
2382
2380
|
--tw-backdrop-blur: blur(4px);
|
|
2383
|
-
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2384
2381
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2385
2382
|
}
|
|
2386
2383
|
|
|
2387
2384
|
.cteditor-transition{
|
|
2388
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2389
2385
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2390
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
2391
2386
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2392
2387
|
transition-duration: 150ms;
|
|
2393
2388
|
}
|
|
@@ -2607,8 +2602,7 @@ body.dark ::-webkit-scrollbar-thumb {
|
|
|
2607
2602
|
/* AI Chat Popup Style */
|
|
2608
2603
|
|
|
2609
2604
|
body .ai-chat-popup {
|
|
2610
|
-
|
|
2611
|
-
backdrop-filter: blur(2px);
|
|
2605
|
+
backdrop-filter: blur(2px);
|
|
2612
2606
|
display: flex;
|
|
2613
2607
|
justify-content: center;
|
|
2614
2608
|
align-items: center;
|
|
@@ -3415,9 +3409,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3415
3409
|
}
|
|
3416
3410
|
|
|
3417
3411
|
.\[\&\>button\]\:cteditor-select-none>button{
|
|
3418
|
-
-
|
|
3419
|
-
|
|
3420
|
-
user-select: none;
|
|
3412
|
+
-moz-user-select: none;
|
|
3413
|
+
user-select: none;
|
|
3421
3414
|
}
|
|
3422
3415
|
|
|
3423
3416
|
.\[\&\>button\]\:cteditor-items-center>button{
|
|
@@ -3883,9 +3876,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3883
3876
|
|
|
3884
3877
|
.comment-node {
|
|
3885
3878
|
display: inline;
|
|
3886
|
-
-
|
|
3887
|
-
|
|
3888
|
-
user-select: none;
|
|
3879
|
+
-moz-user-select: none;
|
|
3880
|
+
user-select: none;
|
|
3889
3881
|
}
|
|
3890
3882
|
|
|
3891
3883
|
.comment-highlight {
|
|
@@ -3991,9 +3983,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
3991
3983
|
}
|
|
3992
3984
|
|
|
3993
3985
|
.embedBlock {
|
|
3994
|
-
-
|
|
3995
|
-
|
|
3996
|
-
user-select: none;
|
|
3986
|
+
-moz-user-select: none;
|
|
3987
|
+
user-select: none;
|
|
3997
3988
|
}
|
|
3998
3989
|
|
|
3999
3990
|
.embedBlockFocus {
|
|
@@ -4680,9 +4671,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4680
4671
|
}
|
|
4681
4672
|
|
|
4682
4673
|
.PlaygroundEditorTheme__embedBlock {
|
|
4683
|
-
-
|
|
4684
|
-
|
|
4685
|
-
user-select: none;
|
|
4674
|
+
-moz-user-select: none;
|
|
4675
|
+
user-select: none;
|
|
4686
4676
|
}
|
|
4687
4677
|
|
|
4688
4678
|
.PlaygroundEditorTheme__embedBlockFocus {
|
|
@@ -4722,9 +4712,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4722
4712
|
|
|
4723
4713
|
.PlaygroundEditorTheme__hr.selected {
|
|
4724
4714
|
outline: 2px solid rgb(60, 132, 244);
|
|
4725
|
-
-
|
|
4726
|
-
|
|
4727
|
-
user-select: none;
|
|
4715
|
+
-moz-user-select: none;
|
|
4716
|
+
user-select: none;
|
|
4728
4717
|
}
|
|
4729
4718
|
|
|
4730
4719
|
.PlaygroundEditorTheme__specialText {
|
|
@@ -4735,9 +4724,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4735
4724
|
.editor-image {
|
|
4736
4725
|
position: relative;
|
|
4737
4726
|
display: inline-block;
|
|
4738
|
-
-
|
|
4739
|
-
|
|
4740
|
-
user-select: none;
|
|
4727
|
+
-moz-user-select: none;
|
|
4728
|
+
user-select: none;
|
|
4741
4729
|
}
|
|
4742
4730
|
|
|
4743
4731
|
.editor-image img {
|
|
@@ -4747,9 +4735,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
4747
4735
|
|
|
4748
4736
|
.editor-image img.focused {
|
|
4749
4737
|
outline: 2px solid rgb(60, 132, 244);
|
|
4750
|
-
-
|
|
4751
|
-
|
|
4752
|
-
user-select: none;
|
|
4738
|
+
-moz-user-select: none;
|
|
4739
|
+
user-select: none;
|
|
4753
4740
|
}
|
|
4754
4741
|
|
|
4755
4742
|
.editor-image img.focused.draggable {
|
|
@@ -5147,12 +5134,10 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5147
5134
|
display: flex;
|
|
5148
5135
|
align-items: center;
|
|
5149
5136
|
flex-direction: row;
|
|
5150
|
-
-
|
|
5151
|
-
|
|
5152
|
-
user-select: none;
|
|
5137
|
+
-moz-user-select: none;
|
|
5138
|
+
user-select: none;
|
|
5153
5139
|
background-color: hsla(var(--background) / 0.95);
|
|
5154
|
-
|
|
5155
|
-
backdrop-filter: blur(8px);
|
|
5140
|
+
backdrop-filter: blur(8px);
|
|
5156
5141
|
border: 1px solid hsla(var(--foreground) / 0.1);
|
|
5157
5142
|
border-radius: 8px;
|
|
5158
5143
|
padding: 4px 8px;
|
|
@@ -5528,9 +5513,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5528
5513
|
display: flex;
|
|
5529
5514
|
width: 20px;
|
|
5530
5515
|
height: 20px;
|
|
5531
|
-
-
|
|
5532
|
-
|
|
5533
|
-
user-select: none;
|
|
5516
|
+
-moz-user-select: none;
|
|
5517
|
+
user-select: none;
|
|
5534
5518
|
margin-right: 8px;
|
|
5535
5519
|
line-height: 16px;
|
|
5536
5520
|
background-size: contain;
|
|
@@ -5541,9 +5525,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5541
5525
|
width: 16px;
|
|
5542
5526
|
height: 16px;
|
|
5543
5527
|
display: flex;
|
|
5544
|
-
-
|
|
5545
|
-
|
|
5546
|
-
user-select: none;
|
|
5528
|
+
-moz-user-select: none;
|
|
5529
|
+
user-select: none;
|
|
5547
5530
|
}
|
|
5548
5531
|
|
|
5549
5532
|
.floating-text-format-popup i.chevron-down.inside {
|
|
@@ -5569,8 +5552,7 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5569
5552
|
|
|
5570
5553
|
/* Improve dropdown menu styles */
|
|
5571
5554
|
.floating-text-format-popup .improve-dropdown {
|
|
5572
|
-
|
|
5573
|
-
backdrop-filter: blur(8px);
|
|
5555
|
+
backdrop-filter: blur(8px);
|
|
5574
5556
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
5575
5557
|
}
|
|
5576
5558
|
|
|
@@ -5651,9 +5633,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5651
5633
|
height: 150px;
|
|
5652
5634
|
background-image: linear-gradient(transparent, black),
|
|
5653
5635
|
linear-gradient(to right, white, transparent);
|
|
5654
|
-
-
|
|
5655
|
-
|
|
5656
|
-
user-select: none;
|
|
5636
|
+
-moz-user-select: none;
|
|
5637
|
+
user-select: none;
|
|
5657
5638
|
}
|
|
5658
5639
|
.color-picker-saturation_cursor {
|
|
5659
5640
|
position: absolute;
|
|
@@ -5680,9 +5661,8 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5680
5661
|
rgb(255, 0, 255),
|
|
5681
5662
|
rgb(255, 0, 0)
|
|
5682
5663
|
);
|
|
5683
|
-
-
|
|
5684
|
-
|
|
5685
|
-
user-select: none;
|
|
5664
|
+
-moz-user-select: none;
|
|
5665
|
+
user-select: none;
|
|
5686
5666
|
border-radius: 12px;
|
|
5687
5667
|
}
|
|
5688
5668
|
|
|
@@ -5767,16 +5747,14 @@ body .ai-chat-popup .ai-chat-input {
|
|
|
5767
5747
|
|
|
5768
5748
|
/* Error highlighting styles - can be applied to text nodes */
|
|
5769
5749
|
.spelling-error {
|
|
5770
|
-
|
|
5771
|
-
text-decoration: underline wavy red;
|
|
5750
|
+
text-decoration: underline wavy red;
|
|
5772
5751
|
text-decoration-thickness: 2px;
|
|
5773
5752
|
text-underline-offset: 2px;
|
|
5774
5753
|
cursor: pointer;
|
|
5775
5754
|
}
|
|
5776
5755
|
|
|
5777
5756
|
.grammar-error {
|
|
5778
|
-
|
|
5779
|
-
text-decoration: underline wavy blue;
|
|
5757
|
+
text-decoration: underline wavy blue;
|
|
5780
5758
|
text-decoration-thickness: 2px;
|
|
5781
5759
|
text-underline-offset: 2px;
|
|
5782
5760
|
cursor: pointer;
|
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-
|
|
7
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-9d28aec6.js";
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
for (var i = 0; i < m.length; i++) {
|
|
10
10
|
const e = m[i];
|
|
@@ -46125,4 +46125,4 @@ const html2pdf_bundle$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
|
46125
46125
|
export {
|
|
46126
46126
|
html2pdf_bundle$1 as h
|
|
46127
46127
|
};
|
|
46128
|
-
//# sourceMappingURL=html2pdf.bundle-
|
|
46128
|
+
//# sourceMappingURL=html2pdf.bundle-583538f8.js.map
|