Skip to content

Commit

Permalink
Merge pull request #20 from TCOTC/dev-menu-id
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC authored Sep 19, 2024
2 parents 4d5ab77 + b0f3bd8 commit 4488df4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/protyle/gutter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,13 +652,15 @@ export class Gutter {
}));
window.siyuan.menus.menu.append(new MenuItem({
icon: "iconRefresh",
id: "turnInto",
label: window.siyuan.languages.turnInto,
type: "submenu",
submenu: turnIntoSubmenu
}).element);
if (isContinue) {
window.siyuan.menus.menu.append(new MenuItem({
icon: "iconSuper",
id: "superBlock",
label: window.siyuan.languages.merge + " " + window.siyuan.languages.superBlock,
type: "submenu",
submenu: [this.turnsIntoOne({
Expand All @@ -684,6 +686,7 @@ export class Gutter {
if (!protyle.disabled) {
window.siyuan.menus.menu.append(new MenuItem({
icon: "iconSparkles",
id: "ai",
label: window.siyuan.languages.ai,
accelerator: window.siyuan.config.keymap.editor.general.ai.custom,
click() {
Expand Down Expand Up @@ -731,6 +734,7 @@ export class Gutter {
window.siyuan.menus.menu.append(new MenuItem({
label: window.siyuan.languages.copy,
icon: "iconCopy",
id: "copy",
type: "submenu",
submenu: copyMenu,
}).element);
Expand Down

0 comments on commit 4488df4

Please sign in to comment.