Skip to content

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

:art: 使用 HTML 块时建议使用 `<div>` 包裹 HTML 代码 https://github.com/siyuan-note/siyuan/issues/5732

Liang Ding51eedd11eb18
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts
index e250b7eb71..5a46e91cca 100644
--- a/app/src/protyle/toolbar/index.ts
+++ b/app/src/protyle/toolbar/index.ts
@@ -873,7 +873,7 @@ export class Toolbar {
const tempElement = document.createElement("template");
tempElement.innerHTML = newHTML;
if (tempElement.content.childElementCount > 1) {
- showMessage(window.siyuan.languages.htmlTip)
+ showMessage(window.siyuan.languages.htmlBlockTip)
}
}
updateTransaction(protyle, id, newHTML, html);