rte-builder 1.0.0
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/LICENSE +21 -0
- package/README.md +418 -0
- package/dist/index.css +580 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +690 -0
- package/dist/index.d.ts +690 -0
- package/dist/index.js +8717 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +8715 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +121 -0
package/dist/index.css
ADDED
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
/* src/styles/editor.css */
|
|
2
|
+
.rte-builder-wrapper {
|
|
3
|
+
border: 1px solid #e5e7eb;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
background: #ffffff;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
}
|
|
10
|
+
.rte-builder-wrapper.disabled {
|
|
11
|
+
opacity: 0.6;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
background: #f9fafb;
|
|
14
|
+
}
|
|
15
|
+
.rte-builder-wrapper.readonly {
|
|
16
|
+
background: #f9fafb;
|
|
17
|
+
}
|
|
18
|
+
.rte-builder-unified-wrapper {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
}
|
|
22
|
+
.rte-builder-editor-switcher {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
padding: 8px 12px;
|
|
27
|
+
background: #f3f4f6;
|
|
28
|
+
border: 1px solid #e5e7eb;
|
|
29
|
+
border-bottom: none;
|
|
30
|
+
border-radius: 8px 8px 0 0;
|
|
31
|
+
}
|
|
32
|
+
.rte-builder-editor-switcher-label {
|
|
33
|
+
font-size: 13px;
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
color: #6b7280;
|
|
36
|
+
}
|
|
37
|
+
.rte-builder-editor-switcher-select {
|
|
38
|
+
padding: 6px 12px;
|
|
39
|
+
font-size: 13px;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
color: #374151;
|
|
42
|
+
background: #ffffff;
|
|
43
|
+
border: 1px solid #d1d5db;
|
|
44
|
+
border-radius: 6px;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
transition: all 0.15s ease;
|
|
47
|
+
min-width: 140px;
|
|
48
|
+
}
|
|
49
|
+
.rte-builder-editor-switcher-select:hover:not(:disabled) {
|
|
50
|
+
border-color: #9ca3af;
|
|
51
|
+
background: #f9fafb;
|
|
52
|
+
}
|
|
53
|
+
.rte-builder-editor-switcher-select:focus {
|
|
54
|
+
outline: none;
|
|
55
|
+
border-color: #3b82f6;
|
|
56
|
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
57
|
+
}
|
|
58
|
+
.rte-builder-editor-switcher-select:disabled {
|
|
59
|
+
opacity: 0.5;
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
}
|
|
62
|
+
.rte-builder-unified-wrapper .rte-builder-wrapper {
|
|
63
|
+
border-top-left-radius: 0;
|
|
64
|
+
border-top-right-radius: 0;
|
|
65
|
+
}
|
|
66
|
+
.rte-builder-toolbar {
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-wrap: wrap;
|
|
69
|
+
gap: 4px;
|
|
70
|
+
padding: 8px;
|
|
71
|
+
background: #f9fafb;
|
|
72
|
+
border-bottom: 1px solid #e5e7eb;
|
|
73
|
+
align-items: center;
|
|
74
|
+
}
|
|
75
|
+
.rte-builder-toolbar-btn {
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
min-width: 32px;
|
|
80
|
+
height: 32px;
|
|
81
|
+
padding: 4px 8px;
|
|
82
|
+
border: 1px solid transparent;
|
|
83
|
+
border-radius: 4px;
|
|
84
|
+
background: transparent;
|
|
85
|
+
color: #374151;
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
font-weight: 500;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
transition: all 0.15s ease;
|
|
90
|
+
user-select: none;
|
|
91
|
+
}
|
|
92
|
+
.rte-builder-toolbar-btn:hover:not(:disabled) {
|
|
93
|
+
background: #e5e7eb;
|
|
94
|
+
border-color: #d1d5db;
|
|
95
|
+
}
|
|
96
|
+
.rte-builder-toolbar-btn:active:not(:disabled) {
|
|
97
|
+
background: #d1d5db;
|
|
98
|
+
transform: scale(0.95);
|
|
99
|
+
}
|
|
100
|
+
.rte-builder-toolbar-btn.active {
|
|
101
|
+
background: #3b82f6;
|
|
102
|
+
color: #ffffff;
|
|
103
|
+
border-color: #2563eb;
|
|
104
|
+
}
|
|
105
|
+
.rte-builder-toolbar-btn.active:hover {
|
|
106
|
+
background: #2563eb;
|
|
107
|
+
}
|
|
108
|
+
.rte-builder-toolbar-btn:disabled {
|
|
109
|
+
opacity: 0.4;
|
|
110
|
+
cursor: not-allowed;
|
|
111
|
+
}
|
|
112
|
+
.rte-builder-toolbar-separator {
|
|
113
|
+
width: 1px;
|
|
114
|
+
height: 24px;
|
|
115
|
+
background: #d1d5db;
|
|
116
|
+
margin: 0 4px;
|
|
117
|
+
}
|
|
118
|
+
.rte-builder-toolbar-select {
|
|
119
|
+
height: 32px;
|
|
120
|
+
padding: 4px 8px;
|
|
121
|
+
border: 1px solid #d1d5db;
|
|
122
|
+
border-radius: 4px;
|
|
123
|
+
background: #ffffff;
|
|
124
|
+
color: #374151;
|
|
125
|
+
font-size: 13px;
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
transition: all 0.15s ease;
|
|
128
|
+
min-width: 120px;
|
|
129
|
+
}
|
|
130
|
+
.rte-builder-toolbar-select:hover {
|
|
131
|
+
border-color: #9ca3af;
|
|
132
|
+
}
|
|
133
|
+
.rte-builder-toolbar-select:focus {
|
|
134
|
+
outline: none;
|
|
135
|
+
border-color: #3b82f6;
|
|
136
|
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
137
|
+
}
|
|
138
|
+
.rte-builder-toolbar-color {
|
|
139
|
+
position: relative;
|
|
140
|
+
display: inline-flex;
|
|
141
|
+
}
|
|
142
|
+
.rte-builder-toolbar-color label {
|
|
143
|
+
display: inline-flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
min-width: 32px;
|
|
147
|
+
height: 32px;
|
|
148
|
+
padding: 4px 8px;
|
|
149
|
+
border: 1px solid #d1d5db;
|
|
150
|
+
border-radius: 4px;
|
|
151
|
+
background: #ffffff;
|
|
152
|
+
color: #374151;
|
|
153
|
+
font-size: 14px;
|
|
154
|
+
font-weight: 500;
|
|
155
|
+
cursor: pointer;
|
|
156
|
+
transition: all 0.15s ease;
|
|
157
|
+
}
|
|
158
|
+
.rte-builder-toolbar-color label:hover {
|
|
159
|
+
background: #e5e7eb;
|
|
160
|
+
border-color: #9ca3af;
|
|
161
|
+
}
|
|
162
|
+
.rte-builder-toolbar-color input[type=color] {
|
|
163
|
+
position: absolute;
|
|
164
|
+
opacity: 0;
|
|
165
|
+
width: 0;
|
|
166
|
+
height: 0;
|
|
167
|
+
}
|
|
168
|
+
.rte-builder-container {
|
|
169
|
+
overflow-y: auto;
|
|
170
|
+
overflow-x: hidden;
|
|
171
|
+
background: #ffffff;
|
|
172
|
+
}
|
|
173
|
+
.rte-builder-content {
|
|
174
|
+
padding: 16px;
|
|
175
|
+
outline: none;
|
|
176
|
+
font-family:
|
|
177
|
+
-apple-system,
|
|
178
|
+
BlinkMacSystemFont,
|
|
179
|
+
"Segoe UI",
|
|
180
|
+
Roboto,
|
|
181
|
+
"Helvetica Neue",
|
|
182
|
+
Arial,
|
|
183
|
+
sans-serif;
|
|
184
|
+
font-size: 14px;
|
|
185
|
+
line-height: 1.6;
|
|
186
|
+
color: #1f2937;
|
|
187
|
+
}
|
|
188
|
+
.rte-builder-content:focus {
|
|
189
|
+
outline: none;
|
|
190
|
+
}
|
|
191
|
+
.rte-builder-content .ProseMirror p.is-editor-empty:first-child::before {
|
|
192
|
+
content: attr(data-placeholder);
|
|
193
|
+
float: left;
|
|
194
|
+
color: #9ca3af;
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
height: 0;
|
|
197
|
+
}
|
|
198
|
+
.rte-builder-content h1 {
|
|
199
|
+
font-size: 2em;
|
|
200
|
+
font-weight: 700;
|
|
201
|
+
margin: 1em 0 0.5em;
|
|
202
|
+
line-height: 1.2;
|
|
203
|
+
}
|
|
204
|
+
.rte-builder-content h2 {
|
|
205
|
+
font-size: 1.5em;
|
|
206
|
+
font-weight: 700;
|
|
207
|
+
margin: 0.83em 0 0.5em;
|
|
208
|
+
line-height: 1.3;
|
|
209
|
+
}
|
|
210
|
+
.rte-builder-content h3 {
|
|
211
|
+
font-size: 1.25em;
|
|
212
|
+
font-weight: 600;
|
|
213
|
+
margin: 1em 0 0.5em;
|
|
214
|
+
line-height: 1.4;
|
|
215
|
+
}
|
|
216
|
+
.rte-builder-content h4 {
|
|
217
|
+
font-size: 1.1em;
|
|
218
|
+
font-weight: 600;
|
|
219
|
+
margin: 1.33em 0 0.5em;
|
|
220
|
+
line-height: 1.4;
|
|
221
|
+
}
|
|
222
|
+
.rte-builder-content h5 {
|
|
223
|
+
font-size: 1em;
|
|
224
|
+
font-weight: 600;
|
|
225
|
+
margin: 1.67em 0 0.5em;
|
|
226
|
+
line-height: 1.5;
|
|
227
|
+
}
|
|
228
|
+
.rte-builder-content h6 {
|
|
229
|
+
font-size: 0.875em;
|
|
230
|
+
font-weight: 600;
|
|
231
|
+
margin: 2.33em 0 0.5em;
|
|
232
|
+
line-height: 1.5;
|
|
233
|
+
}
|
|
234
|
+
.rte-builder-content p {
|
|
235
|
+
margin: 0 0 1em;
|
|
236
|
+
}
|
|
237
|
+
.rte-builder-content ul,
|
|
238
|
+
.rte-builder-content ol {
|
|
239
|
+
padding-left: 2em;
|
|
240
|
+
margin: 0 0 1em;
|
|
241
|
+
}
|
|
242
|
+
.rte-builder-content ul {
|
|
243
|
+
list-style-type: disc;
|
|
244
|
+
}
|
|
245
|
+
.rte-builder-content ol {
|
|
246
|
+
list-style-type: decimal;
|
|
247
|
+
}
|
|
248
|
+
.rte-builder-content li {
|
|
249
|
+
margin: 0.25em 0;
|
|
250
|
+
}
|
|
251
|
+
.rte-builder-content li > p {
|
|
252
|
+
margin: 0;
|
|
253
|
+
}
|
|
254
|
+
.rte-builder-content blockquote {
|
|
255
|
+
border-left: 4px solid #3b82f6;
|
|
256
|
+
padding-left: 1em;
|
|
257
|
+
margin: 1em 0;
|
|
258
|
+
color: #6b7280;
|
|
259
|
+
font-style: italic;
|
|
260
|
+
}
|
|
261
|
+
.rte-builder-content code {
|
|
262
|
+
background: #f3f4f6;
|
|
263
|
+
color: #e11d48;
|
|
264
|
+
padding: 2px 6px;
|
|
265
|
+
border-radius: 3px;
|
|
266
|
+
font-family:
|
|
267
|
+
"Courier New",
|
|
268
|
+
Courier,
|
|
269
|
+
monospace;
|
|
270
|
+
font-size: 0.9em;
|
|
271
|
+
}
|
|
272
|
+
.rte-builder-content pre {
|
|
273
|
+
background: #1f2937;
|
|
274
|
+
color: #f9fafb;
|
|
275
|
+
padding: 1em;
|
|
276
|
+
border-radius: 6px;
|
|
277
|
+
overflow-x: auto;
|
|
278
|
+
margin: 1em 0;
|
|
279
|
+
}
|
|
280
|
+
.rte-builder-content pre code {
|
|
281
|
+
background: transparent;
|
|
282
|
+
color: inherit;
|
|
283
|
+
padding: 0;
|
|
284
|
+
font-size: 0.875em;
|
|
285
|
+
line-height: 1.7;
|
|
286
|
+
}
|
|
287
|
+
.rte-builder-content a {
|
|
288
|
+
color: #3b82f6;
|
|
289
|
+
text-decoration: underline;
|
|
290
|
+
cursor: pointer;
|
|
291
|
+
}
|
|
292
|
+
.rte-builder-content a:hover {
|
|
293
|
+
color: #2563eb;
|
|
294
|
+
}
|
|
295
|
+
.rte-builder-content img {
|
|
296
|
+
max-width: 100%;
|
|
297
|
+
height: auto;
|
|
298
|
+
border-radius: 4px;
|
|
299
|
+
display: block;
|
|
300
|
+
margin: 1em 0;
|
|
301
|
+
}
|
|
302
|
+
.rte-builder-content video {
|
|
303
|
+
max-width: 100%;
|
|
304
|
+
height: auto;
|
|
305
|
+
border-radius: 4px;
|
|
306
|
+
display: block;
|
|
307
|
+
margin: 1em 0;
|
|
308
|
+
}
|
|
309
|
+
.rte-builder-content hr {
|
|
310
|
+
border: none;
|
|
311
|
+
border-top: 2px solid #e5e7eb;
|
|
312
|
+
margin: 2em 0;
|
|
313
|
+
}
|
|
314
|
+
.rte-builder-content table {
|
|
315
|
+
border-collapse: collapse;
|
|
316
|
+
width: 100%;
|
|
317
|
+
margin: 1em 0;
|
|
318
|
+
overflow: hidden;
|
|
319
|
+
}
|
|
320
|
+
.rte-builder-content th,
|
|
321
|
+
.rte-builder-content td {
|
|
322
|
+
border: 1px solid #d1d5db;
|
|
323
|
+
padding: 8px 12px;
|
|
324
|
+
text-align: left;
|
|
325
|
+
vertical-align: top;
|
|
326
|
+
position: relative;
|
|
327
|
+
}
|
|
328
|
+
.rte-builder-content th {
|
|
329
|
+
background: #f3f4f6;
|
|
330
|
+
font-weight: 600;
|
|
331
|
+
}
|
|
332
|
+
.rte-builder-content tr:nth-child(even) td {
|
|
333
|
+
background: #f9fafb;
|
|
334
|
+
}
|
|
335
|
+
.rte-builder-content .selectedCell {
|
|
336
|
+
background: #dbeafe;
|
|
337
|
+
}
|
|
338
|
+
.rte-builder-content .column-resize-handle {
|
|
339
|
+
position: absolute;
|
|
340
|
+
right: -2px;
|
|
341
|
+
top: 0;
|
|
342
|
+
bottom: 0;
|
|
343
|
+
width: 4px;
|
|
344
|
+
background-color: #3b82f6;
|
|
345
|
+
pointer-events: none;
|
|
346
|
+
}
|
|
347
|
+
.rte-builder-content strong {
|
|
348
|
+
font-weight: 700;
|
|
349
|
+
}
|
|
350
|
+
.rte-builder-content em {
|
|
351
|
+
font-style: italic;
|
|
352
|
+
}
|
|
353
|
+
.rte-builder-content u {
|
|
354
|
+
text-decoration: underline;
|
|
355
|
+
}
|
|
356
|
+
.rte-builder-content s {
|
|
357
|
+
text-decoration: line-through;
|
|
358
|
+
}
|
|
359
|
+
.rte-builder-content sub {
|
|
360
|
+
vertical-align: sub;
|
|
361
|
+
font-size: smaller;
|
|
362
|
+
}
|
|
363
|
+
.rte-builder-content sup {
|
|
364
|
+
vertical-align: super;
|
|
365
|
+
font-size: smaller;
|
|
366
|
+
}
|
|
367
|
+
.rte-builder-content mark {
|
|
368
|
+
background-color: #fef08a;
|
|
369
|
+
padding: 2px 0;
|
|
370
|
+
border-radius: 2px;
|
|
371
|
+
}
|
|
372
|
+
.rte-builder-content [style*="text-align: left"] {
|
|
373
|
+
text-align: left;
|
|
374
|
+
}
|
|
375
|
+
.rte-builder-content [style*="text-align: center"] {
|
|
376
|
+
text-align: center;
|
|
377
|
+
}
|
|
378
|
+
.rte-builder-content [style*="text-align: right"] {
|
|
379
|
+
text-align: right;
|
|
380
|
+
}
|
|
381
|
+
.rte-builder-content [style*="text-align: justify"] {
|
|
382
|
+
text-align: justify;
|
|
383
|
+
}
|
|
384
|
+
.rte-builder-content .ProseMirror-gapcursor {
|
|
385
|
+
pointer-events: none;
|
|
386
|
+
position: relative;
|
|
387
|
+
}
|
|
388
|
+
.rte-builder-content .ProseMirror-gapcursor::after {
|
|
389
|
+
content: "";
|
|
390
|
+
display: block;
|
|
391
|
+
position: absolute;
|
|
392
|
+
top: -2px;
|
|
393
|
+
width: 20px;
|
|
394
|
+
border-top: 1px solid #1f2937;
|
|
395
|
+
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
396
|
+
}
|
|
397
|
+
@keyframes ProseMirror-cursor-blink {
|
|
398
|
+
to {
|
|
399
|
+
visibility: hidden;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
.rte-builder-content .ProseMirror-dropcursor {
|
|
403
|
+
position: absolute;
|
|
404
|
+
pointer-events: none;
|
|
405
|
+
border-left: 2px solid #3b82f6;
|
|
406
|
+
}
|
|
407
|
+
.rte-builder-footer {
|
|
408
|
+
display: flex;
|
|
409
|
+
justify-content: flex-end;
|
|
410
|
+
padding: 8px 16px;
|
|
411
|
+
background: #f9fafb;
|
|
412
|
+
border-top: 1px solid #e5e7eb;
|
|
413
|
+
}
|
|
414
|
+
.rte-builder-char-counter {
|
|
415
|
+
font-size: 12px;
|
|
416
|
+
color: #6b7280;
|
|
417
|
+
}
|
|
418
|
+
.rte-builder-char-counter-exceeded {
|
|
419
|
+
color: #dc2626;
|
|
420
|
+
font-weight: 600;
|
|
421
|
+
}
|
|
422
|
+
.rte-builder-container::-webkit-scrollbar {
|
|
423
|
+
width: 8px;
|
|
424
|
+
}
|
|
425
|
+
.rte-builder-container::-webkit-scrollbar-track {
|
|
426
|
+
background: #f3f4f6;
|
|
427
|
+
}
|
|
428
|
+
.rte-builder-container::-webkit-scrollbar-thumb {
|
|
429
|
+
background: #d1d5db;
|
|
430
|
+
border-radius: 4px;
|
|
431
|
+
}
|
|
432
|
+
.rte-builder-container::-webkit-scrollbar-thumb:hover {
|
|
433
|
+
background: #9ca3af;
|
|
434
|
+
}
|
|
435
|
+
.rte-builder-content .hljs-comment,
|
|
436
|
+
.rte-builder-content .hljs-quote {
|
|
437
|
+
color: #6b7280;
|
|
438
|
+
font-style: italic;
|
|
439
|
+
}
|
|
440
|
+
.rte-builder-content .hljs-keyword,
|
|
441
|
+
.rte-builder-content .hljs-selector-tag,
|
|
442
|
+
.rte-builder-content .hljs-addition {
|
|
443
|
+
color: #10b981;
|
|
444
|
+
}
|
|
445
|
+
.rte-builder-content .hljs-number,
|
|
446
|
+
.rte-builder-content .hljs-string,
|
|
447
|
+
.rte-builder-content .hljs-meta .hljs-string,
|
|
448
|
+
.rte-builder-content .hljs-literal,
|
|
449
|
+
.rte-builder-content .hljs-doctag,
|
|
450
|
+
.rte-builder-content .hljs-regexp {
|
|
451
|
+
color: #3b82f6;
|
|
452
|
+
}
|
|
453
|
+
.rte-builder-content .hljs-title,
|
|
454
|
+
.rte-builder-content .hljs-section,
|
|
455
|
+
.rte-builder-content .hljs-name,
|
|
456
|
+
.rte-builder-content .hljs-selector-id,
|
|
457
|
+
.rte-builder-content .hljs-selector-class {
|
|
458
|
+
color: #f59e0b;
|
|
459
|
+
}
|
|
460
|
+
.rte-builder-content .hljs-attribute,
|
|
461
|
+
.rte-builder-content .hljs-attr,
|
|
462
|
+
.rte-builder-content .hljs-variable,
|
|
463
|
+
.rte-builder-content .hljs-template-variable,
|
|
464
|
+
.rte-builder-content .hljs-class .hljs-title,
|
|
465
|
+
.rte-builder-content .hljs-type {
|
|
466
|
+
color: #8b5cf6;
|
|
467
|
+
}
|
|
468
|
+
.rte-builder-content .hljs-symbol,
|
|
469
|
+
.rte-builder-content .hljs-bullet,
|
|
470
|
+
.rte-builder-content .hljs-subst,
|
|
471
|
+
.rte-builder-content .hljs-meta,
|
|
472
|
+
.rte-builder-content .hljs-meta .hljs-keyword,
|
|
473
|
+
.rte-builder-content .hljs-selector-attr,
|
|
474
|
+
.rte-builder-content .hljs-selector-pseudo,
|
|
475
|
+
.rte-builder-content .hljs-link {
|
|
476
|
+
color: #ec4899;
|
|
477
|
+
}
|
|
478
|
+
.rte-builder-content .hljs-built_in,
|
|
479
|
+
.rte-builder-content .hljs-deletion {
|
|
480
|
+
color: #ef4444;
|
|
481
|
+
}
|
|
482
|
+
.rte-builder-content .hljs-formula {
|
|
483
|
+
background: #374151;
|
|
484
|
+
}
|
|
485
|
+
.rte-builder-content .hljs-emphasis {
|
|
486
|
+
font-style: italic;
|
|
487
|
+
}
|
|
488
|
+
.rte-builder-content .hljs-strong {
|
|
489
|
+
font-weight: bold;
|
|
490
|
+
}
|
|
491
|
+
.rte-builder-wrapper.rte-builder-fullscreen {
|
|
492
|
+
position: fixed;
|
|
493
|
+
top: 0;
|
|
494
|
+
left: 0;
|
|
495
|
+
right: 0;
|
|
496
|
+
bottom: 0;
|
|
497
|
+
width: 100vw;
|
|
498
|
+
height: 100vh;
|
|
499
|
+
z-index: 9999;
|
|
500
|
+
border-radius: 0;
|
|
501
|
+
border: none;
|
|
502
|
+
background: #ffffff;
|
|
503
|
+
}
|
|
504
|
+
.rte-builder-wrapper.rte-builder-fullscreen .rte-builder-container {
|
|
505
|
+
height: calc(100vh - 100px) !important;
|
|
506
|
+
max-height: none;
|
|
507
|
+
}
|
|
508
|
+
.rte-builder-wrapper.rte-builder-fullscreen .rte-builder-toolbar {
|
|
509
|
+
border-radius: 0;
|
|
510
|
+
}
|
|
511
|
+
.rte-builder-emoji-picker {
|
|
512
|
+
position: absolute;
|
|
513
|
+
top: 100%;
|
|
514
|
+
left: 0;
|
|
515
|
+
z-index: 1000;
|
|
516
|
+
background: #ffffff;
|
|
517
|
+
border: 1px solid #e5e7eb;
|
|
518
|
+
border-radius: 8px;
|
|
519
|
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
|
|
520
|
+
width: 320px;
|
|
521
|
+
max-height: 350px;
|
|
522
|
+
overflow: hidden;
|
|
523
|
+
display: flex;
|
|
524
|
+
flex-direction: column;
|
|
525
|
+
}
|
|
526
|
+
.rte-builder-emoji-categories {
|
|
527
|
+
display: flex;
|
|
528
|
+
gap: 2px;
|
|
529
|
+
padding: 8px;
|
|
530
|
+
border-bottom: 1px solid #e5e7eb;
|
|
531
|
+
background: #f9fafb;
|
|
532
|
+
overflow-x: auto;
|
|
533
|
+
}
|
|
534
|
+
.rte-builder-emoji-category-btn {
|
|
535
|
+
padding: 6px 8px;
|
|
536
|
+
border: none;
|
|
537
|
+
background: transparent;
|
|
538
|
+
border-radius: 4px;
|
|
539
|
+
cursor: pointer;
|
|
540
|
+
font-size: 18px;
|
|
541
|
+
transition: all 0.15s ease;
|
|
542
|
+
flex-shrink: 0;
|
|
543
|
+
}
|
|
544
|
+
.rte-builder-emoji-category-btn:hover {
|
|
545
|
+
background: #e5e7eb;
|
|
546
|
+
}
|
|
547
|
+
.rte-builder-emoji-category-btn.active {
|
|
548
|
+
background: #3b82f6;
|
|
549
|
+
}
|
|
550
|
+
.rte-builder-emoji-grid {
|
|
551
|
+
display: grid;
|
|
552
|
+
grid-template-columns: repeat(8, 1fr);
|
|
553
|
+
gap: 2px;
|
|
554
|
+
padding: 8px;
|
|
555
|
+
overflow-y: auto;
|
|
556
|
+
max-height: 280px;
|
|
557
|
+
}
|
|
558
|
+
.rte-builder-emoji-btn {
|
|
559
|
+
padding: 6px;
|
|
560
|
+
border: none;
|
|
561
|
+
background: transparent;
|
|
562
|
+
border-radius: 4px;
|
|
563
|
+
cursor: pointer;
|
|
564
|
+
font-size: 20px;
|
|
565
|
+
transition: all 0.15s ease;
|
|
566
|
+
display: flex;
|
|
567
|
+
align-items: center;
|
|
568
|
+
justify-content: center;
|
|
569
|
+
}
|
|
570
|
+
.rte-builder-emoji-btn:hover {
|
|
571
|
+
background: #e5e7eb;
|
|
572
|
+
transform: scale(1.2);
|
|
573
|
+
}
|
|
574
|
+
.rte-builder-toolbar-select-sm {
|
|
575
|
+
min-width: 100px;
|
|
576
|
+
}
|
|
577
|
+
.rte-builder-content [style*=margin-left] {
|
|
578
|
+
transition: margin-left 0.15s ease;
|
|
579
|
+
}
|
|
580
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/styles/editor.css"],"sourcesContent":["/* ===== RTE Builder Styles ===== */\n\n/* Editor Wrapper */\n.rte-builder-wrapper {\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n background: #ffffff;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n\n.rte-builder-wrapper.disabled {\n opacity: 0.6;\n pointer-events: none;\n background: #f9fafb;\n}\n\n.rte-builder-wrapper.readonly {\n background: #f9fafb;\n}\n\n/* Unified Editor Wrapper */\n.rte-builder-unified-wrapper {\n display: flex;\n flex-direction: column;\n}\n\n/* Editor Switcher */\n.rte-builder-editor-switcher {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 12px;\n background: #f3f4f6;\n border: 1px solid #e5e7eb;\n border-bottom: none;\n border-radius: 8px 8px 0 0;\n}\n\n.rte-builder-editor-switcher-label {\n font-size: 13px;\n font-weight: 500;\n color: #6b7280;\n}\n\n.rte-builder-editor-switcher-select {\n padding: 6px 12px;\n font-size: 13px;\n font-weight: 500;\n color: #374151;\n background: #ffffff;\n border: 1px solid #d1d5db;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.15s ease;\n min-width: 140px;\n}\n\n.rte-builder-editor-switcher-select:hover:not(:disabled) {\n border-color: #9ca3af;\n background: #f9fafb;\n}\n\n.rte-builder-editor-switcher-select:focus {\n outline: none;\n border-color: #3b82f6;\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n}\n\n.rte-builder-editor-switcher-select:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.rte-builder-unified-wrapper .rte-builder-wrapper {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n/* Toolbar */\n.rte-builder-toolbar {\n display: flex;\n flex-wrap: wrap;\n gap: 4px;\n padding: 8px;\n background: #f9fafb;\n border-bottom: 1px solid #e5e7eb;\n align-items: center;\n}\n\n.rte-builder-toolbar-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 32px;\n height: 32px;\n padding: 4px 8px;\n border: 1px solid transparent;\n border-radius: 4px;\n background: transparent;\n color: #374151;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.15s ease;\n user-select: none;\n}\n\n.rte-builder-toolbar-btn:hover:not(:disabled) {\n background: #e5e7eb;\n border-color: #d1d5db;\n}\n\n.rte-builder-toolbar-btn:active:not(:disabled) {\n background: #d1d5db;\n transform: scale(0.95);\n}\n\n.rte-builder-toolbar-btn.active {\n background: #3b82f6;\n color: #ffffff;\n border-color: #2563eb;\n}\n\n.rte-builder-toolbar-btn.active:hover {\n background: #2563eb;\n}\n\n.rte-builder-toolbar-btn:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n.rte-builder-toolbar-separator {\n width: 1px;\n height: 24px;\n background: #d1d5db;\n margin: 0 4px;\n}\n\n.rte-builder-toolbar-select {\n height: 32px;\n padding: 4px 8px;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n background: #ffffff;\n color: #374151;\n font-size: 13px;\n cursor: pointer;\n transition: all 0.15s ease;\n min-width: 120px;\n}\n\n.rte-builder-toolbar-select:hover {\n border-color: #9ca3af;\n}\n\n.rte-builder-toolbar-select:focus {\n outline: none;\n border-color: #3b82f6;\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n}\n\n.rte-builder-toolbar-color {\n position: relative;\n display: inline-flex;\n}\n\n.rte-builder-toolbar-color label {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 32px;\n height: 32px;\n padding: 4px 8px;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n background: #ffffff;\n color: #374151;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.15s ease;\n}\n\n.rte-builder-toolbar-color label:hover {\n background: #e5e7eb;\n border-color: #9ca3af;\n}\n\n.rte-builder-toolbar-color input[type=\"color\"] {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n/* Editor Container */\n.rte-builder-container {\n overflow-y: auto;\n overflow-x: hidden;\n background: #ffffff;\n}\n\n/* Editor Content */\n.rte-builder-content {\n padding: 16px;\n outline: none;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;\n font-size: 14px;\n line-height: 1.6;\n color: #1f2937;\n}\n\n.rte-builder-content:focus {\n outline: none;\n}\n\n/* Placeholder */\n.rte-builder-content .ProseMirror p.is-editor-empty:first-child::before {\n content: attr(data-placeholder);\n float: left;\n color: #9ca3af;\n pointer-events: none;\n height: 0;\n}\n\n/* Typography */\n.rte-builder-content h1 {\n font-size: 2em;\n font-weight: 700;\n margin: 1em 0 0.5em;\n line-height: 1.2;\n}\n\n.rte-builder-content h2 {\n font-size: 1.5em;\n font-weight: 700;\n margin: 0.83em 0 0.5em;\n line-height: 1.3;\n}\n\n.rte-builder-content h3 {\n font-size: 1.25em;\n font-weight: 600;\n margin: 1em 0 0.5em;\n line-height: 1.4;\n}\n\n.rte-builder-content h4 {\n font-size: 1.1em;\n font-weight: 600;\n margin: 1.33em 0 0.5em;\n line-height: 1.4;\n}\n\n.rte-builder-content h5 {\n font-size: 1em;\n font-weight: 600;\n margin: 1.67em 0 0.5em;\n line-height: 1.5;\n}\n\n.rte-builder-content h6 {\n font-size: 0.875em;\n font-weight: 600;\n margin: 2.33em 0 0.5em;\n line-height: 1.5;\n}\n\n.rte-builder-content p {\n margin: 0 0 1em;\n}\n\n/* Lists */\n.rte-builder-content ul,\n.rte-builder-content ol {\n padding-left: 2em;\n margin: 0 0 1em;\n}\n\n.rte-builder-content ul {\n list-style-type: disc;\n}\n\n.rte-builder-content ol {\n list-style-type: decimal;\n}\n\n.rte-builder-content li {\n margin: 0.25em 0;\n}\n\n.rte-builder-content li > p {\n margin: 0;\n}\n\n/* Blockquote */\n.rte-builder-content blockquote {\n border-left: 4px solid #3b82f6;\n padding-left: 1em;\n margin: 1em 0;\n color: #6b7280;\n font-style: italic;\n}\n\n/* Code */\n.rte-builder-content code {\n background: #f3f4f6;\n color: #e11d48;\n padding: 2px 6px;\n border-radius: 3px;\n font-family: 'Courier New', Courier, monospace;\n font-size: 0.9em;\n}\n\n.rte-builder-content pre {\n background: #1f2937;\n color: #f9fafb;\n padding: 1em;\n border-radius: 6px;\n overflow-x: auto;\n margin: 1em 0;\n}\n\n.rte-builder-content pre code {\n background: transparent;\n color: inherit;\n padding: 0;\n font-size: 0.875em;\n line-height: 1.7;\n}\n\n/* Links */\n.rte-builder-content a {\n color: #3b82f6;\n text-decoration: underline;\n cursor: pointer;\n}\n\n.rte-builder-content a:hover {\n color: #2563eb;\n}\n\n/* Images */\n.rte-builder-content img {\n max-width: 100%;\n height: auto;\n border-radius: 4px;\n display: block;\n margin: 1em 0;\n}\n\n/* Videos */\n.rte-builder-content video {\n max-width: 100%;\n height: auto;\n border-radius: 4px;\n display: block;\n margin: 1em 0;\n}\n\n/* Horizontal Rule */\n.rte-builder-content hr {\n border: none;\n border-top: 2px solid #e5e7eb;\n margin: 2em 0;\n}\n\n/* Tables */\n.rte-builder-content table {\n border-collapse: collapse;\n width: 100%;\n margin: 1em 0;\n overflow: hidden;\n}\n\n.rte-builder-content th,\n.rte-builder-content td {\n border: 1px solid #d1d5db;\n padding: 8px 12px;\n text-align: left;\n vertical-align: top;\n position: relative;\n}\n\n.rte-builder-content th {\n background: #f3f4f6;\n font-weight: 600;\n}\n\n.rte-builder-content tr:nth-child(even) td {\n background: #f9fafb;\n}\n\n/* Table cell selection */\n.rte-builder-content .selectedCell {\n background: #dbeafe;\n}\n\n/* Table resize handle */\n.rte-builder-content .column-resize-handle {\n position: absolute;\n right: -2px;\n top: 0;\n bottom: 0;\n width: 4px;\n background-color: #3b82f6;\n pointer-events: none;\n}\n\n/* Text formatting */\n.rte-builder-content strong {\n font-weight: 700;\n}\n\n.rte-builder-content em {\n font-style: italic;\n}\n\n.rte-builder-content u {\n text-decoration: underline;\n}\n\n.rte-builder-content s {\n text-decoration: line-through;\n}\n\n.rte-builder-content sub {\n vertical-align: sub;\n font-size: smaller;\n}\n\n.rte-builder-content sup {\n vertical-align: super;\n font-size: smaller;\n}\n\n/* Highlight */\n.rte-builder-content mark {\n background-color: #fef08a;\n padding: 2px 0;\n border-radius: 2px;\n}\n\n/* Text alignment */\n.rte-builder-content [style*=\"text-align: left\"] {\n text-align: left;\n}\n\n.rte-builder-content [style*=\"text-align: center\"] {\n text-align: center;\n}\n\n.rte-builder-content [style*=\"text-align: right\"] {\n text-align: right;\n}\n\n.rte-builder-content [style*=\"text-align: justify\"] {\n text-align: justify;\n}\n\n/* Gap cursor */\n.rte-builder-content .ProseMirror-gapcursor {\n pointer-events: none;\n position: relative;\n}\n\n.rte-builder-content .ProseMirror-gapcursor::after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid #1f2937;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n/* Drop cursor */\n.rte-builder-content .ProseMirror-dropcursor {\n position: absolute;\n pointer-events: none;\n border-left: 2px solid #3b82f6;\n}\n\n/* Footer */\n.rte-builder-footer {\n display: flex;\n justify-content: flex-end;\n padding: 8px 16px;\n background: #f9fafb;\n border-top: 1px solid #e5e7eb;\n}\n\n.rte-builder-char-counter {\n font-size: 12px;\n color: #6b7280;\n}\n\n.rte-builder-char-counter-exceeded {\n color: #dc2626;\n font-weight: 600;\n}\n\n/* Scrollbar styling */\n.rte-builder-container::-webkit-scrollbar {\n width: 8px;\n}\n\n.rte-builder-container::-webkit-scrollbar-track {\n background: #f3f4f6;\n}\n\n.rte-builder-container::-webkit-scrollbar-thumb {\n background: #d1d5db;\n border-radius: 4px;\n}\n\n.rte-builder-container::-webkit-scrollbar-thumb:hover {\n background: #9ca3af;\n}\n\n/* Syntax highlighting (lowlight) */\n.rte-builder-content .hljs-comment,\n.rte-builder-content .hljs-quote {\n color: #6b7280;\n font-style: italic;\n}\n\n.rte-builder-content .hljs-keyword,\n.rte-builder-content .hljs-selector-tag,\n.rte-builder-content .hljs-addition {\n color: #10b981;\n}\n\n.rte-builder-content .hljs-number,\n.rte-builder-content .hljs-string,\n.rte-builder-content .hljs-meta .hljs-string,\n.rte-builder-content .hljs-literal,\n.rte-builder-content .hljs-doctag,\n.rte-builder-content .hljs-regexp {\n color: #3b82f6;\n}\n\n.rte-builder-content .hljs-title,\n.rte-builder-content .hljs-section,\n.rte-builder-content .hljs-name,\n.rte-builder-content .hljs-selector-id,\n.rte-builder-content .hljs-selector-class {\n color: #f59e0b;\n}\n\n.rte-builder-content .hljs-attribute,\n.rte-builder-content .hljs-attr,\n.rte-builder-content .hljs-variable,\n.rte-builder-content .hljs-template-variable,\n.rte-builder-content .hljs-class .hljs-title,\n.rte-builder-content .hljs-type {\n color: #8b5cf6;\n}\n\n.rte-builder-content .hljs-symbol,\n.rte-builder-content .hljs-bullet,\n.rte-builder-content .hljs-subst,\n.rte-builder-content .hljs-meta,\n.rte-builder-content .hljs-meta .hljs-keyword,\n.rte-builder-content .hljs-selector-attr,\n.rte-builder-content .hljs-selector-pseudo,\n.rte-builder-content .hljs-link {\n color: #ec4899;\n}\n\n.rte-builder-content .hljs-built_in,\n.rte-builder-content .hljs-deletion {\n color: #ef4444;\n}\n\n.rte-builder-content .hljs-formula {\n background: #374151;\n}\n\n.rte-builder-content .hljs-emphasis {\n font-style: italic;\n}\n\n.rte-builder-content .hljs-strong {\n font-weight: bold;\n}\n\n/* ===== Fullscreen Mode ===== */\n.rte-builder-wrapper.rte-builder-fullscreen {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100vw;\n height: 100vh;\n z-index: 9999;\n border-radius: 0;\n border: none;\n background: #ffffff;\n}\n\n.rte-builder-wrapper.rte-builder-fullscreen .rte-builder-container {\n height: calc(100vh - 100px) !important;\n max-height: none;\n}\n\n.rte-builder-wrapper.rte-builder-fullscreen .rte-builder-toolbar {\n border-radius: 0;\n}\n\n/* ===== Emoji Picker ===== */\n.rte-builder-emoji-picker {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n background: #ffffff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);\n width: 320px;\n max-height: 350px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n\n.rte-builder-emoji-categories {\n display: flex;\n gap: 2px;\n padding: 8px;\n border-bottom: 1px solid #e5e7eb;\n background: #f9fafb;\n overflow-x: auto;\n}\n\n.rte-builder-emoji-category-btn {\n padding: 6px 8px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n font-size: 18px;\n transition: all 0.15s ease;\n flex-shrink: 0;\n}\n\n.rte-builder-emoji-category-btn:hover {\n background: #e5e7eb;\n}\n\n.rte-builder-emoji-category-btn.active {\n background: #3b82f6;\n}\n\n.rte-builder-emoji-grid {\n display: grid;\n grid-template-columns: repeat(8, 1fr);\n gap: 2px;\n padding: 8px;\n overflow-y: auto;\n max-height: 280px;\n}\n\n.rte-builder-emoji-btn {\n padding: 6px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n font-size: 20px;\n transition: all 0.15s ease;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.rte-builder-emoji-btn:hover {\n background: #e5e7eb;\n transform: scale(1.2);\n}\n\n/* ===== Line Height Select (Smaller) ===== */\n.rte-builder-toolbar-select-sm {\n min-width: 100px;\n}\n\n/* ===== Indentation Styles ===== */\n.rte-builder-content [style*=\"margin-left\"] {\n transition: margin-left 0.15s ease;\n}\n"],"mappings":";AAGA,CAAC;AACC,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,cAAY;AACZ,YAAU;AACV,WAAS;AACT,kBAAgB;AAClB;AAEA,CATC,mBASmB,CAAC;AACnB,WAAS;AACT,kBAAgB;AAChB,cAAY;AACd;AAEA,CAfC,mBAemB,CAAC;AACnB,cAAY;AACd;AAGA,CAAC;AACC,WAAS;AACT,kBAAgB;AAClB;AAGA,CAAC;AACC,WAAS;AACT,eAAa;AACb,OAAK;AACL,WAAS,IAAI;AACb,cAAY;AACZ,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,iBAAe,IAAI,IAAI,EAAE;AAC3B;AAEA,CAAC;AACC,aAAW;AACX,eAAa;AACb,SAAO;AACT;AAEA,CAAC;AACC,WAAS,IAAI;AACb,aAAW;AACX,eAAa;AACb,SAAO;AACP,cAAY;AACZ,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,UAAQ;AACR,cAAY,IAAI,MAAM;AACtB,aAAW;AACb;AAEA,CAbC,kCAakC,MAAM,KAAK;AAC5C,gBAAc;AACd,cAAY;AACd;AAE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