Skip to content

Make a link a button in the WYSIWYG

Sarah Carney edited this page Feb 28, 2019 · 1 revision

Set Up

Add link-button to the list of allowed classes at the bottom of the WYSIWYG text formatter.

Use

  1. Create a link in a WYSIWYG field.
  2. When creating or editing a link there should be an 'Advanced' tab.
  3. Add link-button to the Stylesheet classes field.

This class can also be added manually in Full HTML text format and Views. Example: <a href="URL" class="link-button">Link Text</a>