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 中的代码块进行高亮渲染 */