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 Ammar Ahmed
parent ae27b04fdb
commit 5be7c7f456

View File

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