mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 04:40:15 +01:00
🚨
This commit is contained in:
parent
ea7ecb6aa1
commit
c98997045a
6 changed files with 6 additions and 6 deletions
|
|
@ -394,7 +394,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
|
|||
tempElement.content.firstChild.nodeType !== 3 &&
|
||||
tempElement.content.firstElementChild.getAttribute("data-type") === "NodeHeading") {
|
||||
isBlock = false;
|
||||
heading2text = true
|
||||
heading2text = true;
|
||||
}
|
||||
|
||||
// 使用 lute 方法会添加 p 元素,只有一个 p 元素或者只有一个字符串或者为 <u>b</u> 时的时候只拷贝内部
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue