Using the WYSIWYG editor

Kathy Yeung
Kathy Yeung
  • Updated

The WYSIWYG (What You See Is What You Get) editor enables you to create content and see it in a real-time view of edits made on a display. Using the WYSIWYG editor in risr/assess, Tiny, you can add text formatting, table formatting, and sometimes, images

The WYSIWYG toolbar is similar to the formatting toolbar in Microsoft Word. You can see a tooltip describing the function of an item on the toolbar by hovering over its icon. There are two different WYSIWYG editors available in risr/assess, the written item summary text box and the text field in resource notes

Written item summary editor shortcuts

When creating or editing a written item, this is how the toolbar appears for the Summary field. 

WYSIWYG Written Item Summary.png

  1. Undo (CTRL or CMD + Z) - Undo the last action in the editor. 
  2. Redo (CRTL or CMD + Y) - Redo the last action in the editor. 
  3. Bold (CTRL or CMD + B)
  4. Italic (CTRL or CMD + I)
  5. Underline (CTRL or CMD + U) - Insert a horizontal line underneath the selected text.
  6. Strikethrough - Insert a horizontal line across the selected text. 
  7. Superscript - Number or text that appears above the normal baseline. For example, reference1.
  8. Subscript - Number or text that appears below the normal baseline. For example, CO2.
  9. Insert/remove bulleted list - Turn selected text into bulleted list, or start a new bulleted list. This is useful when listing points in no particular order. 
  10. Insert/remove numbered list - Turn selected text into a numbered list, or start a new numbered list. This is useful when points have an order. 
  11. Special character - Insert a special character from a list of currency, text, quotations, mathematical, extended Latin, symbols, arrows, and predefined characters. This is useful in particular for accented letters or mathematical symbols. 
  12. Table - The table dropdown menu enables you to insert and edit tables, table cells, columns, and rows. Read more about the configurations in the table formatting article.
  13. Reference ranges - Insert a predefined reference range by searching the list. Learn more about reference ranges
  14. Preview - Opens a popup window to view the content. This can also be accessed by accessing File > PreviewView > Preview or Tools > Preview.
  15. Toggle table border display - Show or hide the table border.

Menus in the written item editor module

  • Using the file menu, you can start a new document or preview the content created in the WYSIWYG editor. 

    Written Summary Toolbar - File Menu.png

    • New document - Erases everything in the text field and creates a new document.
    • Preview - Opens a popup window to view the content. This can also be accessed by accessing View content > Preview or Tools > Preview.
  • Using the edit menu, you can select from a list of basic commands and shortcuts to use. 

    Written Summary Toolbar - Edit Menu.png

    • Undo (CTRL or CMD + Z) - Undo the last action in the editor. 
    • Redo (CRTL or CMD + Y) - Redo the last action in the editor. 
    • Cut (CRTL or CMD + X) - Removes the selected text and enables you to paste it somewhere else.
    • Copy (CRTL or CMD + C) - Copies the selected text, but does not remove it, and enables you to paste it somewhere else. 
    • Paste (CRTL or CMD + V) - Inserts the most recently copied or cut content where your cursor is. 
    • Paste as text - When enabled, formatted text will paste as plain text and unformatted. When disabled, the pasted text will attempt to retain the original formatting. By default, paste as text is enabled. 
    • Select all (CTRL or CMD + A) - Select the entire content in the text field. 
  • Using the view menu, you can see the source code of the text field, enable/disable visual aids and preview the content.

    Written Summary Toolbar - View Menu.png

    • Source code - Gives you access to insert or edit the HTML code for the text field. You can make edits directly in the source code, but any code that attempts to override set styles or formats will be removed when the page is published.
    • Visual aids - Enable or disable guidelines and invisible elements. By default, visual aids are enabled.
    • Preview - Opens a popup window to view the content. This can also be accessed by accessing File > Preview or Tools > Preview.
  • Using the insert menu, you can select from the available special characters and insert them within the content.

    Written Summary Toolbar - Insert Menu.png

    • Special character - Insert a special character from a list of currency, text, quotations, mathematical, extended Latin, symbols, arrows, and predefined characters. This is useful in particular for accented letters or mathematical symbols. 
  • The WYSIWYG editor has various formatting options for presenting and customising font styles. Typically, font styles are represented by HTML code but with the format menu in the WYSIWYG editor, you can simply highlight the text requiring change and edit it with the help of the following options: 

    Written Summary Toolbar - Format Menu.png

    • Bold (CTRL or CMD + B)
    • Italic (CTRL or CMD + I)
    • Underline (CTRL or CMD + U) - Insert a horizontal line underneath the selected text.
    • Strikethrough - Insert a horizontal line across the selected text. 
    • Superscript - Number or text that appears above the normal baseline. For example, reference1.
    • Subscript - Number or text that appears below the normal baseline. For example, CO2.
    • Clear formatting - Resets all formatting to the default settings. 
  • Using the tools menu, you can view the page source code and preview the WYSIWYG editor in a popup. 

    Written Summary Toolbar - Tools Menu.png

    • Source code - Gives you access to insert or edit the HTML code for the text field. You can make edits directly in the source code, but any code that attempts to override set styles or formats will be removed when the page is published.
    • Preview - Opens a popup window to view the content. This can also be accessed by accessing File > Preview or View content > Preview.
  • Using the table menu, you can insert and edit tables, table cells, columns, and rows. Read more about the shortcut configurations in the table formatting article.

    Written Summary Toolbar - Table Menu.png

Item resource note editor shortcuts

When creating a resource note, this is how the toolbar appears for the Text field.

WYSIWYG Resource Note.png

  1. Undo (CTRL or CMD + Z) - Undo the last action in the editor. 
  2. Redo (CRTL or CMD + Y) - Redo the last action in the editor. 
  3. Formats menu - Select from a list of predetermined paragraph formatting styles such as headings and paragraphs to customise the content. This can help you segregate various sections in the summary.
  4. Font Sizes - Select the font size from a predetermined list of font sizes (8, 10, 12, 14, 18, 24, and 36pt).
  5. Bold (CTRL or CMD + B)
  6. Italic (CTRL or CMD + I)
  7. Align left - By default, the paragraph is left aligned. Using this button will align the text to the left where it's flushed with the left margin. 
  8. Align center - Align the text to the center of the paragraph horizontally between the side margins.
  9. Align right - Align the text to the right where it's flushed with the right margin. 
  10. Justify - Give your text straight edges on both sides of the paragraph. Justifying extends each line of your text from the left margin to the right margin. Justifying text might make the last text in a paragraph considerably shorter than the other lines. 
  11. More shortcuts - Expand the toolbar by clicking on the ellipsis (three dots) to view additional shortcuts.
    WYSIWYG Resource Note Expanded.png
  12. Insert/remove bulleted list - Turn selected text into bulleted list, or start a new bulleted list. This is useful when listing points in no particular order. 
  13. Insert/remove numbered list - Turn selected text into a numbered list, or start a new numbered list. This is useful when points have an order. 
  14. Insert or edit image - Adds an inline image to content.
  15. Reference ranges - Insert a predefined reference range by searching the list. Learn more about reference ranges.
  16. Source code - Gives you access to insert or edit the HTML code for the text field. You can make edits directly in the source code, but any code that attempts to override set styles or formats will be removed when the page is published.
  17. Preview - Opens a popup window to view the content. This can also be accessed by accessing File > Preview or View content > Preview.
  18. Fullscreen - Allows you to see the single WYSIWYG editor in full-screen mode. You can use this tool if you prefer a larger field of view of the field you're working on. 

Images can only be inserted in the resource note editor.

Menus in the item resource note editor module

  • Using the file menu, you can preview the content created in the WYSIWYG editor.

    Resource Note Toolbar - File Menu.png

    • Preview - Opens a popup window to view the content. This can also be accessed by accessing View content > Preview.
  • Using the edit menu, you can select from a list of basic commands and shortcuts to use. 

    Resource Note Toolbar - Edit Menu.png

    • Undo (CTRL or CMD + Z) - Undo the last action in the editor. 
    • Redo (CRTL or CMD + Y) - Redo the last action in the editor. 
    • Cut (CRTL or CMD + X) - Removes the selected text and enables you to paste it somewhere else.
    • Copy (CRTL or CMD + C) - Copies the selected text, but does not remove it, and enables you to paste it somewhere else. 
    • Paste (CRTL or CMD + V) - Inserts the most recently copied or cut content where your cursor is. 
    • Paste as text - When enabled, formatted text will paste as plain text and unformatted. When disabled, the pasted text will attempt to retain the original formatting. By default, paste as text is enabled. 
    • Select all (CTRL or CMD + A) - Select the entire content in the text field. 
  • Using the view menu, you can see the source code of the text field, enable/disable visual aids, preview the content and expand the text field to the full screen.

    Resource Note Toolbar - View Menu.png

    • Source code - Gives you access to insert or edit the HTML code for the text field. You can make edits directly in the source code, but any code that attempts to override set styles or formats will be removed when the page is published.
    • Visual aids - Enable or disable guidelines and invisible elements. By default, visual aids are enabled.
    • Preview - Opens a popup window to view the content. This can also be accessed by accessing File > Preview.
    • Fullscreen - Allows you to see the single WYSIWYG editor in full-screen mode. You can use this tool if you prefer a larger field of view of the field you're working on.
  • Using the insert menu, you can insert images and tables. 

    Resource Note Toolbar - Insert Menu.png

    • Image... - Select an image from the list of images in the resource library
    • Table - Insert a table by hovering over the cells required and clicking on the table grid to confirm the table selection. You can also access table settings by accessing the table menu. Read more about the shortcut configurations in the table formatting article.
  • The WYSIWYG editor has various formatting options for presenting and customising font styles. Typically, font styles are represented by HTML code but with the format menu in the WYSIWYG editor, you can simply highlight the text requiring change and edit it with the help of the following options: 

    Resource Note Toolbar - Format Menu.png

    • Bold (CTRL or CMD + B)
    • Italic (CTRL or CMD + I)
    • Underline (CTRL or CMD + U) - Insert a horizontal line underneath the selected text.
    • Strikethrough - Insert a horizontal line across the selected text. 
    • Superscript - Number or text that appears above the normal baseline. For example, reference1.
    • Subscript - Number or text that appears below the normal baseline. For example, CO2.
    • Code - Gives you access to insert or edit the HTML code for the text field. You can make edits directly in the source code, but any code that attempts to override set styles or formats will be removed when the page is published.
    • Formats - Select from a list of predetermined paragraph formatting styles such as headings, inline, blocks and alignment to customise the content. This can help you segregate various sections in the text field.
    • Blocks - Select from a list of predetermined block styles such as headings and paragraphs to customise the content. 
    • Fonts - Select from a predetermined list of fonts (Andale Mono, Arial, Arial Black, Book Antiqua, Comic Sans MS, Courier New, Georgia, Helvetica, Impact, Symbol, Tahoma, Terminal, Times New Roman, Trebuchet MS, Verdana, Webdings, Wingdings).
    • Font sizes - Select the font size from a predetermined list of font sizes (8, 10, 12, 14, 18, 24, and 36pt).
    • Align - Select the alignment of the text (left, center, right or justify).
    • Line height - Adjust the height of each line by a predetermined selection (1, 1.1, 1.2, 1.3, 1.4, 1.5, 2).
    • Text color - Adjust the color of the text by selecting the predetermined selection or using the color picker tool. 
    • Background color - Adjust the color of the background of the text by selecting the predetermined selection or using the color picker tool. 
    • Clear formatting - Removes all formatting codes, such as bold, italic, underline, and strikethrough, and resets all formatting to the default formatting settings. This tool is helpful when you want to use it on a large amount of text. 
  • Using the tools menu, you can view the page source code. 

    Resource Note Toolbar - Tools Menu.png

    • Source code - Gives you access to insert or edit the HTML code for the text field. You can make edits directly in the source code, but any code that attempts to override set styles or formats will be removed when the page is published.
  • Using the table menu, you can insert and edit tables, table cells, columns, and rows. You can also insert a table by accessing the insert menu > table. Read more about the shortcut configurations in the table formatting article.

    Resource Note Toolbar - Table Menu.png

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.