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

Text editor FAQ: Difference between revisions

From MoodleDocs
(→‎The HTML Editor does not appear: content copied from 19 wiki)
(copied from 2.8 docs)
 
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Be sure to see the [[HTML editor]] page for more information.
{{Editing text}}
==I can't find the option to do......==
 
Click the icon top left of the Text editor toolbar. It will expand the toolbar to give another row with more options.
 
==I am missing some buttons in Atto that I had in TinyMCE==
It may be that these have been deliberately left out because of accessibility issues or to save space. Some of these an administrator can add back via ''Site administration>Plugins>Text editors>Atto HTML editor>Atto toolbar settings'' .
Others could be added via a custom plugin if one is developed. 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 See also this forum post: https://moodle.org/mod/forum/discuss.php?d=265176#p1149721
 
==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.


==I can't find the option to do......==
==Can I customize the text editor or add other icons like an anchor or horizontal rule?==


Click the icon at the far right of the bottom row (two boxes with an arrow). It will say "Enlarge Editor" when you hover over it. The editor will now appear in a pop-up with the full range of options available (e.g. tables).  
Yes - see the section on customising the editor toolbar in [[Text editor]] and see the FAQ above about missing buttons.


==The HTML Editor does not appear==
==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.


Check the following points and/or discussions (in no particular order);
However, you can add this functionality with the Full screen plugin: https://moodle.org/plugins/view.php?plugin=atto_fullscreen


* HTMLArea only supports Firefox and Internet Explorer
==The Text editor does not appear==
* GoDaddy http://moodle.org/mod/forum/discuss.php?d=117556
* Analytics code or advertisement scripts http://moodle.org/mod/forum/discuss.php?d=117034
* Hacked site / injected code http://moodle.org/mod/forum/discuss.php?d=116374
* Editor can be disabled from Administration > Appearance > HTML editor > Use HTML editor or
* Editor can be disabled from user profile (When editing text > Use standard web forms)
* Settings of browser (javascript may be disabled)
* Some custom plugin may break source code
* Check the config.php file - remove the closing '?>' at the end (it doesn't need it). Make sure you haven't used a broken editor (anything Microsoft wrote, typically) that may have corrupted the file.


==How can I enable a spell-check?==
Check the following points (in no particular order);


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]]''.
* 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''?
* Is JavaScript enabled for my browser?


==How we can disable the spell check button for specific instances in a quiz?==
==How can I enable a spell-check?==
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'] {
It is recommended to use an in-browser spell checker.
  display:none;
  }


The spell check button should be displayed everywhere '''except''' on the essay question type response box.  
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]]''.)


Suggested by Joshua Westerway.
==What is the biggest chunk of text you can edit?==
Maximum size of the forum post text is not limited by database. The maximum text sizes depend on PHP settings related to POST request processing and available memory.


==What is new with the HTML editor in Moodle 2.0?==
==Are there any keyboard shortcuts?==
Here are some keyboard shortcuts (particularly useful when using the collapsed editor)


See [[HTML editor 2.0]].
{| class="wikitable"
! 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]
*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]]
[[es:Editor de texto FAQ]]

Latest revision as of 20:02, 3 March 2015

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

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

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

It may be that these have been deliberately left out because of accessibility issues or to save space. Some of these an administrator can add back via Site administration>Plugins>Text editors>Atto HTML editor>Atto toolbar settings . Others could be added via a custom plugin if one is developed. There is a plugin for adding colours and also a plugin for adding a [https://moodle.org/plugins/view.php?plugin=atto_hr%7Chorizontal rule See also this forum post: https://moodle.org/mod/forum/discuss.php?d=265176#p1149721

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 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 points (in no particular order);

  • 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?
  • Is JavaScript enabled for my browser?

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?

Maximum size of the forum post text is not limited by database. The maximum text sizes depend on PHP settings related to POST request processing and available memory.

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