Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Text editor FAQ.

Text editor FAQ: Difference between revisions

From MoodleDocs
(customising toolbar)
No edit summary
(36 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Editing text}}
{{Editing text}}
==I can't find the option to do......==
==How to expand menu for more feature options - or "I can't find the option to..." ==


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).  
Click the icon top left of the Text editor toolbar. It will expand the toolbar to give another row with more options.
 
[[File:Attoexpandmenu.jpg]]
 
==I am missing some buttons in Atto that I had in TinyMCE==
 
The range of buttons available in Atto can be set by the site administrator.  These are set in 'Site administration>Plugins>Text editors>Atto HTML editor>Atto toolbar settings''.
 
If a feature you need that was available in the previous TinyMCE editor is  not available, there may be an Atto editor plugin for that purpose.  For instance, there is a plugin for [https://moodle.org/plugins/view.php?plugin=atto_morefontcolors adding colours] and also a plugin for adding a [https://moodle.org/plugins/view.php?plugin=atto_hr horizontal rule.] 
 
Check the Editors section of the Plugins database for more: https://moodle.org/plugins/browse.php?list=category&id=53
 
==How can I have the Atto toolbar always expanded?==
In ''Site administration>Plugins>Text editors>Atto HTML editor>Atto toolbar settings'', scroll to the Toolbar config  box and remove the setting 'collapse = collapse'. Save the changes.
 
==Can I switch back to the TinyMCE editor from Atto?==
 
An administrator can also allow the TinyMCE Editor to be used by setting ''Site Administration > Plugins > Text editors > Manage editors'' and allow a user to switch from using Atto back to using TinyMCE by choosing Text editor setting in the Preferences section of their user profile.
 
Administrator view with both editors enabled:
[[File:siteadminmanageditors.png]]
 
Where to switch in your user profile:
 
[[File:userprofileswitchtexteditor.png]]


==Can I customize the text editor or add other icons like an anchor or horizontal rule?==
==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
 
Yes - see the section on customising the editor toolbar in [[Text editor]] and see the FAQ above about missing buttons.
 
==Where is the full screen button in Atto?==
The Atto designers decided not to include a full screen button in order to save space on the toolbar, and because of accessibility issues.
 
However, you can add this functionality with the Full screen plugin: https://moodle.org/plugins/view.php?plugin=atto_fullscreen


==The Text editor does not appear==
==The Text editor does not appear==


Check the following points (in no particular order);
Check the following:


* 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?
* Is JavaScript enabled for my browser?
* Are the Atto (or TinyMCE) editors enabled in ''Administration > Site administration > Plugins > Text editors > Manage editors''?
* Are the Atto or (TinyMCE) editors set in ''Administration > My profile settings > Edit profile > Text editor''?


==How can I enable a spell-check?==
==How can I enable a spell-check?==


If you want the HTML editor to have a spell-check button, 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]]''.
It is recommended to use an in-browser spell checker.


==How we can disable the spell check button for specific instances in a quiz?==
If you are using the [[TinyMCE editor]] the older spell engine settings are available in ''Administration>Site administration>Plugins>Text editors>TinyMCE HTML editor>Legacy spell checker'' (To use PSpell or PspellShell 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]]''.)
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'] {
==What is the biggest chunk of text you can edit?==
  display:none;
  }


The spell check button should be displayed everywhere '''except''' on the essay question type response box.  
For practical purposes, the limit is the same as that set for the Moodle file uploads to the site in ''Site administration > Security > Site policies > Maximum upload size''. Technically, this is set in the PHP value post_max_size but can also be effected by the max_input_vars setting as well.


Suggested by Joshua Westerway.
==Are there any keyboard shortcuts?==
Here are some keyboard shortcuts (particularly useful when using the collapsed editor)


==What is the biggest chunk of text you can edit?==
{| class="wikitable"
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
! Shortcut
! Meaning
|-
| ctrl+z
| Undo
|-
|-
|ctrl+y
|Redo
|-
|ctrl+b
|Bold
|-
|ctrl+i
|Italic
|-
|ctrl+u
|Underline
|-
|ctrl+k
|Insert/edit link
|-
|ctrl+1-6
|h1-h6
|-
|ctrl+7
|p
|-
|ctrl+8
|div
|-
|ctrl+9
|address
|}


==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 Text editor forum]


[[Category:FAQ]]
[[Category:FAQ]]
[[de:Text-Editor FAQ]]
[[de:Text-Editor FAQ]]
[[es:Editor de texto FAQ]]
[[fr:FAQ sur l'éditeur de texte]]

Revision as of 12:49, 3 May 2019

How to expand menu for more feature options - or "I can't find the option to..."

Click the icon top left of the Text editor toolbar. It will expand the toolbar to give another row with more options.

Attoexpandmenu.jpg

I am missing some buttons in Atto that I had in TinyMCE

The range of buttons available in Atto can be set by the site administrator. These are set in 'Site administration>Plugins>Text editors>Atto HTML editor>Atto toolbar settings.

If a feature you need that was available in the previous TinyMCE editor is not available, there may be an Atto editor plugin for that purpose. For instance, there is a plugin for adding colours and also a plugin for adding a horizontal rule.

Check the Editors section of the Plugins database for more: https://moodle.org/plugins/browse.php?list=category&id=53

How can I have the Atto toolbar always expanded?

In Site administration>Plugins>Text editors>Atto HTML editor>Atto toolbar settings, scroll to the Toolbar config box and remove the setting 'collapse = collapse'. Save the changes.

Can I switch back to the TinyMCE editor from Atto?

An administrator can also allow the TinyMCE Editor to be used by setting Site Administration > Plugins > Text editors > Manage editors and allow a user to switch from using Atto back to using TinyMCE by choosing Text editor setting in the Preferences section of their user profile.

Administrator view with both editors enabled: siteadminmanageditors.png

Where to switch in your user profile:

userprofileswitchtexteditor.png

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

Yes - see the section on customising the editor toolbar in Text editor and see the FAQ above about missing buttons.

Where is the full screen button in Atto?

The Atto designers decided not to include a full screen button in order to save space on the toolbar, and because of accessibility issues.

However, you can add this functionality with the Full screen plugin: https://moodle.org/plugins/view.php?plugin=atto_fullscreen

The Text editor does not appear

Check the following:

  • Is JavaScript enabled for my browser?
  • Are the Atto (or TinyMCE) editors enabled in Administration > Site administration > Plugins > Text editors > Manage editors?
  • Are the Atto or (TinyMCE) editors set in Administration > My profile settings > Edit profile > Text editor?

How can I enable a spell-check?

It is recommended to use an in-browser spell checker.

If you are using the TinyMCE editor the older spell engine settings are available in Administration>Site administration>Plugins>Text editors>TinyMCE HTML editor>Legacy spell checker (To use PSpell or PspellShell 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.)

What is the biggest chunk of text you can edit?

For practical purposes, the limit is the same as that set for the Moodle file uploads to the site in Site administration > Security > Site policies > Maximum upload size. Technically, this is set in the PHP value post_max_size but can also be effected by the max_input_vars setting as well.

Are there any keyboard shortcuts?

Here are some keyboard shortcuts (particularly useful when using the collapsed editor)

Shortcut Meaning
ctrl+z Undo
ctrl+y Redo
ctrl+b Bold
ctrl+i Italic
ctrl+u Underline
ctrl+k Insert/edit link
ctrl+1-6 h1-h6
ctrl+7 p
ctrl+8 div
ctrl+9 address

See also