When working in the XML Editor, you can now collapse or expand tags (i.e., chunks of content) to make it easier to view and find content in long topics. With this feature, you can expand or collapse virtually any block level content.
[Menu Proxy — Headings — Online — Depth3 ]
How to Collapse and Expand Tags
- In the XML Editor, hover to the left of a heading, paragraph, drop-down, snippet, image, table, etc.
Click the angled arrow .
You also have the option of right-clicking the content or structure bar and selecting Collapse, or placing the cursor on the content and pressing ALT+SHIFT+C.
If you collapse a heading (determined by the mc-heading-level property), all the content under it is also collapsed, down to another heading of the same or a higher level.
When a block of content is collapsed, the arrow points to the right and remains whether you hover over it or not. Also, an ellipsis icon displays at the bottom of the related structure bar, as well as under the content.
Click the right arrow to expand the content.
You also have the option of right-clicking the content or structure bar and selecting Expand, or placing the cursor on the content and pressing ALT+SHIFT+C.
Note You can expand or collapse all blocks of content by clicking or , respectively, in the local toolbar.
How to Enable or Disable the Expand/Collapse Arrows
Do one of the following:
- At the bottom of the XML Editor, click .
- On the local toolbar of the XML Editor, click the down arrow of the Show tags button . Then select Expand/Collapse.
Note The collapsed state does not persist when you switch between the XML Editor and Text Editor, or when you switch between mediums.
Note When you collapse a tag that has nested content, that content will also collapse.
Note If you collapse a heading and then delete or move it, all content collapsed under that heading is also deleted or moved.
Note The arrows are tied to the structure bars. If the bars are enabled, the arrows can be enabled. If the bars are disabled, the arrows are disabled.