feat: markdown编辑器

This commit is contained in:
wangdan-fit2cloud 2024-03-14 17:36:30 +08:00
parent 2e016372f6
commit 1272a87a8b
3 changed files with 11 additions and 8 deletions

View File

@ -518,11 +518,3 @@ h4 {
}
}
}
// markdown
.ͼ1 .cm-placeholder {
color: var(--app-input-color-placeholder);
font-size: 14px;
font-weight: 400;
}

View File

@ -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;
}

View File

@ -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> -->