mirror of
https://github.com/heyman/heynote.git
synced 2025-01-03 12:38:52 +01:00
Fix issue with changing theme and other editor settings not propagating down to the editor instances
This commit is contained in:
parent
982f95a2c7
commit
29facb4787
@ -42,7 +42,7 @@ export const useEditorCacheStore = defineStore("editorCache", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
eachEditor(fn) {
|
eachEditor(fn) {
|
||||||
Object.values(this.editorCache.cache).forEach(fn)
|
Object.values(toRaw(this.editorCache.cache)).forEach(fn)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user