dragon-editor 3.0.2 → 3.1.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/README.md +4 -4
- package/dist/module.json +1 -1
- package/dist/runtime/components/DragonEditor.vue +510 -21
- package/dist/runtime/components/DragonEditorViewer.vue +307 -6
- package/dist/runtime/scss/editor.css +300 -0
- package/dist/runtime/scss/viewer.css +291 -0
- package/dist/runtime/store.d.ts +1 -0
- package/dist/runtime/store.mjs +4 -0
- package/dist/runtime/type.d.ts +51 -4
- package/dist/runtime/utils/block.d.ts +6 -4
- package/dist/runtime/utils/block.mjs +63 -22
- package/dist/runtime/utils/content.d.ts +2 -0
- package/dist/runtime/utils/content.mjs +15 -0
- package/dist/runtime/utils/convertor.d.ts +2 -1
- package/dist/runtime/utils/convertor.mjs +68 -9
- package/dist/runtime/utils/keyboardEvent.mjs +29 -11
- package/dist/runtime/utils/style.d.ts +1 -0
- package/dist/runtime/utils/style.mjs +288 -263
- package/dist/runtime/utils/ui.d.ts +0 -1
- package/dist/runtime/utils/ui.mjs +0 -35
- package/package.json +3 -2
- package/dist/runtime/plugin.d.ts +0 -2
- package/dist/runtime/plugin.mjs +0 -10
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="dragon-editor-viewer">
|
|
3
3
|
<template v-for="item in props.content">
|
|
4
|
-
<p v-if="item.type === 'text'" class="de-block de-text-block" v-html="item.textContent"></p>
|
|
4
|
+
<p v-if="item.type === 'text'" class="de-block de-text-block" :class="item.classList" v-html="item.textContent"></p>
|
|
5
5
|
|
|
6
6
|
<template v-if="item.type === 'heading'">
|
|
7
|
-
<h1 v-if="item.level === 1" class="de-block de-heading-block" :data-level="item.level" v-html="item.textContent"></h1>
|
|
8
|
-
<h2 v-if="item.level === 2" class="de-block de-heading-block" :data-level="item.level" v-html="item.textContent"></h2>
|
|
9
|
-
<h3 v-if="item.level === 3" class="de-block de-heading-block" :data-level="item.level" v-html="item.textContent"></h3>
|
|
7
|
+
<h1 v-if="item.level === 1" class="de-block de-heading-block" :class="item.classList" :data-level="item.level" v-html="item.textContent"></h1>
|
|
8
|
+
<h2 v-if="item.level === 2" class="de-block de-heading-block" :class="item.classList" :data-level="item.level" v-html="item.textContent"></h2>
|
|
9
|
+
<h3 v-if="item.level === 3" class="de-block de-heading-block" :class="item.classList" :data-level="item.level" v-html="item.textContent"></h3>
|
|
10
10
|
</template>
|
|
11
11
|
|
|
12
12
|
<ul v-if="item.type === 'ul'" class="de-block de-list-block">
|
|
13
|
-
<li v-for="li in item.child" class="de-item" v-html="li"></li>
|
|
13
|
+
<li v-for="li in item.child" class="de-item" :class="li.classList" v-html="li.textContent"></li>
|
|
14
14
|
</ul>
|
|
15
15
|
|
|
16
16
|
<ol v-if="item.type === 'ol'" class="de-block de-list-block" :type="item.pattern">
|
|
17
|
-
<li v-for="li in item.child" class="de-item" v-html="li"></li>
|
|
17
|
+
<li v-for="li in item.child" class="de-item" :class="li.classList" v-html="li.textContent"></li>
|
|
18
18
|
</ol>
|
|
19
|
+
|
|
20
|
+
<div v-if="item.type === 'image'" class="de-block de-image-block" :class="item.classList">
|
|
21
|
+
<div class="de-image-area" :data-maxwidth="item.maxWidth">
|
|
22
|
+
<img :src="item.src" alt="" class="de-img" :width="item.width" :height="item.height" loading="lazy" />
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<p v-if="item.caption" class="de-caption">{{ item.caption }}</p>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div v-if="item.type === 'custom'" class="de-block de-custom-block" :class="item.classList" v-html="item.textContent"></div>
|
|
19
29
|
</template>
|
|
20
30
|
</div>
|
|
21
31
|
</template>
|
|
@@ -201,6 +211,285 @@ const props = defineProps<{
|
|
|
201
211
|
.dragon-editor-viewer ol.de-list-block {
|
|
202
212
|
list-style: decimal;
|
|
203
213
|
}
|
|
214
|
+
.dragon-editor-viewer .de-image-block {
|
|
215
|
+
display: flex;
|
|
216
|
+
align-items: center;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
row-gap: 8px;
|
|
219
|
+
}
|
|
220
|
+
.dragon-editor-viewer .de-image-block.de-align-left {
|
|
221
|
+
align-items: flex-start;
|
|
222
|
+
}
|
|
223
|
+
.dragon-editor-viewer .de-image-block.de-align-left .de-caption {
|
|
224
|
+
text-align: left;
|
|
225
|
+
}
|
|
226
|
+
.dragon-editor-viewer .de-image-block.de-align-right {
|
|
227
|
+
align-items: flex-end;
|
|
228
|
+
}
|
|
229
|
+
.dragon-editor-viewer .de-image-block.de-align-right .de-caption {
|
|
230
|
+
text-align: right;
|
|
231
|
+
}
|
|
232
|
+
.dragon-editor-viewer .de-image-block .de-image-area {
|
|
233
|
+
position: relative;
|
|
234
|
+
max-width: 25%;
|
|
235
|
+
}
|
|
236
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="25"] {
|
|
237
|
+
max-width: 25%;
|
|
238
|
+
}
|
|
239
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="26"] {
|
|
240
|
+
max-width: 26%;
|
|
241
|
+
}
|
|
242
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="27"] {
|
|
243
|
+
max-width: 27%;
|
|
244
|
+
}
|
|
245
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="28"] {
|
|
246
|
+
max-width: 28%;
|
|
247
|
+
}
|
|
248
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="29"] {
|
|
249
|
+
max-width: 29%;
|
|
250
|
+
}
|
|
251
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="30"] {
|
|
252
|
+
max-width: 30%;
|
|
253
|
+
}
|
|
254
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="31"] {
|
|
255
|
+
max-width: 31%;
|
|
256
|
+
}
|
|
257
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="32"] {
|
|
258
|
+
max-width: 32%;
|
|
259
|
+
}
|
|
260
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="33"] {
|
|
261
|
+
max-width: 33%;
|
|
262
|
+
}
|
|
263
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="34"] {
|
|
264
|
+
max-width: 34%;
|
|
265
|
+
}
|
|
266
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="35"] {
|
|
267
|
+
max-width: 35%;
|
|
268
|
+
}
|
|
269
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="36"] {
|
|
270
|
+
max-width: 36%;
|
|
271
|
+
}
|
|
272
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="37"] {
|
|
273
|
+
max-width: 37%;
|
|
274
|
+
}
|
|
275
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="38"] {
|
|
276
|
+
max-width: 38%;
|
|
277
|
+
}
|
|
278
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="39"] {
|
|
279
|
+
max-width: 39%;
|
|
280
|
+
}
|
|
281
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="40"] {
|
|
282
|
+
max-width: 40%;
|
|
283
|
+
}
|
|
284
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="41"] {
|
|
285
|
+
max-width: 41%;
|
|
286
|
+
}
|
|
287
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="42"] {
|
|
288
|
+
max-width: 42%;
|
|
289
|
+
}
|
|
290
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="43"] {
|
|
291
|
+
max-width: 43%;
|
|
292
|
+
}
|
|
293
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="44"] {
|
|
294
|
+
max-width: 44%;
|
|
295
|
+
}
|
|
296
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="45"] {
|
|
297
|
+
max-width: 45%;
|
|
298
|
+
}
|
|
299
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="46"] {
|
|
300
|
+
max-width: 46%;
|
|
301
|
+
}
|
|
302
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="47"] {
|
|
303
|
+
max-width: 47%;
|
|
304
|
+
}
|
|
305
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="48"] {
|
|
306
|
+
max-width: 48%;
|
|
307
|
+
}
|
|
308
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="49"] {
|
|
309
|
+
max-width: 49%;
|
|
310
|
+
}
|
|
311
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="50"] {
|
|
312
|
+
max-width: 50%;
|
|
313
|
+
}
|
|
314
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="51"] {
|
|
315
|
+
max-width: 51%;
|
|
316
|
+
}
|
|
317
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="52"] {
|
|
318
|
+
max-width: 52%;
|
|
319
|
+
}
|
|
320
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="53"] {
|
|
321
|
+
max-width: 53%;
|
|
322
|
+
}
|
|
323
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="54"] {
|
|
324
|
+
max-width: 54%;
|
|
325
|
+
}
|
|
326
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="55"] {
|
|
327
|
+
max-width: 55%;
|
|
328
|
+
}
|
|
329
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="56"] {
|
|
330
|
+
max-width: 56%;
|
|
331
|
+
}
|
|
332
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="57"] {
|
|
333
|
+
max-width: 57%;
|
|
334
|
+
}
|
|
335
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="58"] {
|
|
336
|
+
max-width: 58%;
|
|
337
|
+
}
|
|
338
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="59"] {
|
|
339
|
+
max-width: 59%;
|
|
340
|
+
}
|
|
341
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="60"] {
|
|
342
|
+
max-width: 60%;
|
|
343
|
+
}
|
|
344
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="61"] {
|
|
345
|
+
max-width: 61%;
|
|
346
|
+
}
|
|
347
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="62"] {
|
|
348
|
+
max-width: 62%;
|
|
349
|
+
}
|
|
350
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="63"] {
|
|
351
|
+
max-width: 63%;
|
|
352
|
+
}
|
|
353
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="64"] {
|
|
354
|
+
max-width: 64%;
|
|
355
|
+
}
|
|
356
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="65"] {
|
|
357
|
+
max-width: 65%;
|
|
358
|
+
}
|
|
359
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="66"] {
|
|
360
|
+
max-width: 66%;
|
|
361
|
+
}
|
|
362
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="67"] {
|
|
363
|
+
max-width: 67%;
|
|
364
|
+
}
|
|
365
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="68"] {
|
|
366
|
+
max-width: 68%;
|
|
367
|
+
}
|
|
368
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="69"] {
|
|
369
|
+
max-width: 69%;
|
|
370
|
+
}
|
|
371
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="70"] {
|
|
372
|
+
max-width: 70%;
|
|
373
|
+
}
|
|
374
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="71"] {
|
|
375
|
+
max-width: 71%;
|
|
376
|
+
}
|
|
377
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="72"] {
|
|
378
|
+
max-width: 72%;
|
|
379
|
+
}
|
|
380
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="73"] {
|
|
381
|
+
max-width: 73%;
|
|
382
|
+
}
|
|
383
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="74"] {
|
|
384
|
+
max-width: 74%;
|
|
385
|
+
}
|
|
386
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="75"] {
|
|
387
|
+
max-width: 75%;
|
|
388
|
+
}
|
|
389
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="76"] {
|
|
390
|
+
max-width: 76%;
|
|
391
|
+
}
|
|
392
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="77"] {
|
|
393
|
+
max-width: 77%;
|
|
394
|
+
}
|
|
395
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="78"] {
|
|
396
|
+
max-width: 78%;
|
|
397
|
+
}
|
|
398
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="79"] {
|
|
399
|
+
max-width: 79%;
|
|
400
|
+
}
|
|
401
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="80"] {
|
|
402
|
+
max-width: 80%;
|
|
403
|
+
}
|
|
404
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="81"] {
|
|
405
|
+
max-width: 81%;
|
|
406
|
+
}
|
|
407
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="82"] {
|
|
408
|
+
max-width: 82%;
|
|
409
|
+
}
|
|
410
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="83"] {
|
|
411
|
+
max-width: 83%;
|
|
412
|
+
}
|
|
413
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="84"] {
|
|
414
|
+
max-width: 84%;
|
|
415
|
+
}
|
|
416
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="85"] {
|
|
417
|
+
max-width: 85%;
|
|
418
|
+
}
|
|
419
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="86"] {
|
|
420
|
+
max-width: 86%;
|
|
421
|
+
}
|
|
422
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="87"] {
|
|
423
|
+
max-width: 87%;
|
|
424
|
+
}
|
|
425
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="88"] {
|
|
426
|
+
max-width: 88%;
|
|
427
|
+
}
|
|
428
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="89"] {
|
|
429
|
+
max-width: 89%;
|
|
430
|
+
}
|
|
431
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="90"] {
|
|
432
|
+
max-width: 90%;
|
|
433
|
+
}
|
|
434
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="91"] {
|
|
435
|
+
max-width: 91%;
|
|
436
|
+
}
|
|
437
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="92"] {
|
|
438
|
+
max-width: 92%;
|
|
439
|
+
}
|
|
440
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="93"] {
|
|
441
|
+
max-width: 93%;
|
|
442
|
+
}
|
|
443
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="94"] {
|
|
444
|
+
max-width: 94%;
|
|
445
|
+
}
|
|
446
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="95"] {
|
|
447
|
+
max-width: 95%;
|
|
448
|
+
}
|
|
449
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="96"] {
|
|
450
|
+
max-width: 96%;
|
|
451
|
+
}
|
|
452
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="97"] {
|
|
453
|
+
max-width: 97%;
|
|
454
|
+
}
|
|
455
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="98"] {
|
|
456
|
+
max-width: 98%;
|
|
457
|
+
}
|
|
458
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="99"] {
|
|
459
|
+
max-width: 99%;
|
|
460
|
+
}
|
|
461
|
+
.dragon-editor-viewer .de-image-block .de-image-area[data-maxwidth="100"] {
|
|
462
|
+
max-width: 100%;
|
|
463
|
+
}
|
|
464
|
+
.dragon-editor-viewer .de-image-block .de-image-area .de-img {
|
|
465
|
+
width: 100%;
|
|
466
|
+
height: auto;
|
|
467
|
+
}
|
|
468
|
+
.dragon-editor-viewer .de-image-block .de-image-area .de-btn {
|
|
469
|
+
position: absolute;
|
|
470
|
+
top: 50%;
|
|
471
|
+
width: 8px;
|
|
472
|
+
height: 100px;
|
|
473
|
+
background: #ccc;
|
|
474
|
+
border: 1px solid #333;
|
|
475
|
+
transform: translate(-50%, -50%);
|
|
476
|
+
cursor: col-resize;
|
|
477
|
+
user-select: none;
|
|
478
|
+
z-index: 100;
|
|
479
|
+
}
|
|
480
|
+
.dragon-editor-viewer .de-image-block .de-image-area .de-btn.de-btn-left {
|
|
481
|
+
left: 0;
|
|
482
|
+
}
|
|
483
|
+
.dragon-editor-viewer .de-image-block .de-image-area .de-btn.de-btn-right {
|
|
484
|
+
left: 100%;
|
|
485
|
+
}
|
|
486
|
+
.dragon-editor-viewer .de-image-block .de-caption {
|
|
487
|
+
width: 100%;
|
|
488
|
+
min-height: 1.6em;
|
|
489
|
+
color: #909090;
|
|
490
|
+
text-align: center;
|
|
491
|
+
outline: 0;
|
|
492
|
+
}
|
|
204
493
|
.dragon-editor-viewer .de-bold {
|
|
205
494
|
font-weight: 700;
|
|
206
495
|
}
|
|
@@ -225,4 +514,16 @@ const props = defineProps<{
|
|
|
225
514
|
color: #ff0000;
|
|
226
515
|
border-radius: 5px;
|
|
227
516
|
}
|
|
517
|
+
.dragon-editor-viewer .de-align-left {
|
|
518
|
+
text-align: left;
|
|
519
|
+
}
|
|
520
|
+
.dragon-editor-viewer .de-align-right {
|
|
521
|
+
text-align: right;
|
|
522
|
+
}
|
|
523
|
+
.dragon-editor-viewer .de-align-center {
|
|
524
|
+
text-align: center;
|
|
525
|
+
}
|
|
526
|
+
.dragon-editor-viewer .de-align-justify {
|
|
527
|
+
text-align: justify;
|
|
528
|
+
}
|
|
228
529
|
</style>
|
|
@@ -163,6 +163,9 @@
|
|
|
163
163
|
.dragon-editor .de-control-bar .de-menu.--lastchild {
|
|
164
164
|
border-right: 0;
|
|
165
165
|
}
|
|
166
|
+
.dragon-editor .de-control-bar .de-menu .de-path.--red {
|
|
167
|
+
fill: #dd0000;
|
|
168
|
+
}
|
|
166
169
|
.dragon-editor .de-control-bar .de-block-menu-area {
|
|
167
170
|
display: none;
|
|
168
171
|
position: absolute;
|
|
@@ -235,6 +238,291 @@
|
|
|
235
238
|
.dragon-editor ol.de-list-block {
|
|
236
239
|
list-style: decimal;
|
|
237
240
|
}
|
|
241
|
+
.dragon-editor .de-image-block {
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
flex-direction: column;
|
|
245
|
+
row-gap: 8px;
|
|
246
|
+
}
|
|
247
|
+
.dragon-editor .de-image-block.de-align-left {
|
|
248
|
+
align-items: flex-start;
|
|
249
|
+
}
|
|
250
|
+
.dragon-editor .de-image-block.de-align-left .de-caption {
|
|
251
|
+
text-align: left;
|
|
252
|
+
}
|
|
253
|
+
.dragon-editor .de-image-block.de-align-right {
|
|
254
|
+
align-items: flex-end;
|
|
255
|
+
}
|
|
256
|
+
.dragon-editor .de-image-block.de-align-right .de-caption {
|
|
257
|
+
text-align: right;
|
|
258
|
+
}
|
|
259
|
+
.dragon-editor .de-image-block .de-image-area {
|
|
260
|
+
position: relative;
|
|
261
|
+
max-width: 25%;
|
|
262
|
+
}
|
|
263
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="25"] {
|
|
264
|
+
max-width: 25%;
|
|
265
|
+
}
|
|
266
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="26"] {
|
|
267
|
+
max-width: 26%;
|
|
268
|
+
}
|
|
269
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="27"] {
|
|
270
|
+
max-width: 27%;
|
|
271
|
+
}
|
|
272
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="28"] {
|
|
273
|
+
max-width: 28%;
|
|
274
|
+
}
|
|
275
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="29"] {
|
|
276
|
+
max-width: 29%;
|
|
277
|
+
}
|
|
278
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="30"] {
|
|
279
|
+
max-width: 30%;
|
|
280
|
+
}
|
|
281
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="31"] {
|
|
282
|
+
max-width: 31%;
|
|
283
|
+
}
|
|
284
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="32"] {
|
|
285
|
+
max-width: 32%;
|
|
286
|
+
}
|
|
287
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="33"] {
|
|
288
|
+
max-width: 33%;
|
|
289
|
+
}
|
|
290
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="34"] {
|
|
291
|
+
max-width: 34%;
|
|
292
|
+
}
|
|
293
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="35"] {
|
|
294
|
+
max-width: 35%;
|
|
295
|
+
}
|
|
296
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="36"] {
|
|
297
|
+
max-width: 36%;
|
|
298
|
+
}
|
|
299
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="37"] {
|
|
300
|
+
max-width: 37%;
|
|
301
|
+
}
|
|
302
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="38"] {
|
|
303
|
+
max-width: 38%;
|
|
304
|
+
}
|
|
305
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="39"] {
|
|
306
|
+
max-width: 39%;
|
|
307
|
+
}
|
|
308
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="40"] {
|
|
309
|
+
max-width: 40%;
|
|
310
|
+
}
|
|
311
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="41"] {
|
|
312
|
+
max-width: 41%;
|
|
313
|
+
}
|
|
314
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="42"] {
|
|
315
|
+
max-width: 42%;
|
|
316
|
+
}
|
|
317
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="43"] {
|
|
318
|
+
max-width: 43%;
|
|
319
|
+
}
|
|
320
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="44"] {
|
|
321
|
+
max-width: 44%;
|
|
322
|
+
}
|
|
323
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="45"] {
|
|
324
|
+
max-width: 45%;
|
|
325
|
+
}
|
|
326
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="46"] {
|
|
327
|
+
max-width: 46%;
|
|
328
|
+
}
|
|
329
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="47"] {
|
|
330
|
+
max-width: 47%;
|
|
331
|
+
}
|
|
332
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="48"] {
|
|
333
|
+
max-width: 48%;
|
|
334
|
+
}
|
|
335
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="49"] {
|
|
336
|
+
max-width: 49%;
|
|
337
|
+
}
|
|
338
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="50"] {
|
|
339
|
+
max-width: 50%;
|
|
340
|
+
}
|
|
341
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="51"] {
|
|
342
|
+
max-width: 51%;
|
|
343
|
+
}
|
|
344
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="52"] {
|
|
345
|
+
max-width: 52%;
|
|
346
|
+
}
|
|
347
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="53"] {
|
|
348
|
+
max-width: 53%;
|
|
349
|
+
}
|
|
350
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="54"] {
|
|
351
|
+
max-width: 54%;
|
|
352
|
+
}
|
|
353
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="55"] {
|
|
354
|
+
max-width: 55%;
|
|
355
|
+
}
|
|
356
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="56"] {
|
|
357
|
+
max-width: 56%;
|
|
358
|
+
}
|
|
359
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="57"] {
|
|
360
|
+
max-width: 57%;
|
|
361
|
+
}
|
|
362
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="58"] {
|
|
363
|
+
max-width: 58%;
|
|
364
|
+
}
|
|
365
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="59"] {
|
|
366
|
+
max-width: 59%;
|
|
367
|
+
}
|
|
368
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="60"] {
|
|
369
|
+
max-width: 60%;
|
|
370
|
+
}
|
|
371
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="61"] {
|
|
372
|
+
max-width: 61%;
|
|
373
|
+
}
|
|
374
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="62"] {
|
|
375
|
+
max-width: 62%;
|
|
376
|
+
}
|
|
377
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="63"] {
|
|
378
|
+
max-width: 63%;
|
|
379
|
+
}
|
|
380
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="64"] {
|
|
381
|
+
max-width: 64%;
|
|
382
|
+
}
|
|
383
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="65"] {
|
|
384
|
+
max-width: 65%;
|
|
385
|
+
}
|
|
386
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="66"] {
|
|
387
|
+
max-width: 66%;
|
|
388
|
+
}
|
|
389
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="67"] {
|
|
390
|
+
max-width: 67%;
|
|
391
|
+
}
|
|
392
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="68"] {
|
|
393
|
+
max-width: 68%;
|
|
394
|
+
}
|
|
395
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="69"] {
|
|
396
|
+
max-width: 69%;
|
|
397
|
+
}
|
|
398
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="70"] {
|
|
399
|
+
max-width: 70%;
|
|
400
|
+
}
|
|
401
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="71"] {
|
|
402
|
+
max-width: 71%;
|
|
403
|
+
}
|
|
404
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="72"] {
|
|
405
|
+
max-width: 72%;
|
|
406
|
+
}
|
|
407
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="73"] {
|
|
408
|
+
max-width: 73%;
|
|
409
|
+
}
|
|
410
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="74"] {
|
|
411
|
+
max-width: 74%;
|
|
412
|
+
}
|
|
413
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="75"] {
|
|
414
|
+
max-width: 75%;
|
|
415
|
+
}
|
|
416
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="76"] {
|
|
417
|
+
max-width: 76%;
|
|
418
|
+
}
|
|
419
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="77"] {
|
|
420
|
+
max-width: 77%;
|
|
421
|
+
}
|
|
422
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="78"] {
|
|
423
|
+
max-width: 78%;
|
|
424
|
+
}
|
|
425
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="79"] {
|
|
426
|
+
max-width: 79%;
|
|
427
|
+
}
|
|
428
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="80"] {
|
|
429
|
+
max-width: 80%;
|
|
430
|
+
}
|
|
431
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="81"] {
|
|
432
|
+
max-width: 81%;
|
|
433
|
+
}
|
|
434
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="82"] {
|
|
435
|
+
max-width: 82%;
|
|
436
|
+
}
|
|
437
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="83"] {
|
|
438
|
+
max-width: 83%;
|
|
439
|
+
}
|
|
440
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="84"] {
|
|
441
|
+
max-width: 84%;
|
|
442
|
+
}
|
|
443
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="85"] {
|
|
444
|
+
max-width: 85%;
|
|
445
|
+
}
|
|
446
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="86"] {
|
|
447
|
+
max-width: 86%;
|
|
448
|
+
}
|
|
449
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="87"] {
|
|
450
|
+
max-width: 87%;
|
|
451
|
+
}
|
|
452
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="88"] {
|
|
453
|
+
max-width: 88%;
|
|
454
|
+
}
|
|
455
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="89"] {
|
|
456
|
+
max-width: 89%;
|
|
457
|
+
}
|
|
458
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="90"] {
|
|
459
|
+
max-width: 90%;
|
|
460
|
+
}
|
|
461
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="91"] {
|
|
462
|
+
max-width: 91%;
|
|
463
|
+
}
|
|
464
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="92"] {
|
|
465
|
+
max-width: 92%;
|
|
466
|
+
}
|
|
467
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="93"] {
|
|
468
|
+
max-width: 93%;
|
|
469
|
+
}
|
|
470
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="94"] {
|
|
471
|
+
max-width: 94%;
|
|
472
|
+
}
|
|
473
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="95"] {
|
|
474
|
+
max-width: 95%;
|
|
475
|
+
}
|
|
476
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="96"] {
|
|
477
|
+
max-width: 96%;
|
|
478
|
+
}
|
|
479
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="97"] {
|
|
480
|
+
max-width: 97%;
|
|
481
|
+
}
|
|
482
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="98"] {
|
|
483
|
+
max-width: 98%;
|
|
484
|
+
}
|
|
485
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="99"] {
|
|
486
|
+
max-width: 99%;
|
|
487
|
+
}
|
|
488
|
+
.dragon-editor .de-image-block .de-image-area[data-maxwidth="100"] {
|
|
489
|
+
max-width: 100%;
|
|
490
|
+
}
|
|
491
|
+
.dragon-editor .de-image-block .de-image-area .de-img {
|
|
492
|
+
width: 100%;
|
|
493
|
+
height: auto;
|
|
494
|
+
}
|
|
495
|
+
.dragon-editor .de-image-block .de-image-area .de-btn {
|
|
496
|
+
position: absolute;
|
|
497
|
+
top: 50%;
|
|
498
|
+
width: 8px;
|
|
499
|
+
height: 100px;
|
|
500
|
+
background: #ccc;
|
|
501
|
+
border: 1px solid #333;
|
|
502
|
+
transform: translate(-50%, -50%);
|
|
503
|
+
cursor: col-resize;
|
|
504
|
+
user-select: none;
|
|
505
|
+
z-index: 100;
|
|
506
|
+
}
|
|
507
|
+
.dragon-editor .de-image-block .de-image-area .de-btn.de-btn-left {
|
|
508
|
+
left: 0;
|
|
509
|
+
}
|
|
510
|
+
.dragon-editor .de-image-block .de-image-area .de-btn.de-btn-right {
|
|
511
|
+
left: 100%;
|
|
512
|
+
}
|
|
513
|
+
.dragon-editor .de-image-block .de-caption {
|
|
514
|
+
width: 100%;
|
|
515
|
+
min-height: 1.6em;
|
|
516
|
+
color: #909090;
|
|
517
|
+
text-align: center;
|
|
518
|
+
outline: 0;
|
|
519
|
+
}
|
|
520
|
+
.dragon-editor .de-image-block .de-caption:empty:hover::before, .dragon-editor .de-image-block .de-caption:empty:focus::before {
|
|
521
|
+
display: inline;
|
|
522
|
+
content: "Type a caption";
|
|
523
|
+
color: #ccc;
|
|
524
|
+
cursor: text;
|
|
525
|
+
}
|
|
238
526
|
.dragon-editor .de-bold {
|
|
239
527
|
font-weight: 700;
|
|
240
528
|
}
|
|
@@ -258,4 +546,16 @@
|
|
|
258
546
|
background: #f1f1f1;
|
|
259
547
|
color: #ff0000;
|
|
260
548
|
border-radius: 5px;
|
|
549
|
+
}
|
|
550
|
+
.dragon-editor .de-align-left {
|
|
551
|
+
text-align: left;
|
|
552
|
+
}
|
|
553
|
+
.dragon-editor .de-align-right {
|
|
554
|
+
text-align: right;
|
|
555
|
+
}
|
|
556
|
+
.dragon-editor .de-align-center {
|
|
557
|
+
text-align: center;
|
|
558
|
+
}
|
|
559
|
+
.dragon-editor .de-align-justify {
|
|
560
|
+
text-align: justify;
|
|
261
561
|
}
|