♻️ Refactored markdown preview extension

This commit is contained in:
2025-11-24 00:09:45 +08:00
parent ad24d3a140
commit 6dff0181d2
17 changed files with 2016 additions and 1181 deletions

View File

@@ -8,7 +8,7 @@ import { getActiveNoteBlock } from '@/views/editor/extensions/codeblock/state';
import { changeCurrentBlockLanguage } from '@/views/editor/extensions/codeblock/commands';
const { t } = useI18n();
const editorStore = readonly(useEditorStore());
const editorStore = useEditorStore();
// 组件状态
const showLanguageMenu = shallowRef(false);