mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
This commit is contained in:
parent
d47d5ade8e
commit
079328dee9
3 changed files with 2 additions and 32 deletions
|
|
@ -561,10 +561,6 @@ export class Toolbar {
|
|||
nextIndex = item.textContent.length;
|
||||
nextElement.innerHTML = item.innerHTML + nextElement.innerHTML;
|
||||
} else if (item.tagName !== "BR" && item.tagName !== "IMG") {
|
||||
if (item.getAttribute("data-type")?.indexOf("backslash") > -1 &&
|
||||
item.firstChild?.textContent === "\\") {
|
||||
item.firstChild.remove();
|
||||
}
|
||||
item.setAttribute("data-type", types.join(" "));
|
||||
setFontStyle(item, textObj);
|
||||
newNodes.push(item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue