Edit online

Customizing the DITA Maps Manager View

You can add a listener to be notified when a new DITA map is opened, selected, or closed in the DITA Maps Manager view. Once the editorOpened() callback is received, you can obtain the opened WSEditor API, then send its current page to the WSDitaMapEditorPage.

The API method WSDitaMapEditorPage allows you to interact with the DITA map that is open in the DITA maps Manager view:

  • Add a customizer for the icons and text presented in the tree.

  • Enable or disable editing on the tree.

  • Set a popup menu customizer.

  • Get the selected nodes.

  • Get access to the AuthorDocumentController API to make changes to the content.

Sample plugins: