This commit is contained in:
parent
7131ca0692
commit
3b87b85639
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ export class Toolbar {
|
|||
hasSameTextStyle(item, nextElement, textObj)) {
|
||||
nextIndex = item.textContent.length;
|
||||
nextElement.innerHTML = item.innerHTML + nextElement.innerHTML;
|
||||
} else if (item.tagName !== "BR") {
|
||||
} else if (item.tagName !== "BR" && item.tagName !== "IMG") {
|
||||
if (item.getAttribute("data-type")?.indexOf("backslash") > -1 &&
|
||||
item.firstChild?.textContent === "\\") {
|
||||
item.firstChild.remove();
|
||||
|
|
Loading…
Add table
Reference in a new issue