🎨 Refactor code structure

This commit is contained in:
2025-04-25 18:34:22 +08:00
parent e87d5ec929
commit 946075f25d
4 changed files with 85 additions and 100 deletions

View File

@@ -34,6 +34,7 @@ export const useEditorStore = defineStore('editor', () => {
const editorDOM = editorView.value.dom;
if (editorDOM) {
editorDOM.style.fontSize = `${configStore.config.fontSize}px`;
editorView.value?.requestMeasure();
}
}