mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-13 18:54:21 +01:00
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
Add a link
Reference in a new issue