mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 20:38:49 +01:00
This commit is contained in:
parent
89a9ffb5f9
commit
fd0893d8d8
2 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue