Note: This documentation is for Moodle 2.7. For up-to-date documentation see Text editor.

Text editor: Difference between revisions

From MoodleDocs
m (small rewording)
m (image positioning)
Line 2: Line 2:
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.
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.


[[Image:HTMLeditor tools M2 1.png|frame|center|The standard version of the text editor tool bar]]
[[Image:HTMLeditor tools M2 1.png|thumb|The standard version of the text editor tool bar]]
 
==Video introduction to the text editor==
HTML editor in Moodle 2.0 video:
 
<mediaplayer>http://www.youtube.com/watch?v=xJE6UhqnyjU</mediaplayer>
 


==List of groups==
==List of groups==
Line 45: Line 39:


===Insert images and media===
===Insert images and media===
[[Image:HTML_editor_group_insert_MU_1.png|frame|center|The Insert images and media group]]
[[Image:HTML_editor_group_insert_MU_1.png|thumb|The Insert images and media group]]


* 1 Insert Image - uses [[File picker]]
* 1 Insert Image - uses [[File picker]]
Line 55: Line 49:
* 7 Insert Table -
* 7 Insert Table -


 
<gallery widths="300px">
====File picker ====
Image:Files_File_picker_upload_files_add_1.png|File picker Upload file screen
[[Image:Files_File_picker_upload_files_add_1.png|thumb|center|300px|Upload file screen]]
Image:HTML editor equation editor 1.png|Equation editor
 
Image:HTML_editor_custom_character_selector_1.png|Custom character selector
====Equation editor====
</gallery>
[[Image:HTML editor equation editor 1.png|thumb|center|300px|]]
 
====Custom character====
[[Image:HTML_editor_custom_character_selector_1.png|thumb|center|300px|]]


====Insert table====
====Insert table====
Line 107: Line 97:


* [[Text editor FAQ]]
* [[Text editor FAQ]]
* [http://www.youtube.com/watch?v=xJE6UhqnyjU  HTML editor in Moodle 2.0 video]


[[Category:Site administration]]
[[Category:Site administration]]
[[de:Text-Editor]]
[[de:Text-Editor]]

Revision as of 21:28, 15 August 2012

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.

The standard version of the text editor tool bar

List of groups

For those who are not familiar with the tool bar, here are the functions listed by group using the above example. Remember that the site administrator can edit or provide additonal toolbars.

Row 1

  • HTML editor group font style.png - Font, size and heading group
  • HTML editor group undo redo.png - Undo and Redo group
  • HTML editor group find replace.png - Find and Replace group
  • HTML editor group fullscreen 1.png|Full screen toggle

Row 2

  • HTML editor group text effects.png - Text effect group
  • HTML editor group line format.png - Line format group
  • HTML editor group formatting.png - Formatting group
  • HTML editor group color.png - Color group
  • HTML editor group paragraph.png - Paragraph group

Row 3

  • HTML editor group lists.png - Number and Bullets and indents
  • HTML editor group link.png - Link group
  • HTML editor group insert.png - Insert group
  • HTML editor group HTML spell.png - HTML source toggle & spellchecker

Special features

Color pickers

  • HTML editor group color.png

There are 4 levels of selecting a font or background color,

  • A quick pick 5x8 matrix of colors
  • "More colors" that links to Picker, Pallet and Named tabs

Insert images and media

The Insert images and media group
  • 1 Insert Image - uses File picker
  • 2 Insert Emoticon (only visible if the site administrator has enabled the "show emoticons as images" filter in Settings>Site administration>Plugins>Filters>Manage filters)
  • 3 Insert Media - uses File picker
  • 4 Insert Equation - uses java script editor
  • 5 Insert Non breaking space
  • 6 Insert Custom character - Special keyboard characters
  • 7 Insert Table -

Insert table

To add borders to a table

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.

Site administration settings

Manage editors

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

Spell engine

Spellengine.png

The TinyMCE HTML editor used by Moodle has Google Spell as its default spell engine (spell-checker). This can be changed by a site administrator in Settings > Site administration > Plugins > Text editors > TinyMCE HTML editor.

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

Spellcheck.png

HTML settings

A site administrator can edit the emoticons (or smileys) used in the text editor in Settings > Site administration > Appearance > HTML settings.

Available fonts list

New feature
in Moodle 2.7!
In addition to the default fonts, a site administrator can add extra fonts by typing their name and string in the box in Settings > Site administration > Plugins > Text editors > TinyMCE HTML editor as demonstrated in the screencast How to add extra fonts.

See also