diff --git a/app/src/protyle/wysiwyg/input.ts b/app/src/protyle/wysiwyg/input.ts index da06aa8ed..b172d920f 100644 --- a/app/src/protyle/wysiwyg/input.ts +++ b/app/src/protyle/wysiwyg/input.ts @@ -85,7 +85,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range: return; } // https://github.com/siyuan-note/siyuan/issues/9015 - if (trimStartText === "¥¥") { + if (trimStartText === "¥¥" || trimStartText === "¥¥") { editElement.innerHTML = "$$"; } const refElement = hasClosestByAttribute(range.startContainer, "data-type", "block-ref");