This commit is contained in:
parent
c342c06611
commit
a34b73551d
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
brElement.remove();
|
||||
}
|
||||
|
||||
if (editElement.innerHTML === "》<wbr>" || editElement.innerHTML.indexOf("\n》<wbr>") > -1) {
|
||||
if (editElement.innerHTML.startsWith("》<wbr>") || editElement.innerHTML.indexOf("\n》<wbr>") > -1) {
|
||||
editElement.innerHTML = editElement.innerHTML.replace("》<wbr>", "><wbr>");
|
||||
}
|
||||
const trimStartText = editElement.innerHTML.trimStart();
|
||||
|
|
Loading…
Add table
Reference in a new issue