Text editor FAQ: Difference between revisions

From MoodleDocs
(keyboard shortcuts)
 
(42 intermediate revisions by 10 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..." ==
For TinyMCE, click the three dots on the right.


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).  
[[File:TinyExpand.png]]


==Can I customize the text editor or add other icons like an anchor or horizontal rule?==
If you areusing the [[Atto editor]], click the icon top left of the Text editor toolbar to get more options.
In Moodle 2.4 out in December 2012, you will be able to customise the text editor. See MDL-35172


==The Text editor does not appear==
[[File:AttoExpand.png]]
==I am missing some buttons in TinyMCE that I had in Atto==
Explore the [https://moodle.org/plugins/?q=Editors contributed editor plugins in the Plugins directory,] bearing in mind that TinyMCE is a newly updated editor for which developers have only recently begun to contribute plugins.
==Can I change editors?==
Depending on the editors available from Site administration > Plugins > Text editors > Manage editors, you should be able to change your preferred editor by clicking the arrow top right next to your profile > Preferences > Editor preferences.


Check the following points (in no particular order);
[[File:42editor.jpg]]


* Is the TinyMCE HTML editor enabled in ''Settings > Site administration > Plugins > Text editors > Manage editors''?
==Can I customize the text editor?==
* 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?==
For TinyMCE, you can enable or disable some of the tools and buttons in Site administration > Plugins > TinyMCE editor > General settings.


'''NOTE:'''
For Atto, you can set the toolbar config in Site administration > Plugins > Text editors > Atto toolbar settings.
While the default spell engine is Google spell which  can be changed in ''Settings>Site administration>Plugins>Text editors>TinyMCE HTML editor'', this is no longer supported by Google and will not work. It is due to  be removed. See MDL-38867. In browser spell check is recommended.


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]]''.
==The Text editor does not appear==
 
Check the following:
==How we can disable the spell check button for specific instances in a quiz?==
* Is JavaScript enabled for my browser?
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:
* 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''?
  .essay div[title='Spell-check'] {
==How can I enable a spell-check?==
  display:none;
It is recommended to use an in-browser spell checker.
  }
 
The spell check button should be displayed everywhere '''except''' on the essay question type response box.
 
Suggested by Joshua Westerway.


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?==
==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
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?==
==Are there any keyboard shortcuts?==
Here are some TinyMCE keyboard shortcuts (particularly useful when using the collapsed editor)
With the TinyMCE editor, clicking on Help in the toolbar (or Alt + 0) will display a list of keyboard shortcuts and options for keyboard navigation.
*ctrl+z Undo
==Any further questions?==
*ctrl+y Redo
Please post in the [http://moodle.org/mod/forum/view.php?f=224 Text editor forum] on moodle.org
*ctrl+b Bold
*ctrl+i Italic
*ctrl+u Underline
*ctrl+1-6 h1-h6
*ctrl+7 p
*ctrl+8 div
*ctrl+9 address
 
==See also==
 
*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]]

Latest revision as of 09:44, 6 September 2023

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

For TinyMCE, click the three dots on the right.

TinyExpand.png

If you areusing the Atto editor, click the icon top left of the Text editor toolbar to get more options.

AttoExpand.png

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

Explore the contributed editor plugins in the Plugins directory, bearing in mind that TinyMCE is a newly updated editor for which developers have only recently begun to contribute plugins.

Can I change editors?

Depending on the editors available from Site administration > Plugins > Text editors > Manage editors, you should be able to change your preferred editor by clicking the arrow top right next to your profile > Preferences > Editor preferences.

42editor.jpg

Can I customize the text editor?

For TinyMCE, you can enable or disable some of the tools and buttons in Site administration > Plugins > TinyMCE editor > General settings.

For Atto, you can set the toolbar config in Site administration > Plugins > Text editors > Atto toolbar settings.

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?

With the TinyMCE editor, clicking on Help in the toolbar (or Alt + 0) will display a list of keyboard shortcuts and options for keyboard navigation.

Any further questions?

Please post in the Text editor forum on moodle.org