The Button Form Control

The oxy_button built-in form control is used for graphical user interface objects that invokes a custom Author mode action (defined in the associated Document Type) referencing it by its ID, or directly in the CSS.

The oxy_button form control supports the following properties:
Tip: A code template is available to make it easy to add the oxy_action function.

Button Form Control

button:before {
    content: "Label:"
        oxy_button(
            /* This action is declared in the document type associated with the XML document. */
            actionID, "insert.popupWithMultipleSelection");
}
Note: You can use the Content Completion Assistant in the CSS or LESS editor to easily insert a sample of the form control by selecting the corresponding code template. The form control code templates are displayed with a symbol in the content complete list.
Tip: To insert a sample of the oxy_button form control, invoke the Content Completion Assistant by pressing Ctrl Space (Command Space on OS X) and select the oxy_button code template. Also, an oxy_button_in_place_action code template is available that inserts an oxy_button function that includes an action parameter.