mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -270,6 +270,9 @@ const setHTML = (options: {
|
||||
if (protyle.options.render.breadcrumb) {
|
||||
protyle.breadcrumb.render(protyle);
|
||||
}
|
||||
app.plugins.forEach(item => {
|
||||
item.eventBus.emit("loaded-protyle", protyle);
|
||||
});
|
||||
};
|
||||
|
||||
export const disabledForeverProtyle = (protyle: IProtyle) => {
|
||||
|
||||
2
app/src/types/index.d.ts
vendored
2
app/src/types/index.d.ts
vendored
@@ -23,7 +23,7 @@ type TOperation =
|
||||
type TBazaarType = "templates" | "icons" | "widgets" | "themes" | "plugins"
|
||||
type TCardType = "doc" | "notebook" | "all"
|
||||
type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf" |
|
||||
"click-editortitleicon" | "open-noneditableblock"
|
||||
"click-editortitleicon" | "open-noneditableblock" | "loaded-protyle"
|
||||
|
||||
declare module "blueimp-md5"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user