mirror of
https://github.com/doocs/md.git
synced 2024-11-24 11:00:33 +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 = () => {
|
||||
formatDoc((editor.value!).getValue()).then((doc) => {
|
||||
editorContent.value = doc;
|
||||
(editor.value!).setValue(doc)
|
||||
editorContent.value = doc
|
||||
toRaw(editor.value!).setValue(doc)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user