From e33084ce53457ab26388eedde3d25ccafbd84cbe Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 30 Aug 2024 22:05:37 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12340 --- app/src/protyle/wysiwyg/input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/input.ts b/app/src/protyle/wysiwyg/input.ts index cfec3a789..e28f39659 100644 --- a/app/src/protyle/wysiwyg/input.ts +++ b/app/src/protyle/wysiwyg/input.ts @@ -114,7 +114,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range: } let html = blockElement.outerHTML; let focusHR = false; - if (editElement.textContent === "---" && type !== "NodeCodeBlock") { + if (["---", "___", "***"].includes(editElement.textContent) && type !== "NodeCodeBlock") { html = `
`; const nextBlockElement = getNextBlock(editElement); if (nextBlockElement) {