Skip to content

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

:rotating_light:

Vanessac89e2a6c39ca
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.ts
index 7c8ea921e0..f6ae9cdfca 100644
--- a/app/src/layout/dock/Files.ts
+++ b/app/src/layout/dock/Files.ts
@@ -780,7 +780,7 @@ export class Files extends Model {
currentPath = dirname + ".sy";
}
} else {
- const hiddenElement = liElement.querySelector(".fn__hidden")
+ const hiddenElement = liElement.querySelector(".fn__hidden");
if (hiddenElement) {
hiddenElement.classList.remove("fn__hidden");
} else {
diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts
index cee2d2207b..aeff1509ac 100644
--- a/app/src/menus/commonMenuItem.ts
+++ b/app/src/menus/commonMenuItem.ts
@@ -245,7 +245,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
</div>`,
destroyCallback() {
focusByRange(range);
- hideElements(["select"], protyle)
+ hideElements(["select"], protyle);
}
});
dialog.element.setAttribute("data-key", Constants.DIALOG_ATTR);
diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.ts
index 9762b09264..b13fbfc57d 100644
--- a/app/src/mobile/dock/MobileFiles.ts
+++ b/app/src/mobile/dock/MobileFiles.ts
@@ -293,7 +293,7 @@ export class MobileFiles extends Model {
currentPath = dirname + ".sy";
}
} else {
- const hiddenElement = liElement.querySelector(".fn__hidden")
+ const hiddenElement = liElement.querySelector(".fn__hidden");
if (hiddenElement) {
hiddenElement.classList.remove("fn__hidden");
} else {
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts
index 98dc0b1db3..8bb1110a49 100644
--- a/app/src/protyle/breadcrumb/index.ts
+++ b/app/src/protyle/breadcrumb/index.ts
@@ -8,7 +8,7 @@ import {setEditMode} from "../util/setEditMode";
import {RecordMedia} from "../util/RecordMedia";
import {hideMessage, showMessage} from "../../dialog/message";
import {uploadFiles} from "../upload";
-import {hasClosestBlock, hasClosestByAttribute, hasTopClosestByClassName} from "../util/hasClosest";
+import {hasClosestBlock, hasTopClosestByClassName} from "../util/hasClosest";
import {needSubscribe} from "../../util/needSubscribe";
import {isMobile} from "../../util/functions";
import {zoomOut} from "../../menus/protyle";
diff --git a/app/src/protyle/header/Background.ts b/app/src/protyle/header/Background.ts
index 3596215253..1691c74539 100644
--- a/app/src/protyle/header/Background.ts
+++ b/app/src/protyle/header/Background.ts
@@ -586,7 +586,7 @@ export class Background {
});
}
});
- const itemsElement = menu.element.querySelector(".b3-menu__items")
+ const itemsElement = menu.element.querySelector(".b3-menu__items");
itemsElement.setAttribute("style", "overflow: initial");
/// #if MOBILE
menu.fullscreen();
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts
index df741e8162..b57840a979 100644
--- a/app/src/protyle/wysiwyg/keydown.ts
+++ b/app/src/protyle/wysiwyg/keydown.ts
@@ -1719,7 +1719,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
if (item.element.contains(nodeElement)) {
return true;
}
- })
+ });
const id = nodeElement.getAttribute("data-node-id");
checkFold(id, (zoomIn, action) => {
openFileById({