🎨 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

@ -332,6 +332,7 @@ export const hintSlash = (key: string, protyle: IProtyle) => {
plugin.protyleSlash.forEach(slash => {
allList.push({
filter: slash.filter,
id: slash.id,
value: `plugin${Constants.ZWSP}${plugin.name}${Constants.ZWSP}${slash.id}`,
html: slash.html
});