Skip to content

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

:lipstick: https://github.com/siyuan-note/siyuan/issues/7661

Vanessa21f173e502aa
diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts
index 2d26e666d0..3519829d7d 100644
--- a/app/src/menus/commonMenuItem.ts
+++ b/app/src/menus/commonMenuItem.ts
@@ -162,6 +162,9 @@ const genAttr = (attrs: IObject, focusName = "bookmark", cb: (dialog: Dialog, rm
let notifyHTML = "";
const range = getSelection().rangeCount > 0 ? getSelection().getRangeAt(0) : null;
Object.keys(attrs).forEach(item => {
+ if ("custom-riff-decks" === item) {
+ return;
+ }
if (item === "custom-reminder-wechat") {
notifyHTML = `<label class="b3-label b3-label--noborder">
${window.siyuan.languages.wechatReminder}
@@ -294,7 +297,7 @@ const genAttr = (attrs: IObject, focusName = "bookmark", cb: (dialog: Dialog, rm
}
export const openFileAttr = (attrs: IObject, id: string, focusName = "bookmark") => {
- genAttr(attrs, focusName, (dialog, removeAttrs) => {
+ genAttr(attrs, focusName, (dialog) => {
let nodeAttrHTML = "";
let errorTip = "";
const attrsResult: IObject = {};