mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
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:
@@ -44,7 +44,8 @@ const COLLAPSIBLE_BLOCK_TYPES = [
|
||||
"outlineList",
|
||||
"mathBlock",
|
||||
"webclip",
|
||||
"embed"
|
||||
"embed",
|
||||
"horizontalRule"
|
||||
];
|
||||
|
||||
const HEADING_REGEX = /^(#{1,6})\s$/;
|
||||
|
||||
Reference in New Issue
Block a user