Only first paragraph / bullet point is folded when switching from Reader -> Editor

Steps to reproduce

  1. Have more than one paragraph under a header.
  2. Switch to Reading View.
  3. Fold the header.
  4. Switch to Editing View.

Screen Recording 2025-02-03 004527

Did you follow the troubleshooting guide? [Y/N]

Yes, the above gif was demonstrated in sandbox mode.

Expected result

Every paragraph under the header should be folded.

Actual result

Only the first paragraph is folded.

Environment

SYSTEM INFO:
	Obsidian version: v1.8.4
	Installer version: v1.8.4
	Operating system: Windows 11 Home 10.0.22635
	Login status: logged in
	Language: en
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

This error occurs in both Live Preview and Source Mode.

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

Steps to reproduce

Create a note with with at least 2 top level headers and at least 1 of them has a second level header in it.

# header 1
- list item 1
- list item 2
- list item 3
# header 2
- list item 1
- list item 2
- list item 3
## Header 2.1
- list item 1
- list item 2
- list item

Fold the second level header in source editing mode
look at another note
when you come back in the first list item is folded but the rest of the note is not

In reading mode the note appears properly folded.

Did you follow the troubleshooting guide? Y

Yes

Expected result

Fold status should persist when going into and out of a note no matter whether it’s in reading or source mode. Folded headers should fold the entire contents.

Actual result

Partial folding which was not the case in 1.7 versions

Environment

SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.6.3
Operating system: Darwin Kernel Version 23.6.0: Fri Nov 15 15:11:49 PST 2024; root:xnu-10063.141.1.702.7~1/RELEASE_ARM64_T6020 23.6.0
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: off
Live preview: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Kanban v1.5.3

RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.



Additional information

1 Like

thanks

I can confirm the existing of this issue in macos Obsidian Version 1.8.4 (Installer 1.8.4).

Same case; macOS 15.3 and Obsidian Version 1.8.4 (Installer 1.8.4)

will be fixed 1.8.6. No ETAs

1 Like