mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
This commit is contained in:
parent
b8bf9aa4eb
commit
220206287a
1 changed files with 3 additions and 0 deletions
|
|
@ -485,6 +485,9 @@ export class Toolbar {
|
|||
nextElement.innerHTML = item.innerHTML + nextElement.innerHTML;
|
||||
} else if (item.tagName !== "BR") {
|
||||
item.setAttribute("data-type", types.join(" "));
|
||||
item.querySelectorAll("span").forEach(backslashItem => {
|
||||
backslashItem.remove()
|
||||
});
|
||||
setFontStyle(item, textObj);
|
||||
newNodes.push(item);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue