diff --git a/app/appearance/icons/ant/icon.js b/app/appearance/icons/ant/icon.js index d7b227455..4aaa7c4c8 100644 --- a/app/appearance/icons/ant/icon.js +++ b/app/appearance/icons/ant/icon.js @@ -1,5 +1,8 @@ document.body.insertAdjacentHTML('afterbegin', ` + + + diff --git a/app/appearance/icons/ant/icon.json b/app/appearance/icons/ant/icon.json index 8737d32b7..f3e6a680e 100644 --- a/app/appearance/icons/ant/icon.json +++ b/app/appearance/icons/ant/icon.json @@ -2,5 +2,5 @@ "name": "ant", "author": "Vanessa", "url": "https://github.com/Vanessa219", - "version": "1.25.0" + "version": "1.26.0" } diff --git a/app/appearance/icons/index.html b/app/appearance/icons/index.html index 19549de14..e9bf886d4 100644 --- a/app/appearance/icons/index.html +++ b/app/appearance/icons/index.html @@ -28,6 +28,12 @@

SiYuan

+
+ + + + iconOpen +
diff --git a/app/appearance/icons/material/icon.js b/app/appearance/icons/material/icon.js index 80976c10e..f76f6a90b 100644 --- a/app/appearance/icons/material/icon.js +++ b/app/appearance/icons/material/icon.js @@ -1,5 +1,8 @@ document.body.insertAdjacentHTML('afterbegin', ` + + + diff --git a/app/appearance/icons/material/icon.json b/app/appearance/icons/material/icon.json index 0acf9352d..7b42e9998 100644 --- a/app/appearance/icons/material/icon.json +++ b/app/appearance/icons/material/icon.json @@ -2,5 +2,5 @@ "name": "material", "author": "Vanessa", "url": "https://github.com/Vanessa219", - "version": "1.25.0" + "version": "1.26.0" } diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts index 038969069..2766f1212 100644 --- a/app/src/menus/commonMenuItem.ts +++ b/app/src/menus/commonMenuItem.ts @@ -746,6 +746,7 @@ export const openMenu = (app: App, src: string, onlyMenu: boolean, showAccelerat } window.siyuan.menus.menu.append(new MenuItem({ label: window.siyuan.languages.openBy, + icon: "iconOpen", submenu }).element); }; diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 4eee1b942..429037507 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -1343,6 +1343,7 @@ export const videoMenu = (protyle: IProtyle, nodeElement: Element, type: string) if (VideoSrc) { subMenus.push({ label: window.siyuan.languages.openBy, + icon: "iconOpen", submenu: openMenu(protyle.app, VideoSrc, true, false) as IMenu[] }); } diff --git a/app/src/menus/util.ts b/app/src/menus/util.ts index 6fa16b5ad..30393941b 100644 --- a/app/src/menus/util.ts +++ b/app/src/menus/util.ts @@ -127,6 +127,7 @@ export const openEditorTab = (app: App, id: string, notebookId?: string, pathStr /// #endif window.siyuan.menus.menu.append(new MenuItem({ label: window.siyuan.languages.openBy, + icon: "iconOpen", submenu: openSubmenus, }).element); /// #endif