I have a desktop page with several h2 headings, and with several h3 headings under each of the h2 headings. When I collapse the h2 heading, it ONLY collapses the text up until the h3 heading.
In the example below, when I try to collapse Heading 2.1, it only collapses "Text2.1", but everything after this remains uncollapsed. Is there a way for me to set it up such that when I collapse Heading 2.1, it will collapse everything up until Heading 2.2?
I used the following settings:
wfLoadExtension( 'CollapsibleSections' );
$wgCollapsibleSectionsCollapsedByDefault = true;
$wgCollapsibleSectionsEnableDesktop = true;
Heading 2.1
Text2.1
Heading 3.1
Text3.1