mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-12 23:21:23 +08:00
This commit is contained in:
parent
c342c06611
commit
a34b73551d
@ -84,7 +84,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||||||
brElement.remove();
|
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>");
|
editElement.innerHTML = editElement.innerHTML.replace("》<wbr>", "><wbr>");
|
||||||
}
|
}
|
||||||
const trimStartText = editElement.innerHTML.trimStart();
|
const trimStartText = editElement.innerHTML.trimStart();
|
||||||
|
Loading…
Reference in New Issue
Block a user