Skip to content

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

:rotating_light:

Vanessa01c8447d4d90
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 48828af874..ecb9b6c072 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -5,7 +5,7 @@
flex-direction: column;
box-sizing: border-box;
user-select: auto;
- overflow-x: auto;
+ overflow-x: clip;
.protyle-breadcrumb__bar {
font-size: 14px;
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index 40425819bf..0550c31f9d 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -191,15 +191,6 @@ export const avContextmenu = (protyle: IProtyle, event: MouseEvent & { detail: a
});
}
menu.addSeparator();
- if (rowIds.length === 1) {
- menu.addItem({
- icon: "iconEdit",
- label: window.siyuan.languages.edit,
- click() {
-
- }
- });
- }
const editAttrSubmenu: IMenu[] = [];
rowElement.parentElement.querySelectorAll(".av__row--header .av__cell").forEach((cellElement: HTMLElement) => {
editAttrSubmenu.push({
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index d66885e1f6..90d602e6f4 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -347,9 +347,9 @@ const updateCellValue = (protyle: IProtyle, cellElement: HTMLElement, type: TAVC
};
if (type === "number") {
oldValue.content = parseFloat(oldValue.content as string);
- oldValue.isNotEmpty = !!oldValue.content
+ oldValue.isNotEmpty = !!oldValue.content;
inputValue.content = parseFloat(inputValue.content as string);
- inputValue.isNotEmpty = !!inputValue.content
+ inputValue.isNotEmpty = !!inputValue.content;
}
transaction(protyle, [{
action: "updateAttrViewCell",
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index d37b733d30..a1e7f3e0fe 100644
--- a/app/src/protyle/render/av/col.ts
+++ b/app/src/protyle/render/av/col.ts
@@ -236,7 +236,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: HTMLElement, cellEl
id,
avID,
}]);
- })
+ });
} else {
transaction(protyle, [{
action: "addAttrViewCol",