mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 16:56:10 +01:00
This commit is contained in:
parent
5c3d78dfda
commit
53e24a9ee8
1 changed files with 2 additions and 1 deletions
|
|
@ -992,7 +992,8 @@ export class Toolbar {
|
|||
inlineLastNode = item;
|
||||
}
|
||||
} else {
|
||||
item.setAttribute("data-inline-memo-content", Lute.EscapeHTMLStr(textElement.value));
|
||||
// 行级备注自动移除换行 https://ld246.com/article/1664205917326
|
||||
item.setAttribute("data-inline-memo-content", Lute.EscapeHTMLStr(textElement.value.replace(/\n/g, " ")));
|
||||
}
|
||||
});
|
||||
} else if (types.includes("inline-math")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue