Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Text editor FAQ.

Text editor FAQ: Difference between revisions

From MoodleDocs
(discussion link)
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{stub}}==How to increase the amount of text==
{{Editing text}}
==I can't find the option to do......==
 
Click the computer screen icon at the far right of the top row. It will say "Toggle fullscreen mode" when you hover over it. The editor will now appear in a pop-up with the full range of options available (e.g. tables).
 
==Can I customize the text editor or add other icons like an anchor or horizontal rule?==
In Moodle 2.4 out in December 2012, you will be able to customise the text editor. See MDL-35172
 
Until you upgrade to 2.4:
Edit one of the toolbar defs in yourmoodle/lib/editor/tinymce/lib.php.
E.g. In the sample entry below, 'hr' is added just before 'image'
'theme_advanced_buttons3' => "bullist,numlist,outdent,indent,|,link,unlink,moodlenolink,|,hr,image,{$xemoticon}{$xmedia}{$xdragmath}nonbreaking,charmap",
 
==The Text editor does not appear==
 
Check the following points (in no particular order);
 
* Is the TinyMCE HTML editor enabled in ''Settings > Site administration > Plugins > Text editors > Manage editors''?
* Is 'Use HTML editor' set in ''Settings > My profile settings > Edit profile''?
* Is JavaScript enabled for my browser?
 
==How can I enable a spell-check?==
 
The default spell engine is Google spell. This can be changed in ''Settings>Site administration>Plugins>Text editors>TinyMCE HTML editor''. It is possible also to use PSpell or PspellShell. Spell To use spell checking you need to install aspell 0.50 or later on your server, and enter the correct path to access the aspell binary in ''Administration > Server > [[System paths]]''.
 
==How we can disable the spell check button for specific instances in a quiz?==
The spell check is very handy for most circumstances but a quiz where you are looking at spelling and punctuation in student responses kind of defeats the purpose of the question. You can use the theme CSS files to disable the button on a specific question type. Try:
 
  .essay div[title='Spell-check'] {
  display:none;
  }
 
The spell check button should be displayed everywhere '''except''' on the essay question type response box.
 
Suggested by Joshua Westerway.
 
==What is the biggest chunk of text you can edit?==
Maximum size of the forum post text (mysql) is 65535 characters or less if you use multibyte characters. From a forum post, http://moodle.org/mod/forum/discuss.php?d=203023#p885758


==See also==
==See also==


*Using Moodle [http://moodle.org/mod/forum/view.php?f=224 HTML editor forum]
*Using Moodle [http://moodle.org/mod/forum/view.php?f=224 HTML editor forum]
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=103418 Students can't upload files using HTML editor] forum discussion


[[Category:HTML editor]]
[[Category:FAQ]]
[[Category:FAQ]]
[[de:Text-Editor FAQ]]

Latest revision as of 21:07, 3 January 2013

I can't find the option to do......

Click the computer screen icon at the far right of the top row. It will say "Toggle fullscreen mode" when you hover over it. The editor will now appear in a pop-up with the full range of options available (e.g. tables).

Can I customize the text editor or add other icons like an anchor or horizontal rule?

In Moodle 2.4 out in December 2012, you will be able to customise the text editor. See MDL-35172

Until you upgrade to 2.4: Edit one of the toolbar defs in yourmoodle/lib/editor/tinymce/lib.php. E.g. In the sample entry below, 'hr' is added just before 'image' 'theme_advanced_buttons3' => "bullist,numlist,outdent,indent,|,link,unlink,moodlenolink,|,hr,image,{$xemoticon}{$xmedia}{$xdragmath}nonbreaking,charmap",

The Text editor does not appear

Check the following points (in no particular order);

  • Is the TinyMCE HTML editor enabled in Settings > Site administration > Plugins > Text editors > Manage editors?
  • Is 'Use HTML editor' set in Settings > My profile settings > Edit profile?
  • Is JavaScript enabled for my browser?

How can I enable a spell-check?

The default spell engine is Google spell. This can be changed in Settings>Site administration>Plugins>Text editors>TinyMCE HTML editor. It is possible also to use PSpell or PspellShell. Spell To use spell checking you need to install aspell 0.50 or later on your server, and enter the correct path to access the aspell binary in Administration > Server > System paths.

How we can disable the spell check button for specific instances in a quiz?

The spell check is very handy for most circumstances but a quiz where you are looking at spelling and punctuation in student responses kind of defeats the purpose of the question. You can use the theme CSS files to disable the button on a specific question type. Try:

 .essay div[title='Spell-check'] {
 display:none;
 }

The spell check button should be displayed everywhere except on the essay question type response box.

Suggested by Joshua Westerway.

What is the biggest chunk of text you can edit?

Maximum size of the forum post text (mysql) is 65535 characters or less if you use multibyte characters. From a forum post, http://moodle.org/mod/forum/discuss.php?d=203023#p885758

See also