Skip to content

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

:rotating_light:

Vanessa681489bc2475
diff --git a/app/src/menus/util.ts b/app/src/menus/util.ts
index a484dbb88d..69ffd579b9 100644
--- a/app/src/menus/util.ts
+++ b/app/src/menus/util.ts
@@ -185,5 +185,5 @@ export const copyPNGByLink = (link:string) => {
};
tempElement.src = link;
}
-}
+};
diff --git a/app/src/protyle/render/av/asset.ts b/app/src/protyle/render/av/asset.ts
index f21e28edea..f8e500c9e4 100644
--- a/app/src/protyle/render/av/asset.ts
+++ b/app/src/protyle/render/av/asset.ts
@@ -135,7 +135,7 @@ export const updateAssetCell = (options: {
} else {
cellValue.mAsset = mAssetValue;
}
- const avID = options.blockElement.getAttribute("data-av-id")
+ const avID = options.blockElement.getAttribute("data-av-id");
cellDoOperations.push({
action: "updateAttrViewCell",
id: cellValue.id,
@@ -248,7 +248,7 @@ ${window.siyuan.languages.title}
copyPNGByLink(linkAddress);
}
});
- menu.addSeparator()
+ menu.addSeparator();
}
menu.addItem({
icon: "iconTrashcan",
diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts
index 0dec96bd28..120ecfceb3 100644
--- a/app/src/protyle/render/av/blockAttr.ts
+++ b/app/src/protyle/render/av/blockAttr.ts
@@ -191,7 +191,7 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"]
<div class="fn__space"></div><div class="fn__space"></div>
<button data-type="addColumn" class="b3-button b3-button--outline"><svg><use xlink:href="#iconAdd"></use></svg>${window.siyuan.languages.addAttr}</button>
</div><div class="fn__hr--b"></div>`;
- html += `<div data-av-id="${table.avID}" data-node-id="${id}" data-type="NodeAttributeView">${innerHTML}</div>`
+ html += `<div data-av-id="${table.avID}" data-node-id="${id}" data-type="NodeAttributeView">${innerHTML}</div>`;
if (element.innerHTML) {
// 防止 blockElement 找不到
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 3ab8de8b78..f6bd5b3e85 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -1557,7 +1557,7 @@ export class WYSIWYG {
index = i;
return true;
}
- })
+ });
editAssetItem({
protyle,
cellElements: [avCellElement],
@@ -1567,7 +1567,7 @@ export class WYSIWYG {
name: target.tagName === "IMG" ? "" : target.textContent,
index,
rect: target.getBoundingClientRect()
- })
+ });
event.stopPropagation();
event.preventDefault();
return;