Mohammad excellent Section Editor - how to make all sections folded by default?

This plugin (GitHub - kookma/TW-Section: create, edit and manage big and lengthy tiddlers through sectioning) is indeed very helpful to create foldable sections and I want to use it for online presentations (instead of creating real slides or slideshows).

But I wish someone could advice me, perhaps @Mohammad himself:

  1. how to make all sections folded by default? - that is, when opening the tiddler containing them

I want to start the live presentation with sections closed and open them only when progressing through the content. It seems like after any refresh they are all re-opened. Is there some global setting for this?

  1. how to make the empty space right below the headings a bit smaller?

by default it is something like 2-3 lines that are empty and I don’t know how to change it, I tried to play with “$:/plugins/kookma/section/styles/section” to no avail.

Thank you!

AS

Check this.

1 Like

Excellent! Thank you very much!
I was able to do what I wanted - only that I had to use the temp prefix instead of state:

<$button>
<$list filter="[prefix[$:/temp/section-editor/foldstate/]]">
<$action-setfield text="closed"/>
</$list>
button to set foldstate tiddlers for changelog to closed
</$button>

Very kind of you!

AS