Skip to content

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

Update onGet.ts (#11298)

Jeffrey Chen6467b3a9628c
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 97b6cd782e..691ce1098c 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -225,7 +225,7 @@ const setHTML = (options: {
protyle.app.plugins.forEach(item => {
item.eventBus.emit("loaded-protyle-dynamic", {
protyle,
- positon: options.action.includes(Constants.CB_GET_APPEND) ? "afterend" : "beforebegin"
+ position: options.action.includes(Constants.CB_GET_APPEND) ? "afterend" : "beforebegin"
});
});
return;