mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
This commit is contained in:
parent
2cc8b860c2
commit
b2cc88875b
1 changed files with 3 additions and 2 deletions
|
|
@ -586,8 +586,9 @@ export class Toolbar {
|
|||
if (currentType.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"));
|
||||
} else if (currentType.indexOf("block-ref") === -1) {
|
||||
// 引用不需合并内容 https://ld246.com/article/1664454663564
|
||||
} else {
|
||||
// 测试不存在 https://ld246.com/article/1664454663564 情况,故移除引用合并限制
|
||||
// 搜索结果引用被高亮隔断需进行合并 https://github.com/siyuan-note/siyuan/issues/7588
|
||||
nextNewNode.innerHTML = currentNewNode.innerHTML + nextNewNode.innerHTML;
|
||||
// 如果为备注时,合并备注内容
|
||||
if (currentType.indexOf("inline-memo") > -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue