editor: hide horizontal rule if its under a collapsed heading (#9038)

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
01zulfi
2025-12-10 10:01:14 +05:00
committed by GitHub
parent 4563739f6e
commit 121e521eb7

View File

@@ -44,7 +44,8 @@ const COLLAPSIBLE_BLOCK_TYPES = [
"outlineList",
"mathBlock",
"webclip",
"embed"
"embed",
"horizontalRule"
];
const HEADING_REGEX = /^(#{1,6})\s$/;