An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: PDF 页签拖拽
Vanessa5d2be98eab70
diff --git a/app/src/editor/util.ts b/app/src/editor/util.tsindex 75225536d3..79ec0ccbc8 100644--- a/app/src/editor/util.ts+++ b/app/src/editor/util.ts@@ -534,14 +534,14 @@ export const updatePanelByEditor = (options: {}}}+ // 切换页签或关闭所有页签时,需更新对应的面板+ const models = getAllModels();+ updateOutline(models, options.protyle, options.reload);+ updateBacklinkGraph(models, options.protyle);+ options.protyle.app.plugins.forEach(item => {+ item.eventBus.emit("switch-protyle", {protyle:options.protyle});+ });}- // 切换页签或关闭所有页签时,需更新对应的面板- const models = getAllModels();- updateOutline(models, options.protyle, options.reload);- updateBacklinkGraph(models, options.protyle);- options.protyle.app.plugins.forEach(item => {- item.eventBus.emit("switch-protyle", {protyle:options.protyle});- });};export const isCurrentEditor = (blockId: string) => {