diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index f83297edc..8b64c60cb 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -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 {