Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/10587

Vanessa22ec7796b5f1
diff --git a/app/src/boot/globalEvent/keydown.ts b/app/src/boot/globalEvent/keydown.ts
index af1146aa05..71625b02be 100644
--- a/app/src/boot/globalEvent/keydown.ts
+++ b/app/src/boot/globalEvent/keydown.ts
@@ -315,6 +315,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
transaction(protyle, [{
action: "insertAttrViewBlock",
avID,
+ ignoreFillFilter: true,
srcIDs: sourceIds,
isDetached: false,
blockID: listItemElement.dataset.nodeId
@@ -348,6 +349,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
transaction(protyle, [{
action: "insertAttrViewBlock",
avID,
+ ignoreFillFilter: true,
srcIDs: sourceIds,
isDetached: false,
blockID: listItemElement.dataset.blockId
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts
index 111b5ea3df..b3c6d9ee82 100644
--- a/app/src/protyle/gutter/index.ts
+++ b/app/src/protyle/gutter/index.ts
@@ -821,6 +821,7 @@ export class Gutter {
action: "insertAttrViewBlock",
avID,
srcIDs: sourceIds,
+ ignoreFillFilter: true,
isDetached: false,
blockID: listItemElement.dataset.blockId
}, {
@@ -1283,6 +1284,7 @@ export class Gutter {
action: "insertAttrViewBlock",
avID,
srcIDs: sourceIds,
+ ignoreFillFilter: true,
isDetached: false,
blockID: listItemElement.dataset.blockId
}, {
diff --git a/app/src/protyle/header/openTitleMenu.ts b/app/src/protyle/header/openTitleMenu.ts
index c8de29c1a2..28a1d324d7 100644
--- a/app/src/protyle/header/openTitleMenu.ts
+++ b/app/src/protyle/header/openTitleMenu.ts
@@ -61,6 +61,7 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
transaction(protyle, [{
action: "insertAttrViewBlock",
avID,
+ ignoreFillFilter: true,
srcIDs: sourceIds,
isDetached: false,
blockID: listItemElement.dataset.nodeId
diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts
index f1f2620d47..cebc06bc0c 100644
--- a/app/src/types/index.d.ts
+++ b/app/src/types/index.d.ts
@@ -468,6 +468,7 @@ interface IOperation {
retData?: any
nextID?: string // insert 专享
isDetached?: boolean // insertAttrViewBlock 专享
+ ignoreFillFilter?: boolean // insertAttrViewBlock 专享
srcIDs?: string[] // insertAttrViewBlock 专享
name?: string // addAttrViewCol 专享
type?: TAVCol // addAttrViewCol 专享