This commit is contained in:
parent
cf56be53b3
commit
505cf51efe
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,9 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
// https://github.com/siyuan-note/siyuan/issues/9015
|
||||
if (trimStartText === "¥¥<wbr>" || trimStartText === "¥¥<wbr>") {
|
||||
editElement.innerHTML = "$$<wbr>";
|
||||
} else if (trimStartText.indexOf("\n¥¥<wbr>") > -1 || trimStartText.indexOf("\n¥¥<wbr>") > -1) {
|
||||
// https://ld246.com/article/1730020516427
|
||||
editElement.innerHTML = trimStartText.replace("\n¥¥<wbr>", "\n$$$$<wbr>").replace("\n¥¥<wbr>", "\n$$$$<wbr>");
|
||||
}
|
||||
const refElement = hasClosestByAttribute(range.startContainer, "data-type", "block-ref");
|
||||
if (refElement && refElement.getAttribute("data-subtype") === "d") {
|
||||
|
|
Loading…
Add table
Reference in a new issue