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/8683

Vanessa966e1d4a5c37
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index c32b3c0fdb..9b21467c4e 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -425,7 +425,9 @@ export class WYSIWYG {
dragElement.style.height = (dragHeight + (moveEvent.clientY - y)) + "px";
}
} else {
- dragElement.parentElement.parentElement.style.maxWidth = (parseInt(dragElement.style.width) + 10) + "px";
+ dragElement.parentElement.parentElement.style.width = (parseInt(dragElement.style.width) + 10) + "px";
+ // 历史兼容
+ dragElement.parentElement.parentElement.style.maxWidth = "";
}
};