@adminforth/markdown 1.2.7 → 1.2.8
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/build.log +2 -2
- package/custom/MarkdownEditor.vue +44 -2
- package/dist/custom/MarkdownEditor.vue +44 -2
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -10,5 +10,5 @@ custom/package-lock.json
|
|
|
10
10
|
custom/package.json
|
|
11
11
|
custom/tsconfig.json
|
|
12
12
|
|
|
13
|
-
sent
|
|
14
|
-
total size is
|
|
13
|
+
sent 171,313 bytes received 115 bytes 342,856.00 bytes/sec
|
|
14
|
+
total size is 170,853 speedup is 1.00
|
|
@@ -188,7 +188,7 @@ onBeforeUnmount(() => {
|
|
|
188
188
|
|
|
189
189
|
<style lang="scss">
|
|
190
190
|
#editor [contenteditable="true"] {
|
|
191
|
-
@apply bg-transparent outline-none border-none shadow-none transition-none min-h-10 p-2
|
|
191
|
+
@apply bg-transparent outline-none border-none shadow-none transition-none min-h-10 p-2;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
#editor [contenteditable="true"].is-focused {
|
|
@@ -224,7 +224,7 @@ onBeforeUnmount(() => {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
.editor, .milkdown {
|
|
228
228
|
border-radius: 6px;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -259,4 +259,46 @@ onBeforeUnmount(() => {
|
|
|
259
259
|
.milkdown milkdown-link-edit > .link-edit {
|
|
260
260
|
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
261
261
|
}
|
|
262
|
+
|
|
263
|
+
.milkdown milkdown-code-block .cm-editor {
|
|
264
|
+
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ͼo .cm-activeLineGutter {
|
|
268
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.ͼo .cm-activeLine {
|
|
272
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.cm-content {
|
|
276
|
+
padding-left: 0px !important;
|
|
277
|
+
padding-right: 0px !important;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.milkdown milkdown-code-block .list-wrapper {
|
|
281
|
+
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.milkdown milkdown-code-block .language-list-item:hover {
|
|
285
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.milkdown milkdown-code-block .tools .language-button {
|
|
289
|
+
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.milkdown milkdown-code-block .tools .language-button:hover {
|
|
293
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.milkdown::selection {
|
|
297
|
+
background-color: #6b7280;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.ͼ4 .cm-line ::selection, .ͼ4 .cm-line::selection {
|
|
301
|
+
background-color: #6b7280 !important;
|
|
302
|
+
}
|
|
303
|
+
|
|
262
304
|
</style>
|
|
@@ -188,7 +188,7 @@ onBeforeUnmount(() => {
|
|
|
188
188
|
|
|
189
189
|
<style lang="scss">
|
|
190
190
|
#editor [contenteditable="true"] {
|
|
191
|
-
@apply bg-transparent outline-none border-none shadow-none transition-none min-h-10 p-2
|
|
191
|
+
@apply bg-transparent outline-none border-none shadow-none transition-none min-h-10 p-2;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
#editor [contenteditable="true"].is-focused {
|
|
@@ -224,7 +224,7 @@ onBeforeUnmount(() => {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
.editor, .milkdown {
|
|
228
228
|
border-radius: 6px;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -259,4 +259,46 @@ onBeforeUnmount(() => {
|
|
|
259
259
|
.milkdown milkdown-link-edit > .link-edit {
|
|
260
260
|
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
261
261
|
}
|
|
262
|
+
|
|
263
|
+
.milkdown milkdown-code-block .cm-editor {
|
|
264
|
+
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ͼo .cm-activeLineGutter {
|
|
268
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.ͼo .cm-activeLine {
|
|
272
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.cm-content {
|
|
276
|
+
padding-left: 0px !important;
|
|
277
|
+
padding-right: 0px !important;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.milkdown milkdown-code-block .list-wrapper {
|
|
281
|
+
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.milkdown milkdown-code-block .language-list-item:hover {
|
|
285
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.milkdown milkdown-code-block .tools .language-button {
|
|
289
|
+
@apply bg-gray-50 border border-gray-300 text-gray-900 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.milkdown milkdown-code-block .tools .language-button:hover {
|
|
293
|
+
@apply bg-gray-200 dark:bg-gray-600;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.milkdown::selection {
|
|
297
|
+
background-color: #6b7280;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.ͼ4 .cm-line ::selection, .ͼ4 .cm-line::selection {
|
|
301
|
+
background-color: #6b7280 !important;
|
|
302
|
+
}
|
|
303
|
+
|
|
262
304
|
</style>
|