This commit is contained in:
Vanessa 2023-06-01 15:03:03 +08:00
parent 89a9ffb5f9
commit fd0893d8d8
2 changed files with 4 additions and 1 deletions

View file

@ -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) => {

View file

@ -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"