The editor’s Article components menu lets you add callouts, tabs and accordions without touching any code, and our themes style them automatically. We recommend using these native components wherever possible.
The rest of the editor toolbar covers everyday formatting too, including headings, bold, italic and underlined text, blockquotes, lists, tables, images, links and code blocks, as well as videos through the Embed component. Our themes style all of these automatically too.
The editor can’t be extended to include additional buttons, so other custom styles, like those provided in our themes, must be added using the editor’s HTML (source code) view. To apply a custom style to an element using a class name:
-
Create a new article or edit an existing one in your help center or Knowledge admin.
-
Click the HTML button in the editor toolbar.
-
Locate the heading, paragraph or other element that you’d like to style and either add a class to the existing list of class names or create a new
classattribute. For example, a standard paragraph can be transformed into a legacy note callout using the.noteclass:<p class="note"> This is an example of a standard note available in all themes. You can apply this style to any content by simply applying the <code>.note</code> class name to a paragraph or container element. </p> -
Click Apply to close the HTML view, then click Save.