更换backend和platform的编辑器

This commit is contained in:
2026-07-16 17:31:41 +08:00
parent 834c088aa2
commit 281c812f42
18 changed files with 2803 additions and 2643 deletions
+3 -3
View File
@@ -14,12 +14,12 @@ import { createPinia } from 'pinia'
import { useAuthStore } from './stores/auth'
// import { initTheme } from './utils/theme'
// 导入全局组件
import TiptapEditor from '@/views/components/TiptapEditor.vue';
import UmoEditor from '@/views/components/UmoEditor.vue';
const app = createApp(App)
const pinia = createPinia()
// 全局注册 TiptapEditor 组件
app.component('TiptapEditor', TiptapEditor);
// 全局注册 UmoEditor 组件
app.component('UmoEditor', UmoEditor);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component)