How to Create Custom Content

To create a new custom content template, take the steps below. The example shows the general approach to insertion of a simple template consisting of a single element. You can also create a template with an arbitrary structure (see Templates for Custom Content).
  1. Create an element in the current document. The element will form your Custom Content template structure.

  2. To select the element, right-click on it and choose Select Parent . Selecting a portion, you designate the template content for the Custom Content.

  3. Go to Edit -> Custom Content -> New Custom Content or click the Create New Custom Content button on the toolbar.

  4. In the Custom Content Dialog, specify Name , Inscription , Icon and Hotkey for the action or leave them as default.

  5. If needed, adjust the content in the Content edit box.

  6. If needed, enter the Node and select the Position .

  7. If needed, make the custom content context-sensitive:
    1. In the Content edit box, enter the content.

    2. In the If matches edit box, specify context conditions for the content.

    3. If needed, enter the Node and select the Position .

    4. To specify more context-sensitive content templates, click the Add button.

  8. Click OK .

Note:

To make the changes persistent, you must save the GUI view. See How to Save View.

You can see some examples of custom content creation in Creating a Command for emphasis Element Insertion, Creating a Context-Sensitive Image Insertion Command and Inserting Custom Content to a Position that is Different from the Current Cursor Position.

To learn more about Custom Content, see Custom Content Customization, Custom Content Dialog, and Edit Custom Content Dialog.

Related information
Edit Custom Content Dialog