mirror of
https://github.com/heyman/heynote.git
synced 2024-12-03 05:14:59 +01:00
Fix issue with changing theme and other editor settings not propagating down to the editor instances
This commit is contained in:
parent
487168d153
commit
88072237af
@ -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