Skip to content

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

:lipstick: Simplify block type conversion tooltip https://github.com/siyuan-note/siyuan/issues/19985

Daniele0f9c0fd6776
diff --git a/app/src/protyle/toolbar/BlockType.ts b/app/src/protyle/toolbar/BlockType.ts
index 6dba79617d..5ddf9222fa 100644
--- a/app/src/protyle/toolbar/BlockType.ts
+++ b/app/src/protyle/toolbar/BlockType.ts
@@ -51,7 +51,7 @@ export const updateBlockTypeButton = (protyle: IProtyle, button: HTMLElement, ra
} else {
button.textContent = label;
}
- button.setAttribute("aria-label", `${window.siyuan.languages.turnInto} ${label}`);
+ button.setAttribute("aria-label", window.siyuan.languages.turnInto);
};
export const openBlockTypeMenu = (protyle: IProtyle, button: HTMLElement, snapshot: TTextBlockSelection,