This commit is contained in:
parent
962493216f
commit
928a0acc41
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
}
|
||||
|
||||
blockElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));
|
||||
if (editElement.innerHTML === "》<wbr>") {
|
||||
editElement.innerHTML = "><wbr>";
|
||||
if (editElement.innerHTML === "》<wbr>" || editElement.innerHTML.indexOf("\n》<wbr>") > -1) {
|
||||
editElement.innerHTML = editElement.innerHTML.replace("》<wbr>","><wbr>");
|
||||
}
|
||||
const trimStartText = editElement.innerHTML.trimStart();
|
||||
if ((trimStartText.startsWith("````") || trimStartText.startsWith("····") || trimStartText.startsWith("~~~~")) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue