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 {
|
.md-editor-preview-wrapper {
|
||||||
padding: 0;
|
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"
|
ref="editorRef"
|
||||||
editorId="preview-only"
|
editorId="preview-only"
|
||||||
:modelValue="form.content"
|
:modelValue="form.content"
|
||||||
|
@onHtmlChanged="onHtmlChanged"
|
||||||
class="maxkb-md"
|
class="maxkb-md"
|
||||||
/>
|
/>
|
||||||
<!-- <span v-else class="break-all lighter">{{ form.content }}</span> -->
|
<!-- <span v-else class="break-all lighter">{{ form.content }}</span> -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user