Text editor FAQ: Difference between revisions

From MoodleDocs
m (added link to spanish translation of page)
 
(36 intermediate revisions by 7 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.


Yes - see the section on customising the editor toolbar in [[Text editor]].
[[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.


==The Text editor does not appear==
[[File: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.


Check the following points (in no particular order);
For Atto, you can set the toolbar config in Site administration > Plugins > Text editors > Atto toolbar settings.


* Is the TinyMCE HTML editor enabled in ''Administration > Site administration > Plugins > Text editors > Manage editors''?
==The Text editor does not appear==
* Is 'Use HTML editor' set in ''Administration > My profile settings > Edit profile''?
Check the following:
* 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?==
It is recommended to use an in-browser spell checker.


'''NOTE:'''
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]]''.)
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. 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]]''.
 
==How to use Firefox spell-check==
TinyMCE HTML editor replaces Right Click with their own menu, but if you do CTRL + Right Click, you got the old menu, or in case it's active the helper from TinyMCE that points to this shortcut.
 
==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?==
==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.
 
==Any further questions?==
{| class="wikitable"
Please post in the [http://moodle.org/mod/forum/view.php?f=224 Text editor forum] on moodle.org
! 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==
 
*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]]
[[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