Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16179

Vanessa2a2645d450ae
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 6712020051..ce101f8f11 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -3045,6 +3045,9 @@ export class WYSIWYG {
const blockElement = hasClosestBlock(rangeElement);
if (blockElement) {
newRange = focusBlock(blockElement, undefined, event.clientX < rect.left + parseInt(this.element.style.paddingLeft)) || newRange;
+ if (protyle.options.render.breadcrumb) {
+ protyle.breadcrumb.render(protyle, false, blockElement);
+ }
}
}
// https://github.com/siyuan-note/siyuan/issues/10357