mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: markdown编辑器
This commit is contained in:
parent
2e016372f6
commit
1272a87a8b
|
|
@ -518,11 +518,3 @@ h4 {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// markdown
|
||||
|
||||
.ͼ1 .cm-placeholder {
|
||||
color: var(--app-input-color-placeholder);
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,3 +17,13 @@
|
|||
.md-editor-preview-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.md-editor-footer {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.ͼ1 .cm-placeholder {
|
||||
color: var(--app-input-color-placeholder);
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
ref="editorRef"
|
||||
editorId="preview-only"
|
||||
:modelValue="form.content"
|
||||
@onHtmlChanged="onHtmlChanged"
|
||||
class="maxkb-md"
|
||||
/>
|
||||
<!-- <span v-else class="break-all lighter">{{ form.content }}</span> -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue