Skip to content

Commit

Permalink
feat: 新增支持细粒度配置的常规发布
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Aug 2, 2023
1 parent 1962321 commit 0c8eedc
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions siyuan/topbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,26 @@ export class Topbar {
},
})

// 常规发布
// 批量分发
menu.addSeparator()
menu.addItem({
iconHTML: icons.iconPen,
iconHTML: `iconMove`,
label: this.pluginInstance.i18n.batchSync,
click: () => {
this.widgetInvoke.showPublisherPublishDialog()
},
})

// 常规发布
menu.addSeparator()
menu.addItem({
iconHTML: icons.iconPen,
label: this.pluginInstance.i18n.publishNormal,
click: () => {
// this.widgetInvoke.showPublisherPublishDialog()
},
})

// 扩展功能
menu.addSeparator()
menu.addItem({
Expand Down

0 comments on commit 0c8eedc

Please sign in to comment.