Skip to content

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

:bug: 嵌入块

Vanessa7604a0a93083
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts
index 2123eec979..23d79406d7 100644
--- a/app/src/protyle/wysiwyg/transaction.ts
+++ b/app/src/protyle/wysiwyg/transaction.ts
@@ -461,7 +461,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
updateBlock(updateElements, protyle, operation, isUndo);
}
});
- } else { // updateElements 没有包含潜入块,在悬浮层编辑潜入块时,潜入块也需要更新
+ } else { // updateElements 没有包含嵌入块,在悬浮层编辑嵌入块时,嵌入块也需要更新
// 更新 ws 嵌入块
updateEmbed(protyle, operation);
// 更新 ws 引用块