Skip to content

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

:rotating_light:

Vanessa07b4d90ac6b7
diff --git a/app/src/mobile/util/mobileAppUtil.ts b/app/src/mobile/util/mobileAppUtil.ts
index 4128b6e8c2..6ab1636cd2 100644
--- a/app/src/mobile/util/mobileAppUtil.ts
+++ b/app/src/mobile/util/mobileAppUtil.ts
@@ -25,8 +25,8 @@ export const canInput = (element: Element) => {
) && element.getAttribute("readonly") !== "readonly") {
return element;
}
- const wysisygElement = hasClosestByClassName(element, "protyle-wysiwyg", true);
- if (wysisygElement && wysisygElement.getAttribute("data-readonly") === "false") {
+ const wysiwygElement = hasClosestByClassName(element, "protyle-wysiwyg", true);
+ if (wysiwygElement && wysiwygElement.getAttribute("data-readonly") === "false") {
return hasClosestByAttribute(element, "contenteditable", "true");
}
return false;