Basic Formatting

The What-You-See-Is-What-You-Get (WYSIWYG) text editor gives you the ability to format your content and add links/media. This text editor is available on most text areas around the site.

Screen Shot 2019-09-20 at 5.29.57 PM_1.png

With the WYSIWYG text editor, it is easy to style your text with the bold, italic, strike-through, superscript, subscript options.

Special Characters and Horizontal Rules

Additionally, you can insert special characters, and horizontal rules.

In most cases, the easiest way to change the text style is to select the text first and then to select one or more of the buttons on the editor toolbar. These can be used in conjunction with each other or other buttons on the toolbar.

Remove Format

You can quickly remove all formatting from highlighted text using the “Remove Format” button.

 

Lists

Lists

There are two types of lists you can create. Unordered (bullet points) and ordered (numbered).

To create a list, click on one of the list buttons. This will insert the first list item and you can start typing. For each additional item, press Return/Enter on your keyboard.

If you want to add another line to the same list item, press Shift+Return/Enter.

Indent

Additionally you can increase and decrease the indentation of the list.

To break out of the list and continue with other content, press Return/Enter twice.

 

Start with the text you want to link by using your cursor to select the text.

Links

Links to internal or external paths can be added with the link button. A separate configuration window will load.

You can edit an existing link by placing the cursor on the link and clicking the link button.

Unlink

Links can also be removed easily with the “Unlink” button. 

 

URL: Add the link’s connecting URL. Start typing to find content

Title: Add a name that populates the title attribute of the link, usually shown as a small tooltip on hover. This does not create link text in the WYSIWYG.

Media Library (Upload/Select a File): Allows you to upload a file that doesn’t already exist on the site or select an existing file on the website.

Email Addresses: If you type an email address in, it will suggest the mailto prefix which will wrap the email address in a link and that will trigger a computer's default email client to open when clicked.

Advanced: Provides additional, though optional, configuration for the link. Configurations such as, CSS classes, ID, open in a new window button, and Relation (rel)

Anchor Links: With an "ID" attribute value (allowed on a, h1, h2, h3, h4, h5, h6) you can create an anchor link to content within a page that loads the page where the ID exists in the page. This is helpful to create "jump to" content.

How to create an ID on the page:

  1. Toggle the "Source" button on the WYSIWYG
  2. Add an anchor element with a unique id to your HTML text in a text area using the "Filtered HTML" text format:
     <a id="anchor-link-id"></a> 
    
  3. Save your changes and move to the next step

OR

  1. Create a link.
  2. Within the advanced section of the link dialog, add an ID attribute value.

How to link to an ID on the page:

  1. With the existing ID, type the link text that will serve as the jump link.
  2. Select the text and click the link button.
  3. For an anchor within the same page type # followed by the ID within the link dialog field and save. If you would like to link to an ID on a different page, start typing the page title to autocomplete and internal path or type the absolute URL (https://...) to an external webpage. Append # followed by the ID within the link dialog field and save. If you would like to link to the top of the page, just use #.

 

Checking For Broken Links

Free online tools that can check your website for broken links and links that redirect:

validator.w3.org (to check more than one page, check the box “Check linked documents recursively” and enter a number in the “recursion depth” field)

brokenlinkcheck.com

 

Tables

table

A table is a structured set of data made up of of rows and columns (tabular data). A separate configuration window will load.

You can set initial row and column counts, designate the headers for the table and provide a table caption.

Note: Though not required, a caption is strongly recommended to provide an overall description of the data found in the table.

After initializing the table, you can enter data and/or right-click on the table to add additional rows/columns or edit table properties.

You may also want to add additional functionality to your tables through manual class addition. This can be done by clicking the "Source" button, and then adding classes to your table markup. The options for this are as follows:

`table--gray-borders`

If you would like to add gray borders to your table like the example below, you may add the `table--gray-borders` class to your table markup. 

5.png
6.png

`table--hover-highlight` 

If you would like a light highlight to appear over the rows of your table like the example below, you may add the `table--hover-highlight` class to your table markup.

7.gif
8.png

`table--width-default`

In SiteNow, tables expand to fit the full width of the page or container. If you have a narrow table that you do not wish to have fill that width, you may add the `table--width-default` class to your table markup. 

(An example of identical tables, one with `table--width-default`, and one without)

9.png
10.png

 

Styles

Styles

Using the “Block Styles” drop-down, you can add paragraph styles within your content. The paragraph style will be applied to the current line/paragraph. Hit Enter/Return to break out and return to to the normal format.

 

Headings

Using the “Paragraph Format” drop-down, you can add headings within your content. The heading will be applied to the current line/paragraph. Hit Enter/Return to break out and return to the normal format.

Format

It is important for accessibility and usability that headings are used sequentially and not for style purposes.

 

Alignment

Alignment

There are three options for text alignment. Left, center and right. Text is left-aligned by default. The alignment will continue until the next line break similar to headings.

 

Blockquotes

Blockquote

A blockquote element defines a section of the webpage that is quoted from another source. The blockquote visually indicates that the text is a quote.

 

Media

Media Library

The Media buttons allow you to add new or existing images, audio files, social media, files, or videos from a URL to your content. A separate configuration window will load when clicked and allow you to select the desired media type.

Images require alternative text to provide more information about the media object to the user.
You can configure the size, alignment of images as well as provide a caption. To change configuration for a media object click the media object to select it followed by the media button up on the toolbar.

Note: Alignment does not always appear correct in the WYSIWYG editor, but the Preview button down at the bottom the page should render the object accurately.

View more on our Media Documentation

 

Show Borders

Show borders

This button will display borders around container HTML elements like paragraphs and divisions.

 

Source

You can look under the hood at anytime to see the markup for the content. If you know your stuff you can write your own HTML staying within the restrictions of the filtered_html format.

Source

You can see the available HTML tags/options on your site at /filter/tips.

HTML that is not allowed will be stripped out before rendering to site visitors.

 

Maximize

Maximize

This button will expand the text editor to use the full screen. This is helpful for distraction free writing, or working with a lot of content at once.