@tailor-cms/ce-quill-html-edit 0.0.4 → 0.0.6

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/index.css CHANGED
@@ -1,503 +1,4 @@
1
- .user-avatar-container[data-v-08f71019] {
2
- padding: 0.125rem;
3
- overflow: hidden !important;
4
- }
5
- .user-avatar-container .user-avatar[data-v-08f71019] {
6
- background-position: center;
7
- background-repeat: no-repeat;
8
- background-size: cover;
9
- border-radius: 50%;
10
- }.header[data-v-68caba16] {
11
- display: flex;
12
- align-items: flex-start;
13
- }
14
- .header .info-container[data-v-68caba16] {
15
- display: flex;
16
- flex-direction: column;
17
- flex: 0 100%;
18
- max-width: calc(100% - 12rem);
19
- margin-left: 0.75rem;
20
- }
21
- .header .info-container .author[data-v-68caba16] {
22
- display: inline-block;
23
- max-width: 75%;
24
- font-size: 1rem;
25
- }
26
- .header .info-container .edited[data-v-68caba16],
27
- .header .info-container .time[data-v-68caba16] {
28
- font-size: 0.75rem;
29
- }
30
- .header .info-container hr.v-divider--vertical[data-v-68caba16] {
31
- margin: 0.25rem 0.125rem 0.125rem 0.625rem;
32
- }
33
- .header .info-container[data-v-68caba16] .editor-link {
34
- display: inline-flex;
35
- align-self: flex-end;
36
- }
37
- .header .actions[data-v-68caba16] {
38
- margin-left: auto;
39
- }.content[data-v-b6b6fcf5] {
40
- margin-top: 0.375rem;
41
- }
42
- .content pre[data-v-b6b6fcf5] {
43
- height: 100%;
44
- margin: 0;
45
- padding: 0 0.25rem 0.5rem 0;
46
- font: inherit;
47
- white-space: pre-wrap;
48
- word-break: break-all;
49
- word-wrap: break-word;
50
- overflow-wrap: break-word;
51
- background: inherit;
52
- border: none;
53
- overflow: hidden;
54
- }
55
- .content.resolved[data-v-b6b6fcf5] {
56
- opacity: 0.7;
57
- }
58
- .content.resolved .resolvement-options[data-v-b6b6fcf5] {
59
- display: flex;
60
- align-items: center;
61
- margin-bottom: 0.25rem;
62
- font-size: 0.75rem;
63
- }.comment[data-v-32db3485] {
64
- display: flex;
65
- flex-direction: column;
66
- font-family: Roboto, Arial, sans-serif;
67
- }
68
- .comment-body[data-v-32db3485] {
69
- flex: 1;
70
- padding: 0 0.25rem 0 3.25rem;
71
- }
72
- .comment-editor.v-textarea[data-v-32db3485] {
73
- margin: 0.75rem 0 0 0;
74
- }
75
- .comment-editor.v-textarea[data-v-32db3485] .v-input__slot {
76
- width: auto;
77
- }.thread-list[data-v-311c4652] {
78
- margin: 0;
79
- padding: 0;
80
- list-style: none;
81
- }
82
- .thread-list .thread-list-item .v-divider[data-v-311c4652] {
83
- margin: 0 0.25rem 1rem 0.25rem;
84
- color: #fafafa;
85
- opacity: 0.3;
86
- }
87
- .thread-list .thread-list-item:first-child .v-divider[data-v-311c4652] {
88
- display: none;
89
- }.unseen-divider[data-v-be37ba50] {
90
- text-align: center;
91
- }
92
- .unseen-divider .v-divider[data-v-be37ba50] {
93
- margin: 1rem 0 0.25rem;
94
- }
95
- .unseen-divider[data-v-be37ba50] .v-chip.v-chip--outlined.v-chip {
96
- margin: -1.5rem 0 0.5rem 0;
97
- border-radius: 1rem !important;
98
- background-color: #fafafa !important;
99
- }
100
- .unseen-divider[data-v-be37ba50] .v-chip.v-chip--outlined.v-chip .v-chip__content .v-chip__close {
101
- margin-top: 0.125rem;
102
- font-size: 0.75rem !important;
103
- }.discussion-thread[data-v-022fcbdf] {
104
- width: 100%;
105
- }
106
- .discussion-thread.scroll-container[data-v-022fcbdf] {
107
- max-height: 31.25rem;
108
- box-sizing: content-box;
109
- overflow-y: scroll;
110
- overflow-x: hidden;
111
- -ms-overflow-style: none !important;
112
- scrollbar-width: none !important;
113
- }
114
- .discussion-thread.scroll-container[data-v-022fcbdf]::-webkit-scrollbar {
115
- display: none !important;
116
- }
117
- .discussion-thread .fade-enter-active[data-v-022fcbdf],
118
- .discussion-thread .fade-leave-active[data-v-022fcbdf] {
119
- transition: opacity 0.5s;
120
- }
121
- .discussion-thread .fade-enter[data-v-022fcbdf],
122
- .discussion-thread .fade-leave-to[data-v-022fcbdf] {
123
- opacity: 0;
124
- }.embedded-discussion[data-v-4bce48ca] {
125
- font-family: Roboto, Arial, sans-serif;
126
- }
127
- .embedded-discussion .discussion-heading[data-v-4bce48ca] {
128
- padding: 0 0 0.5rem 0;
129
- font-size: 0.875rem;
130
- font-weight: 700;
131
- text-transform: uppercase;
132
- letter-spacing: 1px;
133
- }
134
- .embedded-discussion .resolve-btn-container[data-v-4bce48ca] {
135
- display: flex;
136
- justify-content: flex-end;
137
- margin: 0.5rem 0 0 0;
138
- }
139
- .embedded-discussion .header[data-v-4bce48ca] {
140
- margin: 0.75rem 0 1.25rem 0;
141
- font-size: 1.125rem;
142
- font-weight: 400;
143
- }
144
- .embedded-discussion .comment-input[data-v-4bce48ca] {
145
- margin: 0 0.25rem 0 0.25rem;
146
- }
147
- .embedded-discussion .alert[data-v-4bce48ca] .v-icon {
148
- color: var(--v-primary-darken2) !important;
149
- }
150
- .embedded-discussion .v-input[data-v-4bce48ca] textarea::placeholder {
151
- opacity: 0.85;
152
- }[data-v-41ba7175] .v-menu__content {
153
- background: #fff;
154
- }
155
- [data-v-41ba7175] .v-menu__content .embedded-discussion {
156
- text-align: left;
157
- }
158
- [data-v-41ba7175] .v-menu__content .comment .author {
159
- font-size: 0.875rem;
160
- }
161
- [data-v-41ba7175] .comment-body {
162
- padding: 0 0.25rem 0 3.9375rem;
163
- }
164
- .unseen[data-v-41ba7175] {
165
- font-size: 0.75rem;
166
- }[data-v-a813d944] .v-input__control {
167
- flex-wrap: wrap;
168
- }.content-element[data-v-8d4e1cd3] {
169
- position: relative;
170
- border: 1px solid transparent;
171
- }
172
- .content-element[data-v-8d4e1cd3]::after {
173
- content: "";
174
- display: none;
175
- position: absolute;
176
- top: 0;
177
- right: -0.125rem;
178
- width: 0.125rem;
179
- height: 100%;
180
- }
181
- .content-element.focused[data-v-8d4e1cd3] {
182
- border: 1px dashed #1de9b6;
183
- }
184
- .content-element.focused[data-v-8d4e1cd3]::after {
185
- display: block;
186
- background: #1de9b6;
187
- }
188
- .content-element.selected[data-v-8d4e1cd3] {
189
- border: 1px dashed #ff4081;
190
- }
191
- .content-element.selected[data-v-8d4e1cd3]::after {
192
- display: block;
193
- background: #ff4081;
194
- }
195
- .frame[data-v-8d4e1cd3] {
196
- padding: 10px 20px;
197
- border: 1px solid #e1e1e1;
198
- }
199
- .element-actions[data-v-8d4e1cd3] {
200
- display: flex;
201
- flex-direction: column;
202
- position: absolute;
203
- top: -0.0625rem;
204
- right: -2.5rem;
205
- width: 3rem;
206
- height: 100%;
207
- padding-left: 0.75rem;
208
- }
209
- .element-actions[data-v-8d4e1cd3] > * {
210
- min-height: 1.75rem;
211
- opacity: 0;
212
- transition: opacity 0.1s linear;
213
- }
214
- .element-actions > .is-visible[data-v-8d4e1cd3] {
215
- opacity: 1;
216
- transition: opacity 0.5s linear;
217
- }
218
- .active-users[data-v-8d4e1cd3] {
219
- position: absolute;
220
- top: 0;
221
- left: -1.625rem;
222
- }
223
- .save-indicator[data-v-8d4e1cd3] {
224
- position: absolute;
225
- left: 0;
226
- }
227
- .header[data-v-8d4e1cd3] {
228
- width: 100%;
229
- max-height: 0;
230
- }
231
- .header.visible[data-v-8d4e1cd3] {
232
- max-height: unset;
233
- padding: 0 0 0.5rem;
234
- }
235
- .diff.new[data-v-8d4e1cd3] {
236
- border: none;
237
- box-shadow: 0 0 0 2px rgb(var(--v-theme-success-lighten-4)) !important;
238
- }
239
- .diff.changed[data-v-8d4e1cd3], .diff.removed[data-v-8d4e1cd3] {
240
- border: none;
241
- box-shadow: 0 0 0 2px rgb(var(--v-theme-secondary-lighten-4)) !important;
242
- }
243
- .diff .element-actions[data-v-8d4e1cd3] {
244
- display: none;
245
- }.drag-handle[data-v-1d6d5e96] {
246
- position: absolute;
247
- left: -0.1875rem;
248
- z-index: 2;
249
- width: 1.625rem;
250
- opacity: 0;
251
- }
252
- .drag-handle .mdi[data-v-1d6d5e96] {
253
- color: #888;
254
- font-size: 1.75rem;
255
- }
256
- .hovered .drag-handle[data-v-1d6d5e96] {
257
- opacity: 1;
258
- transition: opacity 0.6s ease-in-out;
259
- cursor: pointer;
260
- }
261
- .disabled .drag-handle[data-v-1d6d5e96] {
262
- display: none;
263
- }
264
- .contained-content[data-v-1d6d5e96] {
265
- position: relative;
266
- margin: 7px 0;
267
- padding: 0;
268
- }.content-element[data-v-c749c875] {
269
- border: 1px solid #e1e1e1;
270
- }
271
- .content-element.selected[data-v-c749c875] {
272
- border-style: dashed;
273
- border-color: #444;
274
- }
275
- .content-element.selected[data-v-c749c875]::after {
276
- display: none;
277
- }
278
- .element-wrapper[data-v-c749c875] {
279
- position: relative;
280
- }
281
- .open-element-button[data-v-c749c875] {
282
- position: absolute;
283
- top: -0.75rem;
284
- right: -0.75rem;
285
- }.dialog-title[data-v-7d729e58] {
286
- display: flex;
287
- }
288
- .dialog-title .text-truncate[data-v-7d729e58] {
289
- flex: 1;
290
- text-align: left;
291
- }.v-treeview[data-v-2114afc6] {
292
- max-height: 31.25rem;
293
- }.element-container[data-v-967e64fb] {
294
- min-height: 20rem;
295
- padding: 0 0 1.875rem;
296
- border-top-left-radius: 0.5rem;
297
- border-top-right-radius: 0.5rem;
298
- overflow: hidden;
299
- }
300
- .group-heading[data-v-967e64fb] {
301
- margin: 0 2.5rem 0.75rem;
302
- padding-top: 0.5rem;
303
- font-size: 0.875rem;
304
- font-weight: 500;
305
- line-height: 1rem;
306
- text-align: left;
307
- }
308
- .group-elements[data-v-967e64fb] {
309
- display: flex;
310
- flex-wrap: wrap;
311
- width: 100%;
312
- padding: 0 2.25rem;
313
- }
314
- .add-element[data-v-967e64fb] {
315
- width: 8.125rem;
316
- min-width: 8.125rem;
317
- height: auto !important;
318
- min-height: 4.75rem;
319
- padding: 0.5rem 0.375rem !important;
320
- }
321
- .add-element[data-v-967e64fb] .v-btn__content {
322
- text-transform: none;
323
- }
324
- .add-element[data-v-967e64fb] .v-btn__prepend {
325
- margin-bottom: 0.25rem;
326
- }/* Do not remove! Makes sure vuedraggable detects correct scrollable parent */
327
- .list-group[data-v-e7b25d51] {
328
- padding: 0.625rem 1.5rem;
329
- }
330
- [data-v-e7b25d51] .sortable-ghost .drag-handle {
331
- display: none;
332
- }
333
- [data-v-e7b25d51] .sortable-ghost .content-element {
334
- max-height: 9.375rem;
335
- background: #f4f5f5;
336
- }
337
- [data-v-e7b25d51] .sortable-ghost .content-element > * {
338
- visibility: hidden;
339
- }
340
- [data-v-e7b25d51] .sortable-drag .content-element {
341
- max-height: auto;
342
- background: #fff;
343
- }.default-activator-state[data-v-31c6a0cf], .inline-activator.disabled[data-v-31c6a0cf], .inline-activator.disabled[data-v-31c6a0cf]:hover, .inline-activator[data-v-31c6a0cf] {
344
- padding: 0 3.125rem;
345
- opacity: 0;
346
- }
347
- .inline-activator[data-v-31c6a0cf] {
348
- display: flex;
349
- align-items: center;
350
- width: 100%;
351
- margin: 0;
352
- padding: 0 3.125rem;
353
- opacity: 0;
354
- transition: opacity 0.3s, padding 0.3s;
355
- }
356
- .inline-activator hr[data-v-31c6a0cf] {
357
- flex: 1;
358
- display: inline-flex;
359
- margin: 0;
360
- border-top: 0.0625rem solid #455a64;
361
- }
362
- .inline-activator[data-v-31c6a0cf]:hover, .inline-activator[data-v-31c6a0cf]:focus {
363
- padding: 0 0 1.25rem 0;
364
- opacity: 1;
365
- outline: none;
366
- transition: opacity 0.3s 0.25s, padding 0.3s 0.1s;
367
- }
368
- .inline-activator.disabled[data-v-31c6a0cf], .inline-activator.disabled[data-v-31c6a0cf]:hover {
369
- pointer-events: none;
370
- }.list-item[data-v-cf214b0a] .v-list-item__append i {
371
- opacity: 1 !important;
372
- }
373
- .list-item.readonly[data-v-cf214b0a] {
374
- pointer-events: none;
375
- }
376
- .list-item.readonly .v-btn[data-v-cf214b0a] {
377
- pointer-events: auto;
378
- }
379
- .list-item-active[data-v-cf214b0a] {
380
- color: #f9c2d5;
381
- }.v-list-group[data-v-a5d65e4d] {
382
- --list-indent-size: 0.75rem;
383
- }.file-name[data-v-2d9a2a84] {
384
- font-size: 1rem;
385
- display: -webkit-box;
386
- -webkit-line-clamp: 2;
387
- -webkit-box-orient: vertical;
388
- overflow: hidden !important;
389
- text-overflow: ellipsis !important;
390
- word-wrap: break-word;
391
- word-break: break-all;
392
- }
393
- .v-overlay[data-v-2d9a2a84] {
394
- transition: all 0.3s ease;
395
- }
396
- .v-overlay.expanded[data-v-2d9a2a84] {
397
- backdrop-filter: blur(18px);
398
- }
399
- .v-overlay[data-v-2d9a2a84] img {
400
- max-width: 100%;
401
- }
402
- .v-label[data-v-2d9a2a84] {
403
- opacity: 0.65;
404
- }.v-sheet[data-v-b3ca3b5a] {
405
- display: flex;
406
- padding: 0.25rem;
407
- gap: 0.125rem;
408
- }
409
- .v-sheet .v-divider[data-v-b3ca3b5a] {
410
- margin: 0 0.125rem;
411
- }
412
- .v-btn[data-v-b3ca3b5a] {
413
- color: currentColor !important;
414
- }
415
- .v-btn[data-v-b3ca3b5a] .v-icon {
416
- font-size: 1.24rem !important;
417
- }[data-v-1c744653] .ProseMirror {
418
- overflow-y: auto;
419
- outline: none;
420
- width: 100%;
421
- }
422
- [data-v-1c744653] .ProseMirror > * + * {
423
- margin-top: 0.75em;
424
- }
425
- [data-v-1c744653] .ProseMirror ul,[data-v-1c744653] .ProseMirror ol {
426
- padding: 0 1rem;
427
- }
428
- [data-v-1c744653] .ProseMirror pre {
429
- background: #0d0d0d;
430
- color: #fff;
431
- padding: 0.75rem 1rem;
432
- border-radius: 0.5rem;
433
- }
434
- [data-v-1c744653] .ProseMirror pre code {
435
- color: inherit;
436
- padding: 0;
437
- background: none;
438
- font-size: 0.8rem;
439
- }
440
- [data-v-1c744653] .ProseMirror blockquote {
441
- padding-left: 1rem;
442
- border-left: 2px solid color-mix(in srgb, currentColor 20%, transparent);
443
- }
444
- .v-field--center-affix[data-v-1c744653] .v-label.v-field-label:not(.v-field-label--floating) {
445
- top: calc(50% - 1.125rem);
446
- }[data-v-bc8a4bf2] .add-element-container {
447
- margin-top: 1rem !important;
448
- }
449
- [data-v-bc8a4bf2] .add-element-container .v-btn {
450
- margin-top: 0 !important;
451
- margin-bottom: 0.5rem !important;
452
- }
453
- [data-v-bc8a4bf2] .list-group {
454
- padding: 1rem 2.5rem;
455
- }
456
- [data-v-bc8a4bf2] .list-group .contained-content {
457
- margin: 0;
458
- }
459
- [data-v-bc8a4bf2] .v-input__details {
460
- padding-inline: 1rem;
461
- }
462
- .question[data-v-bc8a4bf2] {
463
- position: relative;
464
- }
465
- .question[data-v-bc8a4bf2]::after {
466
- content: "";
467
- position: absolute;
468
- height: 100%;
469
- left: 0;
470
- top: 0;
471
- width: 100%;
472
- border: 1px solid currentColor;
473
- opacity: 0.38;
474
- pointer-events: none;
475
- border-radius: inherit;
476
- transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
477
- }
478
- .question.focused[data-v-bc8a4bf2]::after {
479
- opacity: 1;
480
- border-width: 2px;
481
- }
482
- .question[data-v-bc8a4bf2]:hover::after {
483
- opacity: 0.87;
484
- }
485
- .v-input--error .question[data-v-bc8a4bf2]::after {
486
- color: rgb(var(--v-theme-error));
487
- opacity: 1;
488
- }[data-v-da04ead1] .v-input__control {
489
- flex-wrap: wrap;
490
- }.drag-handle[data-v-1a62f88d] {
491
- margin: 0.625rem 0 0.625rem -0.5rem;
492
- }
493
- .diff.new[data-v-1a62f88d] {
494
- border: none;
495
- box-shadow: 0 0 0 2px rgb(var(--v-theme-success-lighten-4)) !important;
496
- }
497
- .diff.changed[data-v-1a62f88d], .diff.removed[data-v-1a62f88d] {
498
- border: none;
499
- box-shadow: 0 0 0 2px rgb(var(--v-theme-secondary-lighten-4)) !important;
500
- }/*!
1
+ /*!
501
2
  * Quill Editor v2.0.3
502
3
  * https://quilljs.com
503
4
  * Copyright (c) 2017-2024, Slab
@@ -556,20 +57,28 @@
556
57
  transition: none;
557
58
  margin-left: 16px;
558
59
  padding-right: 8px;
559
- }.tce-container[data-v-0a28b1f1] {
60
+ }.tce-container[data-v-48178d4c] {
560
61
  text-align: left;
561
62
  }
562
- .ql-container.ql-snow[data-v-0a28b1f1] {
63
+ .ql-container.ql-snow[data-v-48178d4c] {
563
64
  border: none;
564
65
  font-size: 1rem;
565
66
  }
566
- [data-v-0a28b1f1] .ql-editor {
567
- min-height: 10.5rem;
67
+ .placeholder[data-v-48178d4c] {
68
+ color: rgba(0, 0, 0, 0.5);
69
+ }
70
+ [data-v-48178d4c] .ql-editor {
71
+ min-height: 5rem;
72
+ padding: 0.5rem;
568
73
  }
569
- [data-v-0a28b1f1] .ql-editor.ql-blank::before {
74
+ [data-v-48178d4c] .ql-editor.ql-blank::before {
570
75
  width: 100%;
76
+ color: rgba(0, 0, 0, 0.5);
77
+ font-style: normal;
78
+ left: 0.5rem;
79
+ right: 0.5rem;
571
80
  }
572
- [data-v-0a28b1f1] .ql-editor img {
81
+ [data-v-48178d4c] .ql-editor img {
573
82
  vertical-align: initial;
574
83
  }.tce-html-toolbar {
575
84
  display: flex;
@@ -0,0 +1,6 @@
1
+ import type { ElementManifest } from '@tailor-cms/ce-quill-html-manifest';
2
+ import Edit from './components/Edit.vue';
3
+ import TopToolbar from './components/TopToolbar.vue';
4
+ declare const manifest: ElementManifest;
5
+ export default manifest;
6
+ export { Edit, TopToolbar };