diff --git a/app/src/protyle/wysiwyg/enter.ts b/app/src/protyle/wysiwyg/enter.ts index f88940ba2..238103cfb 100644 --- a/app/src/protyle/wysiwyg/enter.ts +++ b/app/src/protyle/wysiwyg/enter.ts @@ -186,7 +186,7 @@ const listEnter = (protyle: IProtyle, blockElement: HTMLElement, range: Range) = export const enter = (blockElement: HTMLElement, range: Range, protyle: IProtyle) => { const disableElement = isNotEditBlock(blockElement); - if ((!disableElement || blockElement.classList.contains("hr")) && blockElement.classList.contains("protyle-wysiwyg--select")) { + if (!disableElement && blockElement.classList.contains("protyle-wysiwyg--select")) { setLastNodeRange(getContenteditableElement(blockElement), range, false); range.collapse(false); blockElement.classList.remove("protyle-wysiwyg--select");