From 1190a1b3107cc2420593d4c2e3e3e4bb69bfc247 Mon Sep 17 00:00:00 2001 From: maomaochong-ai Date: Sun, 6 Sep 2026 20:29:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(editor):=20=E5=BA=94=E7=94=A8=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E8=87=AA=E4=B8=BE=E5=86=85=E7=BD=AE=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=20-=20=E4=BF=AE=E5=A4=8D=E5=86=B7=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E7=9B=B4=E8=BE=BE=E7=BC=96=E8=BE=91=E5=99=A8=E6=97=B6?= =?UTF-8?q?=E7=B4=A0=E6=9D=90/=E6=97=B6=E9=97=B4=E7=BA=BF=E6=8F=92?= =?UTF-8?q?=E6=A7=BD=E6=8F=90=E7=A4=BA=E6=8F=92=E4=BB=B6=E6=9C=AA=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/application.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/application.tsx b/web/src/application.tsx index 62d2c9c8e..52b71585a 100644 --- a/web/src/application.tsx +++ b/web/src/application.tsx @@ -2,6 +2,9 @@ import React from "react"; import { createRoot } from "react-dom/client"; import "antd/dist/reset.css"; import "./styles/globals.css"; +// 全局自举内置插件注册(editor-shell 等预设以模块副作用注册编辑器插槽): +// 冷启动直达编辑器时素材/时间线等插槽不再为空。 +import "@/lib/plugins/builtin"; import { RouterProvider } from "react-router"; import { AppProviders } from "@/components/layout/app-providers";