Working With Rich Text in CommonView

CommonView contains a rich text editor that allows you to write and format content just as you would in a word processing program. In addition to applying common formatting, such as text size, color, weight, and alignment, and creating numbered and bulleted lists, the text editor enables you add links, images, tables and more to your content.

Using the Rich Text Editor

Insert or Remove a Link

To create a link, follow these steps:

  1. StepsActions
  2. Type or copy and paste some text into the text area.
  3. Click and drag to highlight the text you want to become the link.
  4. Click Insert Link. The "Insert Link" dialog box will appear.
  5. Select the type of link you want to create from the "Link Type" menu. You can choose URL (the default) or Email.
  6. Type the URL of the Web site or the email address to which you want to link.
    When linking to an email address, you can also add a subject and message that will be automatically generated whenever anyone uses the link.
  7. If you want the link to open in a new browser window, click on the Target tab and select the New window option from the menu.
  8. Click OK. To test your link, you will need to save your content.

To remove a link, follow these steps:

  1. StepsActions
  2. Click to position the cursor within the link text.
  3. Click Unlink.
  4. The link will be removed.

Insert an Image

You can add an image from your computer or from the Web to your content with the text editor. To add an image, follow these steps:

  1. StepsActions
  2. Position the cursor where you would like the image to appear.
  3. Click Insert Image. The "Insert Image" dialog box will appear.
  4. To use an image from your computer, click Browse and select the image that you want to upload from your computer. Click Upload image to upload the image. You will automatically move to the Image Info tab. To use an image that is located on the Web, click the Image Info tab and enter the image URL into the URL box.
  5. Enter "Alternative text" for accessibility purposes in the space provided. Alternate text for images can be announced by screen readers used by the visually impaired.
  6. Enter the image parameters. A preview of the image and text is located to the right.
  7. Click OK. The dialog box will close, and your image will appear in the text editor.

Embed YouTube Video

To include a YouTube video in your content using the text editor, follow these steps:

  1. StepsActions
  2. Go to YouTube, locate a video, and copy the content of the "Embed" option.
  3. Click Insert YouTube Video. A dialog box will appear.
  4. Paste the YouTube embed code for the video in the space provided.
  5. Click OK to include the video.

Add a Table

You insert a table into your content, follow these steps:

  1. StepsActions
  2. Position the cursor to where you would like the table to appear.
  3. Click Insert
    Table
    . The "Insert Table" dialog box will appear.
  4. Enter the number of rows and columns for your table in the spaces provided.
  5. To adjust the display of the table, you can also specify the amount of cell spacing (between cells) and cell padding (around text), select the width and height, set the alignment of the table, the placement of headers, and the border size.
  6. Add a caption and summary of the table by typing in the respective boxes. The Caption will be displayed as the title of the table. Describe the purpose and structure of the table in the Summary to improve accessibility, this text will not be displayed.
  7. Click OK. The dialog box will close, and your table will appear in the text editor.
  8. Click in a table cell to position your cursor, and then enter your data.
    You can also click and drag the handles around the table (once selected) to change its dimensions.

Insert Special Characters

Insert characters such as symbols, fractions, and accents into your content by following these steps:

  1. StepsActions
  2. Position the cursor where you would like the special character to appear.
  3. Click Insert Character. A menu displaying a table of special characters will appear.
  4. Hover the cursor over a character in the table to view a larger version of the symbol or character in the preview box to the right.
  5. Click the character to insert it in your content.

Use LaTeX Typesetting

The text editor allows you to use the LaTeX typesetting system to create content that includes technical or scientific content. You enter the LaTeX markup, and then the text editor will convert it into an image and insert the image into your content. To modify your technical or scientific content, you can select the image and click the LaTeX icon again to modify the LaTeX markup and re-insert the modified image. To learn more about authoring with LaTeX, visit the LaTeX project Web site.

Follow these steps to add LaTeX to your content:

  1. StepsActions
  2. Position your cursor in the text area where you want the LaTeX content to appear.
  3. Click Add LaTeX.
  4. Enter LaTeX markup into the area provided.
  5. Click Preview to see what your LaTex image will look like.
  6. Enter alternative text for the resulting image for accessibility purposes.
    Alternative text for images can be announced by screen readers used by the visually impaired and displayed by text-only browsers.
  7. Customize the appearance of the image by setting its alignment, padding, and border. Select the desired alignment for the image relative to text using the menu under Align. Adjust the amount of space (in pixels) around the image by entering a number in the box under Padding. You can also set the border thickness (in pixels) by entering a number in the box under Border.
  8. Click OK to create and insert your LaTeX image.

To edit your LaTeX image, click once to select the image in the text area, and then click Insert LaTeX. Follow the steps above.

View or edit the HTML Source Code

The text editor automatically creates the HTML necessary to format your text. If you know HTML, you can directly enter or edit the HTML source code in the text editor.

To view or edit the HTML code that is being created, click Source. Click the source toggle again to return to the WYSIWYG (what you see is what you get) view of your content.

Last modified: February 10, 2014