This commit is contained in:
Vanessa 2022-09-26 22:26:17 +08:00
parent b8bf9aa4eb
commit 220206287a

View file

@ -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 {