mirror of
https://github.com/doocs/md.git
synced 2024-10-30 15:57:50 +08:00
fix: formatted document (#435)
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
fix #434
This commit is contained in:
parent
6ece687e84
commit
e032c06ba3
@ -57,8 +57,8 @@ export const useStore = defineStore(`store`, () => {
|
|||||||
// 格式化文档
|
// 格式化文档
|
||||||
const formatContent = () => {
|
const formatContent = () => {
|
||||||
formatDoc((editor.value!).getValue()).then((doc) => {
|
formatDoc((editor.value!).getValue()).then((doc) => {
|
||||||
editorContent.value = doc;
|
editorContent.value = doc
|
||||||
(editor.value!).setValue(doc)
|
toRaw(editor.value!).setValue(doc)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user