Skip to content

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

:bug: Show the toolbar after selecting a callout title https://github.com/siyuan-note/siyuan/issues/19077

Danielbf2e45fd9684
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts
index 1846c67a1f..72b8076fcd 100644
--- a/app/src/protyle/wysiwyg/keydown.ts
+++ b/app/src/protyle/wysiwyg/keydown.ts
@@ -395,6 +395,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
if (matchHotKey("⌘A", event)) {
range.selectNodeContents(calloutTitleElement);
focusByRange(range);
+ protyle.toolbar.render(protyle, range);
event.preventDefault();
event.stopPropagation();
return;