Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Use pointer cursors for database automation buttons https://github.com/siyuan-note/siyuan/issues/10863

Danielf441664794b5
diff --git a/app/src/protyle/render/av/automation.ts b/app/src/protyle/render/av/automation.ts
index efc83123cd..6b80331cc7 100644
--- a/app/src/protyle/render/av/automation.ts
+++ b/app/src/protyle/render/av/automation.ts
@@ -40,7 +40,7 @@ const optionHTML = (value: string, label: string, selected: string) =>
`<option value="${escapeAttr(value)}"${value === selected ? " selected" : ""}>${escapeHtml(label)}</option>`;
const iconButton = (action: string, icon: string, label: string, warning = false) =>
- `<svg class="b3-menu__action b3-menu__action--show${warning ? " b3-menu__action--warning" : ""} ariaLabel" data-action="${action}" role="button" tabindex="0" data-position="north" aria-label="${escapeAttr(label)}"><use xlink:href="#${icon}"></use></svg>`;
+ `<svg class="b3-menu__action b3-menu__action--show${warning ? " b3-menu__action--warning" : ""} fn__pointer ariaLabel" data-action="${action}" role="button" tabindex="0" data-position="north" aria-label="${escapeAttr(label)}"><use xlink:href="#${icon}"></use></svg>`;
export const openAutomationMenu = async (options: {
protyle: IProtyle,