mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 22:44:06 +01:00
🚨
This commit is contained in:
parent
436f439dd1
commit
c8ab7693f1
11 changed files with 58 additions and 60 deletions
|
|
@ -529,7 +529,7 @@ export class Toolbar {
|
|||
// 合并相同的 node
|
||||
if (currentNewNode.getAttribute("data-type").indexOf("inline-math") > -1) {
|
||||
// 数学公式合并 data-content https://github.com/siyuan-note/siyuan/issues/6028
|
||||
nextNewNode.setAttribute("data-content", currentNewNode.getAttribute("data-content") + nextNewNode.getAttribute("data-content"))
|
||||
nextNewNode.setAttribute("data-content", currentNewNode.getAttribute("data-content") + nextNewNode.getAttribute("data-content"));
|
||||
} else if (currentNewNode.getAttribute("data-type").indexOf("block-ref") === -1) {
|
||||
// 引用不虚合并内容 https://ld246.com/article/1664454663564
|
||||
nextNewNode.innerHTML = currentNewNode.innerHTML + nextNewNode.innerHTML;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue