XHTML Editor Link CSS Classes


Prerequisites:
  • User groups must exist for administrators to configure the Group option. See Creating Groups for details.
  • The Custom CSS file that contains the link CSS classes must exist and be specified. See XHTML Editor Custom Content CSS for details.

Administrators can customize CSS link selectors (i.e., classes) available to users in the XHTML editors. Specify link classes to make available by default or on a "per group" basis.

To set available XHTML editor link CSS classes:
  1. Navigate to Administration > System Options > CMS > XHTML Editor > Link CSS Classes.

    Select Option

  2. Choose one of the following steps:
    • Select the Default option to customize link classes for all users.
    • Select the Group option to customize link classes on a "per group" basis, and select the group from the drop-down list. The link class set only applies to the selected group.
    Additional Information
    Caution
    If you configure multiple options, save your changes after configuring each option. If you switch from one option to another without saving, you lose your changes.

    If groups have link class sets, a checkmark (☑) displays next to the group. To reset all the group's link classes, hover over the checkmark and select the Restore Defaults minus (-) icon.

    Restore Defaults

    If you configure link class sets for the Default option and the per individual Group option, each group's link classes automatically override the Default option for applicable users.

  3. Choose one of the following steps:
    • Add link classes to the option set.
      1. Click Add.

        Add XHTML Editor Link CSS Class

      2. Enter the link class friendly name in the Display Name column. This name identifies the link class for users.
      3. Click the corresponding cell in the CSS Class column. Enter the CSS class name. This name identifies the link class in the CSS.

      Enter Link Selector Display Name and CSS Class Name

      Additional Information
      For example, if you add a link class with the Display NameAsset Link and the CSS ClassassetLink, and save your configurations to only the Authors group, the XHTML editor's Insert/Edit Link dialog displays Asset Link in the Class drop-down list to only Authors group members.

    • Delete link classes from the option set.
      1. Select the link class.
      2. Click Remove.

      Remove XHTML Editor Link CSS Class

  4. Click Save.