dragon-editor 3.8.7 → 4.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/README.md +10 -9
- package/dist/module.json +1 -1
- package/dist/module.mjs +9 -7
- package/dist/runtime/components/Block/Code.d.vue.ts +13 -0
- package/dist/runtime/components/Block/Code.vue +193 -0
- package/dist/runtime/components/Block/Code.vue.d.ts +13 -0
- package/dist/runtime/components/Block/Custom.d.vue.ts +9 -0
- package/dist/runtime/components/Block/Custom.vue +28 -0
- package/dist/runtime/components/Block/Custom.vue.d.ts +9 -0
- package/dist/runtime/components/Block/Divider.d.vue.ts +9 -0
- package/dist/runtime/components/Block/Divider.vue +27 -0
- package/dist/runtime/components/Block/Divider.vue.d.ts +9 -0
- package/dist/runtime/components/Block/Heading.d.vue.ts +13 -0
- package/dist/runtime/components/Block/Heading.vue +84 -0
- package/dist/runtime/components/Block/Heading.vue.d.ts +13 -0
- package/dist/runtime/components/Block/Image.d.vue.ts +13 -0
- package/dist/runtime/components/Block/Image.vue +146 -0
- package/dist/runtime/components/Block/Image.vue.d.ts +13 -0
- package/dist/runtime/components/Block/List.d.vue.ts +13 -0
- package/dist/runtime/components/Block/List.vue +170 -0
- package/dist/runtime/components/Block/List.vue.d.ts +13 -0
- package/dist/runtime/components/Block/Text.d.vue.ts +13 -0
- package/dist/runtime/components/Block/Text.vue +84 -0
- package/dist/runtime/components/Block/Text.vue.d.ts +13 -0
- package/dist/runtime/components/DragonEditor.d.vue.ts +28 -22
- package/dist/runtime/components/DragonEditor.vue +75 -1225
- package/dist/runtime/components/DragonEditor.vue.d.ts +28 -22
- package/dist/runtime/components/DragonEditorViewer.d.vue.ts +13 -5
- package/dist/runtime/components/DragonEditorViewer.vue +17 -813
- package/dist/runtime/components/DragonEditorViewer.vue.d.ts +13 -5
- package/dist/runtime/components/MenuBar.d.vue.ts +3 -0
- package/dist/runtime/components/MenuBar.vue +385 -0
- package/dist/runtime/components/MenuBar.vue.d.ts +3 -0
- package/dist/runtime/scss/editor.css +237 -283
- package/dist/runtime/scss/viewer.css +184 -210
- package/dist/runtime/store/editor.d.ts +2 -0
- package/dist/runtime/store/editor.js +59 -0
- package/dist/runtime/type.d.mts +101 -124
- package/dist/runtime/utils/data/block.d.ts +20 -0
- package/dist/runtime/utils/data/block.js +663 -0
- package/dist/runtime/utils/data/cursor.d.ts +9 -0
- package/dist/runtime/utils/data/cursor.js +137 -0
- package/dist/runtime/utils/data/index.d.ts +5 -0
- package/dist/runtime/utils/data/index.js +17 -0
- package/dist/runtime/utils/data/node.d.ts +9 -0
- package/dist/runtime/utils/data/node.js +101 -0
- package/dist/runtime/utils/event/cursor.d.ts +3 -6
- package/dist/runtime/utils/event/cursor.js +52 -105
- package/dist/runtime/utils/event/index.d.ts +2 -6
- package/dist/runtime/utils/event/index.js +48 -6
- package/dist/runtime/utils/event/keyboard.d.ts +22 -7
- package/dist/runtime/utils/event/keyboard.js +910 -1406
- package/dist/runtime/utils/layout/body.d.ts +3 -4
- package/dist/runtime/utils/layout/body.js +83 -51
- package/dist/runtime/utils/layout/icon.d.ts +1 -2
- package/dist/runtime/utils/layout/icon.js +64 -67
- package/dist/runtime/utils/layout/index.d.ts +0 -3
- package/dist/runtime/utils/layout/index.js +0 -3
- package/dist/runtime/utils/node/element.d.ts +4 -6
- package/dist/runtime/utils/node/element.js +58 -71
- package/dist/runtime/utils/node/index.d.ts +1 -1
- package/dist/runtime/utils/node/index.js +1 -1
- package/dist/runtime/utils/node/style.d.ts +5 -0
- package/dist/runtime/utils/node/style.js +702 -0
- package/package.json +31 -17
- package/dist/runtime/utils/event/block.d.ts +0 -7
- package/dist/runtime/utils/event/block.js +0 -110
- package/dist/runtime/utils/event/data.d.ts +0 -8
- package/dist/runtime/utils/event/data.js +0 -379
- package/dist/runtime/utils/event/mouse.d.ts +0 -11
- package/dist/runtime/utils/event/mouse.js +0 -85
- package/dist/runtime/utils/event/scroll.d.ts +0 -3
- package/dist/runtime/utils/event/scroll.js +0 -29
- package/dist/runtime/utils/event/touch.d.ts +0 -5
- package/dist/runtime/utils/event/touch.js +0 -10
- package/dist/runtime/utils/event/window.d.ts +0 -5
- package/dist/runtime/utils/event/window.js +0 -47
- package/dist/runtime/utils/layout/block.d.ts +0 -7
- package/dist/runtime/utils/layout/block.js +0 -123
- package/dist/runtime/utils/layout/controlbar.d.ts +0 -3
- package/dist/runtime/utils/layout/controlbar.js +0 -99
- package/dist/runtime/utils/layout/menuBar.d.ts +0 -3
- package/dist/runtime/utils/layout/menuBar.js +0 -408
- package/dist/runtime/utils/node/block.d.ts +0 -19
- package/dist/runtime/utils/node/block.js +0 -256
- package/dist/runtime/utils/style/anchor.d.ts +0 -5
- package/dist/runtime/utils/style/anchor.js +0 -245
- package/dist/runtime/utils/style/decoration.d.ts +0 -4
- package/dist/runtime/utils/style/decoration.js +0 -378
- package/dist/runtime/utils/style/index.d.ts +0 -2
- package/dist/runtime/utils/style/index.js +0 -2
|
@@ -1,1244 +1,94 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div
|
|
3
|
+
class="dragon-editor"
|
|
4
|
+
:class="{ '--has-menu': props.useMenuBar === true, '--mobile': editorStore.option.isMobile === true, '--hidden-parent': editorStore.status.isParentOverflowHidden === true }"
|
|
5
|
+
:data-theme="props.theme"
|
|
6
|
+
ref="$editor"
|
|
7
|
+
>
|
|
8
|
+
<MenuBar />
|
|
9
|
+
<component
|
|
10
|
+
:is="_getBody(props.modelValue, true)"
|
|
11
|
+
ref="$body"
|
|
12
|
+
/>
|
|
13
|
+
</div>
|
|
3
14
|
</template>
|
|
4
15
|
|
|
5
16
|
<script setup>
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
17
|
+
import "../scss/editor.scss";
|
|
18
|
+
import MenuBar from "./MenuBar.vue";
|
|
19
|
+
import { _getBody } from "../utils/layout";
|
|
20
|
+
import { useEditorStore } from "../store/editor";
|
|
21
|
+
import { ref, onMounted, watch, onBeforeUnmount } from "vue";
|
|
22
|
+
import { onClickOutside } from "@vueuse/core";
|
|
23
|
+
import { _createTextBlockData, _arrangementContentData, _addBlock, _addImageBlock, _checkDataIsEmpty } from "../utils/data";
|
|
24
|
+
import { _editorMountedEvent, _eidtorUnmountEvent } from "../utils/event";
|
|
25
|
+
import { _setDecoration, _setAlign } from "../utils/node";
|
|
26
|
+
const editorStore = useEditorStore();
|
|
12
27
|
const props = defineProps({
|
|
13
28
|
modelValue: { type: null, required: true },
|
|
14
29
|
useMenuBar: { type: Boolean, required: false, default: true },
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
mediaHostURL: { type: String, required: false, default: "" },
|
|
31
|
+
isMobile: { type: Boolean, required: false, default: false },
|
|
32
|
+
theme: { type: String, required: false, default: "white" },
|
|
33
|
+
codeBlockSpaces: { type: Number, required: false, default: 4 },
|
|
34
|
+
acceptImageFormat: { type: String, required: false, default: ".jpg,.jpeg,.png,.webp,.gif" },
|
|
35
|
+
anchorTagTarget: { type: String, required: false, default: "_blank" }
|
|
17
36
|
});
|
|
18
37
|
const emit = defineEmits(["update:modelValue", "uploadImageEvent"]);
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
firstData: props.modelValue,
|
|
33
|
-
screenChangePoint: props.screenChangePoint,
|
|
34
|
-
menuBarTop: 0,
|
|
35
|
-
activeStatus: {
|
|
36
|
-
addBlockMenu: false,
|
|
37
|
-
anchorInputArea: false,
|
|
38
|
-
imageResizeEvent: false
|
|
39
|
-
},
|
|
40
|
-
eventStatus: {
|
|
41
|
-
imageResizeEventStartX: 0,
|
|
42
|
-
imageResizeEventType: "left",
|
|
43
|
-
imageResizeEventEndX: 0,
|
|
44
|
-
imageResizeCurrentWidth: 0
|
|
45
|
-
},
|
|
46
|
-
controlStatus: {
|
|
47
|
-
isMobile: false,
|
|
48
|
-
hasTransformParent: false,
|
|
49
|
-
hasHiddenStyleParent: false,
|
|
50
|
-
currentBlockType: "text",
|
|
51
|
-
codeBlockTheme: "github-light",
|
|
52
|
-
codeBlockLang: "text",
|
|
53
|
-
listBlockStyle: "disc",
|
|
54
|
-
anchorTabType: "url",
|
|
55
|
-
anchorHeadingList: [],
|
|
56
|
-
anchorHref: "",
|
|
57
|
-
anchorValidation: false,
|
|
58
|
-
previousCorsorData: null,
|
|
59
|
-
$anchorInput: null,
|
|
60
|
-
$currentBlock: null,
|
|
61
|
-
$transformElement: null
|
|
62
|
-
},
|
|
63
|
-
codeBlockTheme: [
|
|
64
|
-
{
|
|
65
|
-
text: "GitHub Ligth",
|
|
66
|
-
code: "github-light"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
text: "GitHub Dark Dimmed",
|
|
70
|
-
code: "github-dark-dimmed"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
listUlType: [
|
|
74
|
-
{
|
|
75
|
-
text: "Disc",
|
|
76
|
-
code: "disc"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
text: "Square",
|
|
80
|
-
code: "square"
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
listOlType: [
|
|
84
|
-
{
|
|
85
|
-
text: "Decimal",
|
|
86
|
-
code: "decimal"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
text: "Lower-Alpha",
|
|
90
|
-
code: "lower-alpha"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
text: "Upper-Alpha",
|
|
94
|
-
code: "upper-alpha"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
text: "Lower-Roman",
|
|
98
|
-
code: "lower-roman"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
text: "Upper-Roman",
|
|
102
|
-
code: "upper-roman"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
$editor: null,
|
|
106
|
-
$body: null,
|
|
107
|
-
$controlBar: null,
|
|
108
|
-
$parentWrap: null,
|
|
109
|
-
codeToHtml,
|
|
110
|
-
emit,
|
|
111
|
-
windowClickEvent: function(event) {
|
|
112
|
-
_checkOthersideClick(event, editorStore);
|
|
113
|
-
},
|
|
114
|
-
windowResizeEvent: function(event) {
|
|
115
|
-
_windowResizeEvent(event, editorStore);
|
|
116
|
-
},
|
|
117
|
-
windowMouseUpEvent: function(event) {
|
|
118
|
-
_editorMouseupEvent(event, editorStore);
|
|
119
|
-
},
|
|
120
|
-
parentWrapScollEvent: function(event) {
|
|
121
|
-
_parentWrapScollEvent(event, editorStore);
|
|
38
|
+
const $body = ref(null);
|
|
39
|
+
const $editor = ref(null);
|
|
40
|
+
editorStore.option.isMobile = props.isMobile;
|
|
41
|
+
editorStore.option.mediaHostURL = props.mediaHostURL;
|
|
42
|
+
editorStore.option.codeBlockSpaces = props.codeBlockSpaces;
|
|
43
|
+
editorStore.option.acceptImageFormat = props.acceptImageFormat;
|
|
44
|
+
editorStore.option.anchorTagTarget = props.anchorTagTarget;
|
|
45
|
+
function updateEditorData(data) {
|
|
46
|
+
emit("update:modelValue", _arrangementContentData(data));
|
|
47
|
+
}
|
|
48
|
+
function ifEmptyUpdateData() {
|
|
49
|
+
if (props.modelValue.length === 0) {
|
|
50
|
+
emit("update:modelValue", [_createTextBlockData()]);
|
|
122
51
|
}
|
|
123
|
-
});
|
|
124
|
-
function mainStrucutre() {
|
|
125
|
-
const childList = [];
|
|
126
|
-
if (editorStore.value.useMenuBar === true) {
|
|
127
|
-
childList.push(_getMenuBarVNodeStructure(editorStore));
|
|
128
|
-
}
|
|
129
|
-
childList.push(_getBodyVNodeStructure(editorStore));
|
|
130
|
-
if (editorStore.value.controlBar.active === true) {
|
|
131
|
-
childList.push(_getControlbarVNodeStructure(editorStore));
|
|
132
|
-
}
|
|
133
|
-
return h(
|
|
134
|
-
"div",
|
|
135
|
-
{
|
|
136
|
-
class: ["dragon-editor", "js-dragon-editor", { "--has-menu": editorStore.value.useMenuBar === true }, { "--mobile": editorStore.value.controlStatus.isMobile === true }, { "--hidden-parent": editorStore.value.controlStatus.hasHiddenStyleParent === true }],
|
|
137
|
-
onMousemove: (event) => _editorMousemoveEvent(event, editorStore),
|
|
138
|
-
onMouseup: (event) => _editorMouseupEvent(event, editorStore),
|
|
139
|
-
onMouseleave: (event) => _editorMouseleaveEvent(event, editorStore),
|
|
140
|
-
onTouchmove: (event) => _editorTouchmoveEvent(event, editorStore),
|
|
141
|
-
onTouchend: (event) => _editorTouchendEvent(event, editorStore),
|
|
142
|
-
onContextmenu: (event) => _editorContextMenuEvent(event, editorStore)
|
|
143
|
-
},
|
|
144
|
-
childList
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
function addBlock(data) {
|
|
148
|
-
let type = "text";
|
|
149
|
-
switch (data.type) {
|
|
150
|
-
case "heading":
|
|
151
|
-
if (data.level === 1) {
|
|
152
|
-
type = "heading1";
|
|
153
|
-
} else if (data.level === 2) {
|
|
154
|
-
type = "heading2";
|
|
155
|
-
} else {
|
|
156
|
-
type = "heading3";
|
|
157
|
-
}
|
|
158
|
-
break;
|
|
159
|
-
case "list":
|
|
160
|
-
if (data.element === "ol") {
|
|
161
|
-
type = "ol";
|
|
162
|
-
} else {
|
|
163
|
-
type = "ul";
|
|
164
|
-
}
|
|
165
|
-
break;
|
|
166
|
-
}
|
|
167
|
-
_addBlock(type, editorStore, data);
|
|
168
|
-
}
|
|
169
|
-
function setDecoration(style) {
|
|
170
|
-
_setDecoration(`de-${style}`, editorStore);
|
|
171
52
|
}
|
|
172
|
-
function
|
|
173
|
-
|
|
53
|
+
function uploadImage(files) {
|
|
54
|
+
emit("uploadImageEvent", files);
|
|
174
55
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
56
|
+
onClickOutside($editor, () => {
|
|
57
|
+
editorStore.selectedBlockIndex = -1;
|
|
58
|
+
editorStore.selectedBlockId = "";
|
|
59
|
+
});
|
|
60
|
+
defineExpose({
|
|
61
|
+
addBlock: _addBlock,
|
|
62
|
+
addImageBlock: _addImageBlock,
|
|
63
|
+
updateLayout: _editorMountedEvent,
|
|
64
|
+
checkDataIsEmpty: _checkDataIsEmpty,
|
|
65
|
+
setDecoration: (type) => {
|
|
66
|
+
_setDecoration(`de-${type}`);
|
|
67
|
+
},
|
|
68
|
+
setAlign: _setAlign
|
|
69
|
+
});
|
|
70
|
+
watch(
|
|
71
|
+
() => props.modelValue,
|
|
72
|
+
() => {
|
|
73
|
+
editorStore.data = props.modelValue;
|
|
74
|
+
ifEmptyUpdateData();
|
|
179
75
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}, 500);
|
|
186
|
-
}
|
|
187
|
-
function checkDataEmpty(data) {
|
|
188
|
-
let suitable = false;
|
|
189
|
-
if (data !== void 0) {
|
|
190
|
-
suitable = _checkDataEmpty(data);
|
|
191
|
-
} else {
|
|
192
|
-
suitable = _checkDataEmpty(props.modelValue);
|
|
76
|
+
);
|
|
77
|
+
watch(
|
|
78
|
+
() => props.isMobile,
|
|
79
|
+
() => {
|
|
80
|
+
editorStore.option.isMobile = props.isMobile;
|
|
193
81
|
}
|
|
194
|
-
|
|
195
|
-
}
|
|
82
|
+
);
|
|
196
83
|
onMounted(() => {
|
|
197
|
-
|
|
84
|
+
ifEmptyUpdateData();
|
|
85
|
+
editorStore.element.body = $body.value;
|
|
86
|
+
editorStore.element.editor = $editor.value;
|
|
87
|
+
editorStore.fn.updateEditorData = updateEditorData;
|
|
88
|
+
editorStore.fn.uploadImage = uploadImage;
|
|
89
|
+
_editorMountedEvent();
|
|
198
90
|
});
|
|
199
91
|
onBeforeUnmount(() => {
|
|
200
|
-
_eidtorUnmountEvent(
|
|
201
|
-
});
|
|
202
|
-
defineExpose({
|
|
203
|
-
addBlock,
|
|
204
|
-
setDecoration,
|
|
205
|
-
setAlign,
|
|
206
|
-
changeEditorData,
|
|
207
|
-
updateLayout,
|
|
208
|
-
checkDataEmpty
|
|
92
|
+
_eidtorUnmountEvent();
|
|
209
93
|
});
|
|
210
94
|
</script>
|
|
211
|
-
|
|
212
|
-
<style>
|
|
213
|
-
@charset "UTF-8";
|
|
214
|
-
.dragon-editor,
|
|
215
|
-
.dragon-editor-viewer {
|
|
216
|
-
--radius-default: 4px;
|
|
217
|
-
/**
|
|
218
|
-
* Reset style start
|
|
219
|
-
*/
|
|
220
|
-
}
|
|
221
|
-
.dragon-editor h1,
|
|
222
|
-
.dragon-editor h2,
|
|
223
|
-
.dragon-editor h3,
|
|
224
|
-
.dragon-editor h4,
|
|
225
|
-
.dragon-editor h5,
|
|
226
|
-
.dragon-editor h6,
|
|
227
|
-
.dragon-editor p,
|
|
228
|
-
.dragon-editor blockquote,
|
|
229
|
-
.dragon-editor pre,
|
|
230
|
-
.dragon-editor dl,
|
|
231
|
-
.dragon-editor dd,
|
|
232
|
-
.dragon-editor ol,
|
|
233
|
-
.dragon-editor ul,
|
|
234
|
-
.dragon-editor fieldset,
|
|
235
|
-
.dragon-editor legend,
|
|
236
|
-
.dragon-editor figure,
|
|
237
|
-
.dragon-editor menu,
|
|
238
|
-
.dragon-editor hr,
|
|
239
|
-
.dragon-editor-viewer h1,
|
|
240
|
-
.dragon-editor-viewer h2,
|
|
241
|
-
.dragon-editor-viewer h3,
|
|
242
|
-
.dragon-editor-viewer h4,
|
|
243
|
-
.dragon-editor-viewer h5,
|
|
244
|
-
.dragon-editor-viewer h6,
|
|
245
|
-
.dragon-editor-viewer p,
|
|
246
|
-
.dragon-editor-viewer blockquote,
|
|
247
|
-
.dragon-editor-viewer pre,
|
|
248
|
-
.dragon-editor-viewer dl,
|
|
249
|
-
.dragon-editor-viewer dd,
|
|
250
|
-
.dragon-editor-viewer ol,
|
|
251
|
-
.dragon-editor-viewer ul,
|
|
252
|
-
.dragon-editor-viewer fieldset,
|
|
253
|
-
.dragon-editor-viewer legend,
|
|
254
|
-
.dragon-editor-viewer figure,
|
|
255
|
-
.dragon-editor-viewer menu,
|
|
256
|
-
.dragon-editor-viewer hr {
|
|
257
|
-
margin: 0;
|
|
258
|
-
padding: 0;
|
|
259
|
-
border: 0;
|
|
260
|
-
}
|
|
261
|
-
.dragon-editor table,
|
|
262
|
-
.dragon-editor th,
|
|
263
|
-
.dragon-editor td,
|
|
264
|
-
.dragon-editor-viewer table,
|
|
265
|
-
.dragon-editor-viewer th,
|
|
266
|
-
.dragon-editor-viewer td {
|
|
267
|
-
border-spacing: 0;
|
|
268
|
-
border-collapse: collapse;
|
|
269
|
-
}
|
|
270
|
-
.dragon-editor ol,
|
|
271
|
-
.dragon-editor ul,
|
|
272
|
-
.dragon-editor li,
|
|
273
|
-
.dragon-editor-viewer ol,
|
|
274
|
-
.dragon-editor-viewer ul,
|
|
275
|
-
.dragon-editor-viewer li {
|
|
276
|
-
list-style: none;
|
|
277
|
-
}
|
|
278
|
-
.dragon-editor h1,
|
|
279
|
-
.dragon-editor h2,
|
|
280
|
-
.dragon-editor h3,
|
|
281
|
-
.dragon-editor h4,
|
|
282
|
-
.dragon-editor h5,
|
|
283
|
-
.dragon-editor h6,
|
|
284
|
-
.dragon-editor-viewer h1,
|
|
285
|
-
.dragon-editor-viewer h2,
|
|
286
|
-
.dragon-editor-viewer h3,
|
|
287
|
-
.dragon-editor-viewer h4,
|
|
288
|
-
.dragon-editor-viewer h5,
|
|
289
|
-
.dragon-editor-viewer h6 {
|
|
290
|
-
font-size: inherit;
|
|
291
|
-
font-weight: normal;
|
|
292
|
-
}
|
|
293
|
-
.dragon-editor input,
|
|
294
|
-
.dragon-editor textarea,
|
|
295
|
-
.dragon-editor select,
|
|
296
|
-
.dragon-editor button,
|
|
297
|
-
.dragon-editor-viewer input,
|
|
298
|
-
.dragon-editor-viewer textarea,
|
|
299
|
-
.dragon-editor-viewer select,
|
|
300
|
-
.dragon-editor-viewer button {
|
|
301
|
-
margin: 0;
|
|
302
|
-
padding: 0;
|
|
303
|
-
border-radius: 0;
|
|
304
|
-
outline: 0;
|
|
305
|
-
font-size: inherit;
|
|
306
|
-
vertical-align: middle;
|
|
307
|
-
}
|
|
308
|
-
.dragon-editor a,
|
|
309
|
-
.dragon-editor button,
|
|
310
|
-
.dragon-editor input[type=submit],
|
|
311
|
-
.dragon-editor input[type=button],
|
|
312
|
-
.dragon-editor input[type=reset],
|
|
313
|
-
.dragon-editor-viewer a,
|
|
314
|
-
.dragon-editor-viewer button,
|
|
315
|
-
.dragon-editor-viewer input[type=submit],
|
|
316
|
-
.dragon-editor-viewer input[type=button],
|
|
317
|
-
.dragon-editor-viewer input[type=reset] {
|
|
318
|
-
border: 0;
|
|
319
|
-
background: transparent;
|
|
320
|
-
color: inherit;
|
|
321
|
-
font-size: inherit;
|
|
322
|
-
cursor: pointer;
|
|
323
|
-
}
|
|
324
|
-
.dragon-editor img,
|
|
325
|
-
.dragon-editor-viewer img {
|
|
326
|
-
border: 0;
|
|
327
|
-
vertical-align: top;
|
|
328
|
-
}
|
|
329
|
-
.dragon-editor .de-block[data-depth="1"],
|
|
330
|
-
.dragon-editor-viewer .de-block[data-depth="1"] {
|
|
331
|
-
padding-left: 30px;
|
|
332
|
-
}
|
|
333
|
-
.dragon-editor .de-block[data-depth="2"],
|
|
334
|
-
.dragon-editor-viewer .de-block[data-depth="2"] {
|
|
335
|
-
padding-left: 60px;
|
|
336
|
-
}
|
|
337
|
-
.dragon-editor .de-block[data-depth="3"],
|
|
338
|
-
.dragon-editor-viewer .de-block[data-depth="3"] {
|
|
339
|
-
padding-left: 90px;
|
|
340
|
-
}
|
|
341
|
-
.dragon-editor .de-block[data-depth="4"],
|
|
342
|
-
.dragon-editor-viewer .de-block[data-depth="4"] {
|
|
343
|
-
padding-left: 120px;
|
|
344
|
-
}
|
|
345
|
-
.dragon-editor .de-block[data-depth="5"],
|
|
346
|
-
.dragon-editor-viewer .de-block[data-depth="5"] {
|
|
347
|
-
padding-left: 150px;
|
|
348
|
-
}
|
|
349
|
-
.dragon-editor .de-block.de-list-block[data-depth="1"],
|
|
350
|
-
.dragon-editor-viewer .de-block.de-list-block[data-depth="1"] {
|
|
351
|
-
padding-left: 54px;
|
|
352
|
-
}
|
|
353
|
-
.dragon-editor .de-block.de-list-block[data-depth="2"],
|
|
354
|
-
.dragon-editor-viewer .de-block.de-list-block[data-depth="2"] {
|
|
355
|
-
padding-left: 84px;
|
|
356
|
-
}
|
|
357
|
-
.dragon-editor .de-block.de-list-block[data-depth="3"],
|
|
358
|
-
.dragon-editor-viewer .de-block.de-list-block[data-depth="3"] {
|
|
359
|
-
padding-left: 114px;
|
|
360
|
-
}
|
|
361
|
-
.dragon-editor .de-block.de-list-block[data-depth="4"],
|
|
362
|
-
.dragon-editor-viewer .de-block.de-list-block[data-depth="4"] {
|
|
363
|
-
padding-left: 144px;
|
|
364
|
-
}
|
|
365
|
-
.dragon-editor .de-block.de-list-block[data-depth="5"],
|
|
366
|
-
.dragon-editor-viewer .de-block.de-list-block[data-depth="5"] {
|
|
367
|
-
padding-left: 174px;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* 노드 스타일
|
|
372
|
-
*/
|
|
373
|
-
.dragon-editor {
|
|
374
|
-
position: relative;
|
|
375
|
-
border: 1px solid #ccc;
|
|
376
|
-
border-radius: var(--radius-default);
|
|
377
|
-
}
|
|
378
|
-
.dragon-editor.--has-menu {
|
|
379
|
-
padding-top: 35px;
|
|
380
|
-
}
|
|
381
|
-
.dragon-editor.--mobile .de-menu-bar .de-menu-wrap {
|
|
382
|
-
overflow-x: auto;
|
|
383
|
-
}
|
|
384
|
-
.dragon-editor.--mobile .de-menu-bar .de-link-exit-area {
|
|
385
|
-
left: auto;
|
|
386
|
-
right: 0;
|
|
387
|
-
}
|
|
388
|
-
.dragon-editor.--hidden-parent {
|
|
389
|
-
height: 100%;
|
|
390
|
-
box-sizing: border-box;
|
|
391
|
-
}
|
|
392
|
-
.dragon-editor.--hidden-parent .de-body {
|
|
393
|
-
height: 100%;
|
|
394
|
-
overflow-y: auto;
|
|
395
|
-
box-sizing: border-box;
|
|
396
|
-
}
|
|
397
|
-
.dragon-editor .de-body {
|
|
398
|
-
padding: 16px 20px;
|
|
399
|
-
line-height: 1.6;
|
|
400
|
-
}
|
|
401
|
-
.dragon-editor .de-menu-bar {
|
|
402
|
-
position: absolute;
|
|
403
|
-
top: 0;
|
|
404
|
-
left: 0;
|
|
405
|
-
right: 0;
|
|
406
|
-
height: 34px;
|
|
407
|
-
background: #fff;
|
|
408
|
-
border-bottom: 1px solid #ccc;
|
|
409
|
-
border-radius: var(--radius-default) var(--radius-default) 0 0;
|
|
410
|
-
z-index: 10;
|
|
411
|
-
}
|
|
412
|
-
.dragon-editor .de-menu-bar .de-menu-wrap {
|
|
413
|
-
display: flex;
|
|
414
|
-
overflow-x: auto;
|
|
415
|
-
}
|
|
416
|
-
.dragon-editor .de-menu-bar .de-col {
|
|
417
|
-
display: flex;
|
|
418
|
-
position: relative;
|
|
419
|
-
border-right: 1px solid #ccc;
|
|
420
|
-
}
|
|
421
|
-
.dragon-editor .de-menu-bar .de-col:last-child {
|
|
422
|
-
border-right: 0;
|
|
423
|
-
}
|
|
424
|
-
.dragon-editor .de-menu-bar .de-menu {
|
|
425
|
-
display: flex;
|
|
426
|
-
justify-content: center;
|
|
427
|
-
align-items: center;
|
|
428
|
-
min-width: 34px;
|
|
429
|
-
height: 34px;
|
|
430
|
-
cursor: pointer;
|
|
431
|
-
}
|
|
432
|
-
.dragon-editor .de-menu-bar .de-menu.--disabled .de-path {
|
|
433
|
-
fill: #ccc;
|
|
434
|
-
}
|
|
435
|
-
.dragon-editor .de-menu-bar .de-menu .de-icon {
|
|
436
|
-
width: 16px;
|
|
437
|
-
height: 16px;
|
|
438
|
-
}
|
|
439
|
-
.dragon-editor .de-menu-bar .de-menu.--lastchild {
|
|
440
|
-
border-right: 0;
|
|
441
|
-
}
|
|
442
|
-
.dragon-editor .de-menu-bar .de-menu .de-path {
|
|
443
|
-
fill: #333;
|
|
444
|
-
}
|
|
445
|
-
.dragon-editor .de-menu-bar .de-menu .de-path.--red {
|
|
446
|
-
fill: #dd0000;
|
|
447
|
-
}
|
|
448
|
-
.dragon-editor .de-menu-bar .de-block-menu-area {
|
|
449
|
-
display: none;
|
|
450
|
-
position: absolute;
|
|
451
|
-
top: 35px;
|
|
452
|
-
left: 0;
|
|
453
|
-
width: 120px;
|
|
454
|
-
background: #fff;
|
|
455
|
-
border-width: 0 1px 1px 0;
|
|
456
|
-
border-style: solid;
|
|
457
|
-
border-color: #ccc;
|
|
458
|
-
border-bottom-right-radius: var(--radius-default);
|
|
459
|
-
z-index: 1000;
|
|
460
|
-
}
|
|
461
|
-
.dragon-editor .de-menu-bar .de-block-menu-area.--active {
|
|
462
|
-
display: block;
|
|
463
|
-
}
|
|
464
|
-
.dragon-editor .de-menu-bar .de-block-menu-area .de-list {
|
|
465
|
-
display: flex;
|
|
466
|
-
flex-direction: column;
|
|
467
|
-
gap: 5px;
|
|
468
|
-
padding: 5px;
|
|
469
|
-
}
|
|
470
|
-
.dragon-editor .de-menu-bar .de-block-menu-area .de-add-block {
|
|
471
|
-
font-size: 0.875em;
|
|
472
|
-
line-height: 1.6;
|
|
473
|
-
}
|
|
474
|
-
.dragon-editor .de-menu-bar .de-link-exit-area {
|
|
475
|
-
display: none;
|
|
476
|
-
position: absolute;
|
|
477
|
-
top: calc(100% + 1px);
|
|
478
|
-
left: 205px;
|
|
479
|
-
width: 200px;
|
|
480
|
-
background: #fff;
|
|
481
|
-
border: 1px solid #ccc;
|
|
482
|
-
border-top: 0;
|
|
483
|
-
border-radius: 0 0 var(--radius-default) var(--radius-default);
|
|
484
|
-
z-index: 1000;
|
|
485
|
-
}
|
|
486
|
-
.dragon-editor .de-menu-bar .de-link-exit-area.--active {
|
|
487
|
-
display: block;
|
|
488
|
-
}
|
|
489
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-btn-area {
|
|
490
|
-
display: flex;
|
|
491
|
-
border-bottom: 1px solid #ccc;
|
|
492
|
-
}
|
|
493
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-btn-area .de-btn {
|
|
494
|
-
flex: 1;
|
|
495
|
-
height: 24px;
|
|
496
|
-
color: #999;
|
|
497
|
-
}
|
|
498
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-btn-area .de-btn.--active {
|
|
499
|
-
color: #333;
|
|
500
|
-
}
|
|
501
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-link-text-area {
|
|
502
|
-
display: flex;
|
|
503
|
-
column-gap: 10px;
|
|
504
|
-
padding: 4px;
|
|
505
|
-
}
|
|
506
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-link-text-area .de-input {
|
|
507
|
-
flex: 1;
|
|
508
|
-
min-width: 0;
|
|
509
|
-
height: 20px;
|
|
510
|
-
padding: 0 8px;
|
|
511
|
-
border: 1px solid #ccc;
|
|
512
|
-
box-sizing: border-box;
|
|
513
|
-
}
|
|
514
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-link-text-area .de-input.--red {
|
|
515
|
-
border-color: red;
|
|
516
|
-
}
|
|
517
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-link-text-area .de-btn {
|
|
518
|
-
min-width: 50px;
|
|
519
|
-
height: 20px;
|
|
520
|
-
}
|
|
521
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-link-heading-area {
|
|
522
|
-
display: flex;
|
|
523
|
-
flex-direction: column;
|
|
524
|
-
max-height: 150px;
|
|
525
|
-
padding: 8px;
|
|
526
|
-
box-sizing: border-box;
|
|
527
|
-
overflow-y: auto;
|
|
528
|
-
}
|
|
529
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-link-heading-area .de-btn {
|
|
530
|
-
padding: 2px 4px;
|
|
531
|
-
text-align: left;
|
|
532
|
-
border-radius: var(--radius-default);
|
|
533
|
-
}
|
|
534
|
-
.dragon-editor .de-menu-bar .de-link-exit-area .de-link-heading-area .de-btn:hover {
|
|
535
|
-
background: #f1f1f1;
|
|
536
|
-
}
|
|
537
|
-
.dragon-editor .de-controlbar {
|
|
538
|
-
display: flex;
|
|
539
|
-
position: fixed;
|
|
540
|
-
height: 34px;
|
|
541
|
-
background: #fff;
|
|
542
|
-
border: 1px solid #ccc;
|
|
543
|
-
border-radius: var(--radius-default);
|
|
544
|
-
transform: translateX(-50%);
|
|
545
|
-
z-index: 20;
|
|
546
|
-
}
|
|
547
|
-
.dragon-editor .de-controlbar .de-col {
|
|
548
|
-
display: flex;
|
|
549
|
-
align-items: center;
|
|
550
|
-
column-gap: 6px;
|
|
551
|
-
padding: 0 10px;
|
|
552
|
-
border-right: 1px solid #ccc;
|
|
553
|
-
}
|
|
554
|
-
.dragon-editor .de-controlbar .de-col:last-child {
|
|
555
|
-
border-right: 0;
|
|
556
|
-
}
|
|
557
|
-
.dragon-editor .de-controlbar .de-col .de-selector {
|
|
558
|
-
height: 100%;
|
|
559
|
-
border: 0;
|
|
560
|
-
}
|
|
561
|
-
.dragon-editor .de-controlbar .de-col .de-name {
|
|
562
|
-
width: 70px;
|
|
563
|
-
}
|
|
564
|
-
.dragon-editor .de-block {
|
|
565
|
-
width: 100%;
|
|
566
|
-
padding: 2px 0;
|
|
567
|
-
box-sizing: border-box;
|
|
568
|
-
}
|
|
569
|
-
.dragon-editor .de-text-block {
|
|
570
|
-
min-height: 1.6em;
|
|
571
|
-
word-break: break-all;
|
|
572
|
-
outline: 0;
|
|
573
|
-
}
|
|
574
|
-
.dragon-editor .de-text-block:empty:hover::before, .dragon-editor .de-text-block:empty:focus::before {
|
|
575
|
-
display: inline;
|
|
576
|
-
content: "Type a paragraph";
|
|
577
|
-
color: #ccc;
|
|
578
|
-
cursor: text;
|
|
579
|
-
}
|
|
580
|
-
.dragon-editor .de-heading-block {
|
|
581
|
-
min-height: 1.6em;
|
|
582
|
-
font-weight: bold;
|
|
583
|
-
word-break: break-all;
|
|
584
|
-
outline: 0;
|
|
585
|
-
}
|
|
586
|
-
.dragon-editor .de-heading-block[data-level="1"] {
|
|
587
|
-
font-size: 2em;
|
|
588
|
-
}
|
|
589
|
-
.dragon-editor .de-heading-block[data-level="2"] {
|
|
590
|
-
font-size: 1.5em;
|
|
591
|
-
}
|
|
592
|
-
.dragon-editor .de-heading-block[data-level="3"] {
|
|
593
|
-
font-size: 1.17em;
|
|
594
|
-
}
|
|
595
|
-
.dragon-editor .de-heading-block:empty:hover::before, .dragon-editor .de-heading-block:empty:focus::before {
|
|
596
|
-
display: inline;
|
|
597
|
-
content: "Type a Heading";
|
|
598
|
-
color: #ccc;
|
|
599
|
-
cursor: text;
|
|
600
|
-
}
|
|
601
|
-
.dragon-editor .de-list-block {
|
|
602
|
-
display: flex;
|
|
603
|
-
flex-direction: column;
|
|
604
|
-
row-gap: 4px;
|
|
605
|
-
padding-left: 24px;
|
|
606
|
-
}
|
|
607
|
-
.dragon-editor .de-list-block[data-style=disc] {
|
|
608
|
-
list-style: disc;
|
|
609
|
-
}
|
|
610
|
-
.dragon-editor .de-list-block[data-style=square] {
|
|
611
|
-
list-style: square;
|
|
612
|
-
}
|
|
613
|
-
.dragon-editor .de-list-block[data-style=decimal] {
|
|
614
|
-
list-style: decimal;
|
|
615
|
-
}
|
|
616
|
-
.dragon-editor .de-list-block[data-style=lower-alpha] {
|
|
617
|
-
list-style: lower-alpha;
|
|
618
|
-
}
|
|
619
|
-
.dragon-editor .de-list-block[data-style=upper-alpha] {
|
|
620
|
-
list-style: upper-alpha;
|
|
621
|
-
}
|
|
622
|
-
.dragon-editor .de-list-block[data-style=lower-roman] {
|
|
623
|
-
list-style: lower-roman;
|
|
624
|
-
}
|
|
625
|
-
.dragon-editor .de-list-block[data-style=upper-roman] {
|
|
626
|
-
list-style: upper-roman;
|
|
627
|
-
}
|
|
628
|
-
.dragon-editor .de-list-block .de-item {
|
|
629
|
-
min-height: 1.6em;
|
|
630
|
-
word-break: break-all;
|
|
631
|
-
outline: 0;
|
|
632
|
-
list-style: inherit;
|
|
633
|
-
}
|
|
634
|
-
.dragon-editor .de-list-block .de-item:empty:hover::before, .dragon-editor .de-list-block .de-item:empty:focus::before {
|
|
635
|
-
display: inline;
|
|
636
|
-
content: "Type a list item";
|
|
637
|
-
color: #ccc;
|
|
638
|
-
cursor: text;
|
|
639
|
-
}
|
|
640
|
-
.dragon-editor .de-image-block {
|
|
641
|
-
display: flex;
|
|
642
|
-
align-items: center;
|
|
643
|
-
flex-direction: column;
|
|
644
|
-
row-gap: 8px;
|
|
645
|
-
}
|
|
646
|
-
.dragon-editor .de-image-block.de-align-left {
|
|
647
|
-
align-items: flex-start;
|
|
648
|
-
}
|
|
649
|
-
.dragon-editor .de-image-block.de-align-left .de-caption {
|
|
650
|
-
text-align: left;
|
|
651
|
-
}
|
|
652
|
-
.dragon-editor .de-image-block.de-align-right {
|
|
653
|
-
align-items: flex-end;
|
|
654
|
-
}
|
|
655
|
-
.dragon-editor .de-image-block.de-align-right .de-caption {
|
|
656
|
-
text-align: right;
|
|
657
|
-
}
|
|
658
|
-
.dragon-editor .de-image-block .de-image-area {
|
|
659
|
-
position: relative;
|
|
660
|
-
max-width: 25%;
|
|
661
|
-
}
|
|
662
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="25"] {
|
|
663
|
-
max-width: 25%;
|
|
664
|
-
}
|
|
665
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="26"] {
|
|
666
|
-
max-width: 26%;
|
|
667
|
-
}
|
|
668
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="27"] {
|
|
669
|
-
max-width: 27%;
|
|
670
|
-
}
|
|
671
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="28"] {
|
|
672
|
-
max-width: 28%;
|
|
673
|
-
}
|
|
674
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="29"] {
|
|
675
|
-
max-width: 29%;
|
|
676
|
-
}
|
|
677
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="30"] {
|
|
678
|
-
max-width: 30%;
|
|
679
|
-
}
|
|
680
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="31"] {
|
|
681
|
-
max-width: 31%;
|
|
682
|
-
}
|
|
683
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="32"] {
|
|
684
|
-
max-width: 32%;
|
|
685
|
-
}
|
|
686
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="33"] {
|
|
687
|
-
max-width: 33%;
|
|
688
|
-
}
|
|
689
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="34"] {
|
|
690
|
-
max-width: 34%;
|
|
691
|
-
}
|
|
692
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="35"] {
|
|
693
|
-
max-width: 35%;
|
|
694
|
-
}
|
|
695
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="36"] {
|
|
696
|
-
max-width: 36%;
|
|
697
|
-
}
|
|
698
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="37"] {
|
|
699
|
-
max-width: 37%;
|
|
700
|
-
}
|
|
701
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="38"] {
|
|
702
|
-
max-width: 38%;
|
|
703
|
-
}
|
|
704
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="39"] {
|
|
705
|
-
max-width: 39%;
|
|
706
|
-
}
|
|
707
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="40"] {
|
|
708
|
-
max-width: 40%;
|
|
709
|
-
}
|
|
710
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="41"] {
|
|
711
|
-
max-width: 41%;
|
|
712
|
-
}
|
|
713
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="42"] {
|
|
714
|
-
max-width: 42%;
|
|
715
|
-
}
|
|
716
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="43"] {
|
|
717
|
-
max-width: 43%;
|
|
718
|
-
}
|
|
719
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="44"] {
|
|
720
|
-
max-width: 44%;
|
|
721
|
-
}
|
|
722
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="45"] {
|
|
723
|
-
max-width: 45%;
|
|
724
|
-
}
|
|
725
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="46"] {
|
|
726
|
-
max-width: 46%;
|
|
727
|
-
}
|
|
728
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="47"] {
|
|
729
|
-
max-width: 47%;
|
|
730
|
-
}
|
|
731
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="48"] {
|
|
732
|
-
max-width: 48%;
|
|
733
|
-
}
|
|
734
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="49"] {
|
|
735
|
-
max-width: 49%;
|
|
736
|
-
}
|
|
737
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="50"] {
|
|
738
|
-
max-width: 50%;
|
|
739
|
-
}
|
|
740
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="51"] {
|
|
741
|
-
max-width: 51%;
|
|
742
|
-
}
|
|
743
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="52"] {
|
|
744
|
-
max-width: 52%;
|
|
745
|
-
}
|
|
746
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="53"] {
|
|
747
|
-
max-width: 53%;
|
|
748
|
-
}
|
|
749
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="54"] {
|
|
750
|
-
max-width: 54%;
|
|
751
|
-
}
|
|
752
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="55"] {
|
|
753
|
-
max-width: 55%;
|
|
754
|
-
}
|
|
755
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="56"] {
|
|
756
|
-
max-width: 56%;
|
|
757
|
-
}
|
|
758
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="57"] {
|
|
759
|
-
max-width: 57%;
|
|
760
|
-
}
|
|
761
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="58"] {
|
|
762
|
-
max-width: 58%;
|
|
763
|
-
}
|
|
764
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="59"] {
|
|
765
|
-
max-width: 59%;
|
|
766
|
-
}
|
|
767
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="60"] {
|
|
768
|
-
max-width: 60%;
|
|
769
|
-
}
|
|
770
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="61"] {
|
|
771
|
-
max-width: 61%;
|
|
772
|
-
}
|
|
773
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="62"] {
|
|
774
|
-
max-width: 62%;
|
|
775
|
-
}
|
|
776
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="63"] {
|
|
777
|
-
max-width: 63%;
|
|
778
|
-
}
|
|
779
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="64"] {
|
|
780
|
-
max-width: 64%;
|
|
781
|
-
}
|
|
782
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="65"] {
|
|
783
|
-
max-width: 65%;
|
|
784
|
-
}
|
|
785
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="66"] {
|
|
786
|
-
max-width: 66%;
|
|
787
|
-
}
|
|
788
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="67"] {
|
|
789
|
-
max-width: 67%;
|
|
790
|
-
}
|
|
791
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="68"] {
|
|
792
|
-
max-width: 68%;
|
|
793
|
-
}
|
|
794
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="69"] {
|
|
795
|
-
max-width: 69%;
|
|
796
|
-
}
|
|
797
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="70"] {
|
|
798
|
-
max-width: 70%;
|
|
799
|
-
}
|
|
800
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="71"] {
|
|
801
|
-
max-width: 71%;
|
|
802
|
-
}
|
|
803
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="72"] {
|
|
804
|
-
max-width: 72%;
|
|
805
|
-
}
|
|
806
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="73"] {
|
|
807
|
-
max-width: 73%;
|
|
808
|
-
}
|
|
809
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="74"] {
|
|
810
|
-
max-width: 74%;
|
|
811
|
-
}
|
|
812
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="75"] {
|
|
813
|
-
max-width: 75%;
|
|
814
|
-
}
|
|
815
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="76"] {
|
|
816
|
-
max-width: 76%;
|
|
817
|
-
}
|
|
818
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="77"] {
|
|
819
|
-
max-width: 77%;
|
|
820
|
-
}
|
|
821
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="78"] {
|
|
822
|
-
max-width: 78%;
|
|
823
|
-
}
|
|
824
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="79"] {
|
|
825
|
-
max-width: 79%;
|
|
826
|
-
}
|
|
827
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="80"] {
|
|
828
|
-
max-width: 80%;
|
|
829
|
-
}
|
|
830
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="81"] {
|
|
831
|
-
max-width: 81%;
|
|
832
|
-
}
|
|
833
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="82"] {
|
|
834
|
-
max-width: 82%;
|
|
835
|
-
}
|
|
836
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="83"] {
|
|
837
|
-
max-width: 83%;
|
|
838
|
-
}
|
|
839
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="84"] {
|
|
840
|
-
max-width: 84%;
|
|
841
|
-
}
|
|
842
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="85"] {
|
|
843
|
-
max-width: 85%;
|
|
844
|
-
}
|
|
845
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="86"] {
|
|
846
|
-
max-width: 86%;
|
|
847
|
-
}
|
|
848
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="87"] {
|
|
849
|
-
max-width: 87%;
|
|
850
|
-
}
|
|
851
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="88"] {
|
|
852
|
-
max-width: 88%;
|
|
853
|
-
}
|
|
854
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="89"] {
|
|
855
|
-
max-width: 89%;
|
|
856
|
-
}
|
|
857
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="90"] {
|
|
858
|
-
max-width: 90%;
|
|
859
|
-
}
|
|
860
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="91"] {
|
|
861
|
-
max-width: 91%;
|
|
862
|
-
}
|
|
863
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="92"] {
|
|
864
|
-
max-width: 92%;
|
|
865
|
-
}
|
|
866
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="93"] {
|
|
867
|
-
max-width: 93%;
|
|
868
|
-
}
|
|
869
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="94"] {
|
|
870
|
-
max-width: 94%;
|
|
871
|
-
}
|
|
872
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="95"] {
|
|
873
|
-
max-width: 95%;
|
|
874
|
-
}
|
|
875
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="96"] {
|
|
876
|
-
max-width: 96%;
|
|
877
|
-
}
|
|
878
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="97"] {
|
|
879
|
-
max-width: 97%;
|
|
880
|
-
}
|
|
881
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="98"] {
|
|
882
|
-
max-width: 98%;
|
|
883
|
-
}
|
|
884
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="99"] {
|
|
885
|
-
max-width: 99%;
|
|
886
|
-
}
|
|
887
|
-
.dragon-editor .de-image-block .de-image-area[data-maxwidth="100"] {
|
|
888
|
-
max-width: 100%;
|
|
889
|
-
}
|
|
890
|
-
.dragon-editor .de-image-block .de-image-area .de-img {
|
|
891
|
-
width: 100%;
|
|
892
|
-
height: auto;
|
|
893
|
-
border-radius: var(--radius-default);
|
|
894
|
-
}
|
|
895
|
-
.dragon-editor .de-image-block .de-image-area .de-btn {
|
|
896
|
-
position: absolute;
|
|
897
|
-
top: 50%;
|
|
898
|
-
width: 8px;
|
|
899
|
-
height: 15%;
|
|
900
|
-
background: #f1f1f1;
|
|
901
|
-
border: 1px solid #ccc;
|
|
902
|
-
border-radius: var(--radius-default);
|
|
903
|
-
transform: translate(-50%, -50%);
|
|
904
|
-
cursor: col-resize;
|
|
905
|
-
user-select: none;
|
|
906
|
-
z-index: 100;
|
|
907
|
-
}
|
|
908
|
-
.dragon-editor .de-image-block .de-image-area .de-btn.de-btn-left {
|
|
909
|
-
left: 0;
|
|
910
|
-
}
|
|
911
|
-
.dragon-editor .de-image-block .de-image-area .de-btn.de-btn-right {
|
|
912
|
-
left: 100%;
|
|
913
|
-
}
|
|
914
|
-
.dragon-editor .de-image-block .de-caption {
|
|
915
|
-
width: 100%;
|
|
916
|
-
min-height: 1.6em;
|
|
917
|
-
color: #909090;
|
|
918
|
-
text-align: center;
|
|
919
|
-
word-break: break-all;
|
|
920
|
-
outline: 0;
|
|
921
|
-
}
|
|
922
|
-
.dragon-editor .de-image-block .de-caption:empty:hover::before, .dragon-editor .de-image-block .de-caption:empty:focus::before {
|
|
923
|
-
display: inline;
|
|
924
|
-
content: "Type a caption";
|
|
925
|
-
color: #ccc;
|
|
926
|
-
cursor: text;
|
|
927
|
-
}
|
|
928
|
-
.dragon-editor .de-code-block {
|
|
929
|
-
display: flex;
|
|
930
|
-
flex-wrap: wrap;
|
|
931
|
-
margin: 2px 0;
|
|
932
|
-
padding: 0;
|
|
933
|
-
border-radius: var(--radius-default);
|
|
934
|
-
overflow: hidden;
|
|
935
|
-
}
|
|
936
|
-
.dragon-editor .de-code-block .de-filename {
|
|
937
|
-
flex: 1;
|
|
938
|
-
max-width: calc(100% - 120px);
|
|
939
|
-
padding: 5px 10px;
|
|
940
|
-
box-sizing: border-box;
|
|
941
|
-
outline: 0;
|
|
942
|
-
}
|
|
943
|
-
.dragon-editor .de-code-block .de-filename:empty:hover::before, .dragon-editor .de-code-block .de-filename:empty:focus::before {
|
|
944
|
-
display: inline;
|
|
945
|
-
content: "Type a Filename";
|
|
946
|
-
cursor: text;
|
|
947
|
-
}
|
|
948
|
-
.dragon-editor .de-code-block .de-language {
|
|
949
|
-
width: 120px;
|
|
950
|
-
text-align: right;
|
|
951
|
-
padding: 5px 10px;
|
|
952
|
-
box-sizing: border-box;
|
|
953
|
-
}
|
|
954
|
-
.dragon-editor .de-code-block .de-pre {
|
|
955
|
-
width: 100%;
|
|
956
|
-
padding: 10px;
|
|
957
|
-
box-sizing: border-box;
|
|
958
|
-
white-space: pre-wrap;
|
|
959
|
-
}
|
|
960
|
-
.dragon-editor .de-code-block .de-pre .de-code-content {
|
|
961
|
-
display: block;
|
|
962
|
-
min-height: 1.6em;
|
|
963
|
-
width: 100%;
|
|
964
|
-
font-family: Inconsolata, monospace, sans-serif;
|
|
965
|
-
word-break: break-word;
|
|
966
|
-
outline: 0;
|
|
967
|
-
}
|
|
968
|
-
.dragon-editor .de-code-block .de-pre .de-code-content:empty:hover::before, .dragon-editor .de-code-block .de-pre .de-code-content:empty:focus::before {
|
|
969
|
-
display: inline;
|
|
970
|
-
content: "Type a Code";
|
|
971
|
-
cursor: text;
|
|
972
|
-
}
|
|
973
|
-
.dragon-editor .de-code-block[data-theme=github-light] {
|
|
974
|
-
color: #24292e;
|
|
975
|
-
background: #f1f1f1;
|
|
976
|
-
}
|
|
977
|
-
.dragon-editor .de-code-block[data-theme=github-light] .de-filename {
|
|
978
|
-
color: #24292e;
|
|
979
|
-
background: #ccc;
|
|
980
|
-
}
|
|
981
|
-
.dragon-editor .de-code-block[data-theme=github-light] .de-filename:empty:hover::before, .dragon-editor .de-code-block[data-theme=github-light] .de-filename:empty:focus::before {
|
|
982
|
-
color: #8b8d8f;
|
|
983
|
-
}
|
|
984
|
-
.dragon-editor .de-code-block[data-theme=github-light] .de-language {
|
|
985
|
-
color: #24292e;
|
|
986
|
-
background: #ccc;
|
|
987
|
-
}
|
|
988
|
-
.dragon-editor .de-code-block[data-theme=github-light] .de-language:empty:hover::before, .dragon-editor .de-code-block[data-theme=github-light] .de-language:empty:focus::before {
|
|
989
|
-
color: #8b8d8f;
|
|
990
|
-
}
|
|
991
|
-
.dragon-editor .de-code-block[data-theme=github-light] .de-code-content:empty:hover::before, .dragon-editor .de-code-block[data-theme=github-light] .de-code-content:empty:focus::before {
|
|
992
|
-
color: #8b8d8f;
|
|
993
|
-
}
|
|
994
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-doctag,
|
|
995
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-keyword,
|
|
996
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-meta .hljs-keyword,
|
|
997
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-template-tag,
|
|
998
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-template-variable,
|
|
999
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-type,
|
|
1000
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-variable.language_ {
|
|
1001
|
-
/* prettylights-syntax-keyword */
|
|
1002
|
-
color: #d73a49;
|
|
1003
|
-
}
|
|
1004
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-title,
|
|
1005
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-title.class_,
|
|
1006
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-title.class_.inherited__,
|
|
1007
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-title.function_ {
|
|
1008
|
-
/* prettylights-syntax-entity */
|
|
1009
|
-
color: #6f42c1;
|
|
1010
|
-
}
|
|
1011
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-attr,
|
|
1012
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-attribute,
|
|
1013
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-literal,
|
|
1014
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-meta,
|
|
1015
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-number,
|
|
1016
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-operator,
|
|
1017
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-variable,
|
|
1018
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-selector-attr,
|
|
1019
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-selector-class,
|
|
1020
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-selector-id {
|
|
1021
|
-
/* prettylights-syntax-constant */
|
|
1022
|
-
color: #005cc5;
|
|
1023
|
-
}
|
|
1024
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-regexp,
|
|
1025
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-string,
|
|
1026
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-meta .hljs-string {
|
|
1027
|
-
/* prettylights-syntax-string */
|
|
1028
|
-
color: #032f62;
|
|
1029
|
-
}
|
|
1030
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-built_in,
|
|
1031
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-symbol {
|
|
1032
|
-
/* prettylights-syntax-variable */
|
|
1033
|
-
color: #e36209;
|
|
1034
|
-
}
|
|
1035
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-comment,
|
|
1036
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-code,
|
|
1037
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-formula {
|
|
1038
|
-
/* prettylights-syntax-comment */
|
|
1039
|
-
color: #6a737d;
|
|
1040
|
-
}
|
|
1041
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-name,
|
|
1042
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-quote,
|
|
1043
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-selector-tag,
|
|
1044
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-selector-pseudo {
|
|
1045
|
-
/* prettylights-syntax-entity-tag */
|
|
1046
|
-
color: #22863a;
|
|
1047
|
-
}
|
|
1048
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-subst {
|
|
1049
|
-
/* prettylights-syntax-storage-modifier-import */
|
|
1050
|
-
color: #24292e;
|
|
1051
|
-
}
|
|
1052
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-section {
|
|
1053
|
-
/* prettylights-syntax-markup-heading */
|
|
1054
|
-
color: #005cc5;
|
|
1055
|
-
font-weight: bold;
|
|
1056
|
-
}
|
|
1057
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-bullet {
|
|
1058
|
-
/* prettylights-syntax-markup-list */
|
|
1059
|
-
color: #735c0f;
|
|
1060
|
-
}
|
|
1061
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-emphasis {
|
|
1062
|
-
/* prettylights-syntax-markup-italic */
|
|
1063
|
-
color: #24292e;
|
|
1064
|
-
font-style: italic;
|
|
1065
|
-
}
|
|
1066
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-strong {
|
|
1067
|
-
/* prettylights-syntax-markup-bold */
|
|
1068
|
-
color: #24292e;
|
|
1069
|
-
font-weight: bold;
|
|
1070
|
-
}
|
|
1071
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-addition {
|
|
1072
|
-
/* prettylights-syntax-markup-inserted */
|
|
1073
|
-
color: #22863a;
|
|
1074
|
-
background-color: #f0fff4;
|
|
1075
|
-
}
|
|
1076
|
-
.dragon-editor .de-code-block[data-theme=github-light] .hljs-deletion {
|
|
1077
|
-
/* prettylights-syntax-markup-deleted */
|
|
1078
|
-
color: #b31d28;
|
|
1079
|
-
background-color: #ffeef0;
|
|
1080
|
-
}
|
|
1081
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] {
|
|
1082
|
-
color: #adbac7;
|
|
1083
|
-
background: #22272e;
|
|
1084
|
-
}
|
|
1085
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-filename {
|
|
1086
|
-
color: #adbac7;
|
|
1087
|
-
background: #494e54;
|
|
1088
|
-
}
|
|
1089
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-filename:empty:hover::before, .dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-filename:empty:focus::before {
|
|
1090
|
-
color: #96a0aa;
|
|
1091
|
-
}
|
|
1092
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-language {
|
|
1093
|
-
color: #adbac7;
|
|
1094
|
-
background: #494e54;
|
|
1095
|
-
}
|
|
1096
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-language:empty:hover::before, .dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-language:empty:focus::before {
|
|
1097
|
-
color: #96a0aa;
|
|
1098
|
-
}
|
|
1099
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-code-content:empty:hover::before, .dragon-editor .de-code-block[data-theme=github-dark-dimmed] .de-code-content:empty:focus::before {
|
|
1100
|
-
color: #96a0aa;
|
|
1101
|
-
}
|
|
1102
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-doctag,
|
|
1103
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-keyword,
|
|
1104
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-meta .hljs-keyword,
|
|
1105
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-template-tag,
|
|
1106
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-template-variable,
|
|
1107
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-type,
|
|
1108
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-variable.language_ {
|
|
1109
|
-
/* prettylights-syntax-keyword */
|
|
1110
|
-
color: #f47067;
|
|
1111
|
-
}
|
|
1112
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-title,
|
|
1113
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-title.class_,
|
|
1114
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-title.class_.inherited__,
|
|
1115
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-title.function_ {
|
|
1116
|
-
/* prettylights-syntax-entity */
|
|
1117
|
-
color: #dcbdfb;
|
|
1118
|
-
}
|
|
1119
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-attr,
|
|
1120
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-attribute,
|
|
1121
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-literal,
|
|
1122
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-meta,
|
|
1123
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-number,
|
|
1124
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-operator,
|
|
1125
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-variable,
|
|
1126
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-selector-attr,
|
|
1127
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-selector-class,
|
|
1128
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-selector-id {
|
|
1129
|
-
/* prettylights-syntax-constant */
|
|
1130
|
-
color: #6cb6ff;
|
|
1131
|
-
}
|
|
1132
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-regexp,
|
|
1133
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-string,
|
|
1134
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-meta .hljs-string {
|
|
1135
|
-
/* prettylights-syntax-string */
|
|
1136
|
-
color: #96d0ff;
|
|
1137
|
-
}
|
|
1138
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-built_in,
|
|
1139
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-symbol {
|
|
1140
|
-
/* prettylights-syntax-variable */
|
|
1141
|
-
color: #f69d50;
|
|
1142
|
-
}
|
|
1143
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-comment,
|
|
1144
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-code,
|
|
1145
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-formula {
|
|
1146
|
-
/* prettylights-syntax-comment */
|
|
1147
|
-
color: #768390;
|
|
1148
|
-
}
|
|
1149
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-name,
|
|
1150
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-quote,
|
|
1151
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-selector-tag,
|
|
1152
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-selector-pseudo {
|
|
1153
|
-
/* prettylights-syntax-entity-tag */
|
|
1154
|
-
color: #8ddb8c;
|
|
1155
|
-
}
|
|
1156
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-subst {
|
|
1157
|
-
/* prettylights-syntax-storage-modifier-import */
|
|
1158
|
-
color: #adbac7;
|
|
1159
|
-
}
|
|
1160
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-section {
|
|
1161
|
-
/* prettylights-syntax-markup-heading */
|
|
1162
|
-
color: #316dca;
|
|
1163
|
-
font-weight: bold;
|
|
1164
|
-
}
|
|
1165
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-bullet {
|
|
1166
|
-
/* prettylights-syntax-markup-list */
|
|
1167
|
-
color: #eac55f;
|
|
1168
|
-
}
|
|
1169
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-emphasis {
|
|
1170
|
-
/* prettylights-syntax-markup-italic */
|
|
1171
|
-
color: #adbac7;
|
|
1172
|
-
font-style: italic;
|
|
1173
|
-
}
|
|
1174
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-strong {
|
|
1175
|
-
/* prettylights-syntax-markup-bold */
|
|
1176
|
-
color: #adbac7;
|
|
1177
|
-
font-weight: bold;
|
|
1178
|
-
}
|
|
1179
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-addition {
|
|
1180
|
-
/* prettylights-syntax-markup-inserted */
|
|
1181
|
-
color: #b4f1b4;
|
|
1182
|
-
background-color: #1b4721;
|
|
1183
|
-
}
|
|
1184
|
-
.dragon-editor .de-code-block[data-theme=github-dark-dimmed] .hljs-deletion {
|
|
1185
|
-
/* prettylights-syntax-markup-deleted */
|
|
1186
|
-
color: #ffd8d3;
|
|
1187
|
-
background-color: #78191b;
|
|
1188
|
-
}
|
|
1189
|
-
.dragon-editor .de-divider-block {
|
|
1190
|
-
display: flex;
|
|
1191
|
-
align-items: center;
|
|
1192
|
-
height: 20px;
|
|
1193
|
-
}
|
|
1194
|
-
.dragon-editor .de-divider-block::before {
|
|
1195
|
-
display: block;
|
|
1196
|
-
content: "";
|
|
1197
|
-
width: 100%;
|
|
1198
|
-
height: 2px;
|
|
1199
|
-
padding: 0;
|
|
1200
|
-
background: #e5e5e5;
|
|
1201
|
-
border-radius: 2px;
|
|
1202
|
-
}
|
|
1203
|
-
.dragon-editor .de-bold {
|
|
1204
|
-
font-weight: 700;
|
|
1205
|
-
}
|
|
1206
|
-
.dragon-editor .de-italic {
|
|
1207
|
-
font-style: italic;
|
|
1208
|
-
}
|
|
1209
|
-
.dragon-editor .de-underline {
|
|
1210
|
-
text-decoration: underline;
|
|
1211
|
-
}
|
|
1212
|
-
.dragon-editor .de-underline.de-strikethrough {
|
|
1213
|
-
text-decoration: underline line-through;
|
|
1214
|
-
}
|
|
1215
|
-
.dragon-editor .de-strikethrough {
|
|
1216
|
-
text-decoration: line-through;
|
|
1217
|
-
}
|
|
1218
|
-
.dragon-editor .de-strikethrough.de-underline {
|
|
1219
|
-
text-decoration: line-through underline;
|
|
1220
|
-
}
|
|
1221
|
-
.dragon-editor .de-code {
|
|
1222
|
-
display: inline-block;
|
|
1223
|
-
padding: 2px 4px;
|
|
1224
|
-
background: #f1f1f1;
|
|
1225
|
-
color: #ff0000;
|
|
1226
|
-
border-radius: 5px;
|
|
1227
|
-
}
|
|
1228
|
-
.dragon-editor .de-align-left {
|
|
1229
|
-
text-align: left;
|
|
1230
|
-
}
|
|
1231
|
-
.dragon-editor .de-align-right {
|
|
1232
|
-
text-align: right;
|
|
1233
|
-
}
|
|
1234
|
-
.dragon-editor .de-align-center {
|
|
1235
|
-
text-align: center;
|
|
1236
|
-
}
|
|
1237
|
-
.dragon-editor .de-align-justify {
|
|
1238
|
-
text-align: justify;
|
|
1239
|
-
}
|
|
1240
|
-
.dragon-editor .de-link {
|
|
1241
|
-
color: #2c95fe;
|
|
1242
|
-
text-decoration: none;
|
|
1243
|
-
}
|
|
1244
|
-
</style>
|