Hiding the BreadcrumbEdit online
The main editing pane includes a breadcrumb stripe at the bottom of the pane that shows the hierarchical XML structure of the current document. It is a helpful tool for users that want to be able to visualize or navigate the XML element structure within a document. If your users do not have a need for this breadcrumb, it is possible to hide it in the interface.
To hide the breadcrumb, set the hideBreadcrumb property in a plugin (using the LoadingOptions type definition from the
Workspace API).
- Possible values for the hideBreadcrumb property are:
- false - The breadcrumb is visible in the interface.
- true - The breadcrumb is not displayed in the interface.
You can set this property in your plugin's JavaScript code like this:
goog.events.listen(workspace,
sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, function(e) {
e.options.hideBreadcrumb = 'true';
});
Tip: You can also use this property in an embedded
link that launches Web Author so that when a user clicks the constructed link, the
breadcrumb is not displayed.