mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 07:48:49 +01:00
This commit is contained in:
parent
73946e1b18
commit
8cc7752cea
2 changed files with 8 additions and 1 deletions
|
|
@ -411,6 +411,13 @@ export class Title {
|
|||
${window.siyuan.languages.createdAt} ${dayjs(response.data.ial.id.substr(0, 14)).format("YYYY-MM-DD HH:mm:ss")}`
|
||||
}).element);
|
||||
window.siyuan.menus.menu.popup(position);
|
||||
this.app?.plugins?.forEach((plugin) => {
|
||||
plugin.eventBus.emit("click-editortitleicon", {
|
||||
protyle,
|
||||
menu: window.siyuan.menus.menu,
|
||||
data: response.data,
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
2
app/src/types/index.d.ts
vendored
2
app/src/types/index.d.ts
vendored
|
|
@ -22,7 +22,7 @@ type TOperation =
|
|||
| "removeFlashcards"
|
||||
type TBazaarType = "templates" | "icons" | "widgets" | "themes" | "plugins"
|
||||
type TCardType = "doc" | "notebook" | "all"
|
||||
type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf"
|
||||
type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf" | "click-editortitleicon"
|
||||
|
||||
declare module "blueimp-md5"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue