mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
🎨 使用 HTML 块时建议使用 <div> 包裹 HTML 代码 https://github.com/siyuan-note/siyuan/issues/5732
This commit is contained in:
parent
dca278d723
commit
51eedd11eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue