From d53f3aa5a054458427d8b349025899acb3d40268 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 18 Dec 2025 22:42:54 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16586 --- app/src/plugin/API.ts | 2 ++ app/src/protyle/method.ts | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts index c506f84b3..121ff0e4f 100644 --- a/app/src/plugin/API.ts +++ b/app/src/plugin/API.ts @@ -16,6 +16,7 @@ import {Constants} from "../constants"; import {Setting} from "./Setting"; import {Menu} from "./Menu"; import {Protyle} from "../protyle"; +import ProtyleMethod from "../protyle/method"; import {openMobileFileById} from "../mobile/editor"; import {lockScreen, exitSiYuan} from "../dialog/processSystem"; import {Model} from "../layout/Model"; @@ -320,6 +321,7 @@ export const API = { lockScreen, exitSiYuan, Protyle, + ProtyleMethod, Plugin, Dialog, Menu, diff --git a/app/src/protyle/method.ts b/app/src/protyle/method.ts index d9dcd8a70..e9804fa05 100644 --- a/app/src/protyle/method.ts +++ b/app/src/protyle/method.ts @@ -12,7 +12,6 @@ import { avRender } from "./render/av/render"; import "../assets/scss/export.scss"; class Protyle { - /** 对 graphviz 进行渲染 */ public static graphvizRender = graphvizRender; /** 为 element 中的代码块进行高亮渲染 */