Text Editor

The text editor (sometimes referred to as the ‘HTML editor’ or even ‘TinyMCE’) has many icons to assist the user in entering content. Many of these icons and functions should be familiar to anyone who uses a word processor. Some examples of where you will see the text editor include: Editing Section headings, description of an activity, writing an answer to a quiz question or editing the content of many blocks.

Note: It’s possible to disable the TinyMCE editor and only use a plain text editor from Administration > Site administration > Plugins > Text editors > Manage editors.

An individual user can select an editor in their profile from Administration > My Profile settings > Edit profile.

Collapsing and expanding the editor

The TinyMCE editor first appears with just one row of buttons. Clicking the icon top left will expand it to three rows.

Toolbar buttons

For those who are not familiar with the tool bar, here are the buttons as grouped in their rows. Remember that the site administrator can edit or provide additional buttons.

Row 1

_images/row1.png
  1. Expand
  1. Formatting
  1. Bold
  1. Italic
  1. Bulleted list
  1. Numbered list
  1. Add link
  1. Unlink
  1. Stop auto linking
  1. Add image
  1. Add emoticon
  1. Add media
  1. Manage embedded files
     

Row 2

_images/row2.png
  1. Undo
  1. Redo
  1. Underline
  1. Strikethrough
  1. Subscript
  1. Superscript
  1. Align left
  1. Align centre
  1. Align right
  1. Decrease indent
  1. Increase indent
  1. Text colour
  1. Background colour
  1. Left to Right
  1. Right to Left
 

Row 3

_images/row3.png

Colour pickers

_images/colorpicker.png

There are four levels of selecting a font or background colour,

  • A quick pick 5x8 matrix of colours
  • “More colours” that links to Picker, Pallet and Named tabs
_images/color_selector1.png _images/color_selector2.png _images/color_selector3.png _images/color_selector4.png

Insert table

To add borders to a table

_images/table1.png _images/table2.png

Cell borders are crucial for helping readers to follow the rows across the screen. If they aren’t showing already you can add them as follows:

  1. In the Wiki page containing your table, click its Edit tab
  2. Carefully select all the cells of the table
  3. Then right click (Macs: Command+click or Ctrl+Click) over any part of your selection to get a context menu; from it select Cell > Table Cell Properties; the cell properties dialog box then loads.
  4. Click on its Advanced tab, set Border Color to black (for instance), then click Apply, and then click Update.
  5. Click Save; the Wiki page containing your table will then load displaying its borders.

Manage Editors

A site administrator can enable / disable text editors in Administration > Site administration > Plugins > Text editors > Manage editors. By default the TinyMCE HTML editor and plain text area are enabled.

TinyMCE HTML editor settings

The TinyMCE HTML editor has its own settings page Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor > General settings with the following options:

Plugins

  • Buttons for equations, emoticons,images, media, automatic linking, and legacy spell-checking may be enabled, disabled or uninstall here by clicking on their eye.
  • Additionally the equation, emoticon and spell check buttons have links to their Settings screens.
_images/tinymceplugin.png

Manage embedded files

This plugin allows users to add, delete or override files embedded in the current text area, for example in a label or topic summary.

_images/managefile.png

Insert equation

Accessed from Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor > Edit equation, this allows you to enable or disable the TeX filter in the editor context and thereby display the Dragmath button. If you have a global custom TeX filter, then disable this setting.

Insert emoticon

Accessed from Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor > Insert emoticon, this allows you to enable or disable the emoticon filter in the editor context and thereby display the emoticon button.

Legacy spell checker

The legacy spell checker is visible in IE9 and lower only, but not in other browsers. If you want to disable it and and rely on browser spell checker functionality instead, you can do this by disabling the legacy spellchecker plugin by clicking its eye in Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor > General settings

To spell-check via your browser, type your word (which if incorrectly spelt will have red lines under it) and press right click + CTRL

Note: NOTE: While the default spell engine is Google spell which can be changed in Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor, this is no longer supported by Google and will not work. (Note that it is only visible in IE9 and lower) It is due to be removed. In browser spell check is recommended.

If PSpell is selected then aspell 0.50 or later must be installed on your server and the path to aspell set in Administration > Site administration > Server > System Paths.

You can select a different spell engine from Administration> Site administration > Plugins > Text editors > TinyMCE HTML editor > Check spelling

“As of php 5.3. Pspell is no longer supported/bundled. Instead you can use the enchant which is bundled by default in 5.3.”

If PSpell is selected then aspell 0.50 or later must be installed on your server and the path to aspell set in Administration > Site administration > Server > System Paths.

Customising the editor toolbar

An administrator can remove or add buttons to the TinyMCE editor toolbar by altering the Editor toolbar box in Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor > General settings.

Available fonts list

In addition to the default fonts, a site administrator can add extra fonts by typing their name and string in the box in Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor>General settings

Custom configuration

A setting in Administration > Site administration > Plugins > Text editors > TinyMCE HTML editor > General settings provides a box in which an administrator can apply custom formats.