Minimise block swallows trailing whitespace

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  1. Open new note
  2. Create two H1 headings, one above the other, with one line between (with content or not)
  3. Minimise (toggle hidden) the top heading, which should hide the whitespace/content between the two
  4. Add a new line after the minimised content
  5. Reveal then re-minimise the top heading
  6. Notice the whitespace/content added under the initially minimised content is now hidden.

Expected result

Additional whitespace below the hidden / minimised heading will not be toggled to hidden when content is hidden

Actual result

Any additional hidden content (whether added after the initial content is hidden or not) is ‘swallowed’ by re-toggling the display of the initial content

Environment

  • Operating system:
    MacOSx 10.14.6 (Mojave)

  • Debug info:
    SYSTEM INFO:
    Obsidian version: v1.1.16
    Installer version: v0.15.8
    Operating system: Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 18.7.0
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: adapt to system
    Community theme: Things v2.1.6
    Snippets enabled: 3
    Restricted mode: off
    Plugins installed: 8
    Plugins enabled: 8
    1: Obsidian Columns v1.4.0
    2: Icons v0.3.0
    3: Icon Folder v1.7.0
    4: Custom File Explorer sorting v1.7.1
    5: Obsidian Git v2.19.0
    6: Dataview v0.5.55
    7: Advanced Tables v0.18.1
    8: Kanban v1.5.2


Additional information

Can provide video if the above isn’t sufficient, though it’s a bit of extra effort.

I tried this in sandbox vault and had same issue exactly.

Not a bug, this is a how it works. There is a FR about not capturing the blanklines before a new header.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.