15. Dialog box allowing to edit “text style” menu items

This dialog box is displayed when you select the Customize menu item found at the end of a “text style” menu. Text style menus are displayed when you click the arrow button found next to a “text style” toggle. The XHTML, DocBook and DITA tool bars all start with a number of text style toggles. More information about text style toggles below.

Figure 9.23. Toggles found at the beginning of the DocBook tool bar
Toggles found at the beginning of the DocBook tool bar

In the above screenshot, the caret is inside an emphasis element and the user clicked the arrow button next to a “italic text style” toggle.

The Customize menu item displays a dialog box allowing to edit the items of a “text style” menu:

Figure 9.24. Customizing the items of the DocBook' “italic text style” menu
Customizing the items of the DocBook' “italic text style” menu
Add Item

Add an item before selected item if any; at the end of the menu otherwise. Clicking this button displays the item editor dialog box.

[Tip]

When possible, select in your document an instance of the element you would like to add and then copy it to the clipboard (Ctrl+C). This is the quickest and safest way to add an item to a “text style” menu, as the item editor dialog box has a handy "Paste Element" button.

Edit Item

Edit selected item. Clicking this button displays the item editor dialog box.

Add Separator

Add a separator before selected item if any; at the end of the menu otherwise.

Remove

Remove selected item or separator.

Reset

Restore the stock menu items.

[Tip]

Notice that the order of items within the menu may be modified by dragging a label in the list.