Skip to content

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

:bug: Use the duplicate action label in the tabs menu https://github.com/siyuan-note/siyuan/issues/17642

Daniel085d808c0edc
diff --git a/app/src/protyle/wysiwyg/tabs.ts b/app/src/protyle/wysiwyg/tabs.ts
index 9341e30d9c..9402f73e06 100644
--- a/app/src/protyle/wysiwyg/tabs.ts
+++ b/app/src/protyle/wysiwyg/tabs.ts
@@ -153,7 +153,7 @@ export const openTabsMenu = (protyle: IProtyle, tabs: HTMLElement, item: HTMLEle
getTabTitle(siblings[index + 1]).textContent || lang.tabItem),
click: () => changeTabs(protyle, [tabs], () => siblings[index + 1].after(item))});
}
- menu.addItem({icon: "iconCopy", label: lang.duplicate, click: () => {
+ menu.addItem({icon: "iconCopy", label: lang.duplicateCopy, click: () => {
const copy = item.cloneNode(true) as HTMLElement;
const ids = new Map<string, string>();
[copy, ...Array.from(copy.querySelectorAll<HTMLElement>("[data-node-id]"))].forEach(block => {