An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick:
Vanessa12ce85ca5e7e
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex 638fb7c71c..cb2da2d1a8 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -1054,6 +1054,7 @@ export const iframeMenu = (protyle: IProtyle, nodeElement: Element) => {const iframeElement = nodeElement.querySelector("iframe");let html = nodeElement.outerHTML;const subMenus: IMenu[] = [{+ iconHTML: "",label: `<div class="fn__hr--small"></div><textarea rows="1" class="b3-text-field fn__size200" placeholder="${window.siyuan.languages.link}">${iframeElement.getAttribute("src") || ""}</textarea><div class="fn__hr--small"></div>`,bind(element) {element.querySelector("textarea").addEventListener("change", (event) => {diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex fae80c6e8a..9871b6ca54 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -1130,6 +1130,7 @@ export class Gutter {icon: "iconCode",label: window.siyuan.languages.code,submenu: [{+ iconHTML: "",label: `<div class="fn__flex" style="margin-bottom: 4px"><span>${window.siyuan.languages.md31}</span><span class="fn__space fn__flex-1"></span><input type="checkbox" class="b3-switch fn__flex-center"${linewrap === "true" ? " checked" : ((window.siyuan.config.editor.codeLineWrap && linewrap !== "false") ? " checked" : "")}></div>`,bind(element) {@@ -1149,6 +1150,7 @@ export class Gutter {});}}, {+ iconHTML: "",label: `<div class="fn__flex" style="margin-bottom: 4px"><span>${window.siyuan.languages.md2}</span><span class="fn__space fn__flex-1"></span><input type="checkbox" class="b3-switch fn__flex-center"${ligatures === "true" ? " checked" : ((window.siyuan.config.editor.codeLigatures && ligatures !== "false") ? " checked" : "")}></div>`,bind(element) {@@ -1168,6 +1170,7 @@ export class Gutter {});}}, {+ iconHTML: "",label: `<div class="fn__flex" style="margin-bottom: 4px"><span>${window.siyuan.languages.md27}</span><span class="fn__space fn__flex-1"></span><input type="checkbox" class="b3-switch fn__flex-center"${linenumber === "true" ? " checked" : ((window.siyuan.config.editor.codeSyntaxHighlightLineNum && linenumber !== "false") ? " checked" : "")}></div>`,bind(element) {