🎨 ¥¥

This commit is contained in:
Vanessa 2023-08-28 10:01:27 +08:00
parent 9fe5b6cb94
commit fa9c0b0ffa

View file

@ -85,7 +85,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
return;
}
// https://github.com/siyuan-note/siyuan/issues/9015
if (trimStartText === "¥¥<wbr>") {
if (trimStartText === "¥¥<wbr>" || trimStartText === "¥¥<wbr>") {
editElement.innerHTML = "$$<wbr>";
}
const refElement = hasClosestByAttribute(range.startContainer, "data-type", "block-ref");