From 29facb478759e533afbe9387a146c562ae3afe92 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Tue, 10 Sep 2024 09:55:14 +0200 Subject: [PATCH] Fix issue with changing theme and other editor settings not propagating down to the editor instances --- src/stores/editor-cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/editor-cache.js b/src/stores/editor-cache.js index 26bb186..5cf492c 100644 --- a/src/stores/editor-cache.js +++ b/src/stores/editor-cache.js @@ -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) }, }, })