mirror of
https://github.com/heyman/heynote.git
synced 2024-12-22 14:40:37 +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) {
|
||||
Object.values(this.editorCache.cache).forEach(fn)
|
||||
Object.values(toRaw(this.editorCache.cache)).forEach(fn)
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user