🎨 Add data-id attribute to the buttons (#15052)

斜杠菜单中插件添加的选项、顶栏的插件菜单、顶栏的外观模式菜单,修正块引用锚文本的右键菜单

fix https://github.com/siyuan-note/siyuan/issues/12518
This commit is contained in:
Jeffrey Chen 2025-07-23 17:53:25 +08:00 committed by GitHub
parent 963cbfe15f
commit be3db79688
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 2 deletions

View file

@ -620,7 +620,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
}
});
window.siyuan.menus.menu.append(new MenuItem({
id: "iconRefresh",
id: "turnInto",
label: window.siyuan.languages.turnInto,
icon: "iconRefresh",
submenu