♻️ Refactor the Markdown preview theme application logic

This commit is contained in:
2025-11-21 20:20:06 +08:00
parent 339ed53c2e
commit 4e82e2f6f7
6 changed files with 71 additions and 17 deletions

View File

@@ -141,6 +141,7 @@ export const useThemeStore = defineStore('theme', () => {
const editorStore = useEditorStore();
editorStore?.applyThemeSettings();
editorStore?.applyPreviewThemeSettings();
};
return {