Show / Hide Section Block provides four blocks that are used to display a group of
elements that each contain a
and an arbitrary number of additional blocks.
- The Show Hide Group block is a wrapping .
- The Show Hide Section block is a wrapping
. One or more of these blocks is added to a Show Hide Group block.
- The Show Hide Summary block contains the content for a
tag. One of these blocks is inside each Show Hide Section block.
- The Show Hide Details block contains arbitrary content. One of these blocks is added inside each Show Hide Section block.
The HTML output for an individual section is:
The HTML output for the group is:
An option is provided in the block』s side panel to toggle an 「Open all」/」Close all」 button. If this is toggled on for a block, an additional
element will be inserted and JavaScript will be used on the front-end to control the show/hide behavior of allelements in the group at once.If the toggle is off, no JavaScript is loaded on the front end and only the browser』s default behavior is used for opening and closing
elements.文章釋出於:
- The Show Hide Section block is a wrapping






