Contents

  • 1 The Atto text editor
  • 2 Atto features
    • 2.1 Image copy and paste
    • 2.2 Image drag and drop
    • 2.3 Autosave
  • 3 Atto editor toolbar
    • 3.1 Manage embedded files
    • 3.2 Accessibility checker
    • 3.3 Screenreader helper
    • 3.4 Equation editor
    • 3.5 Table editor
  • 4 Keyboard shortcuts
  • 5 Site administration settings
    • 5.1 Toolbar settings
      • 5.1.1 Toolbar config table
    • 5.2 Adding extra buttons
      • 5.2.1 Autosave frequency
      • 5.2.2 Non default Atto plugins
        • 5.2.2.1 Emoji picker
        • 5.2.2.2 Emoticons
        • 5.2.2.3 No-auto link
        • 5.2.2.4 Right to left
      • 5.2.3 LMS plugins directory
      • 5.2.4 Background colour / Font colour
        • 5.2.4.1 Cloze editor for Atto
        • 5.2.4.2 Toggle preview
        • 5.2.4.3 Chemistry plugins
        • 5.2.4.4 Text import plugins
    • 5.3 Equation editor settings
    • 5.4 Table editor settings
  • 6 See also

The Atto text editor

The Atto text editor (sometimes referred to as the 'HTML editor') has many icons to assist the user in entering content. Many of these icons and functions should be familiar to anyone who uses a word processor.

Some examples of where you will see the text editor include: Editing Section headings, description of an activity, writing an answer to a quiz question or editing the content of many blocks.

The default text editor in LMS is the Atto editor, built specifically for LMS. There is also a TinyMCE editor and a plain text editor.

Text editors can be enabled, disabled or a different one set to default from Administration > Site administration > Plugins > Text editors > Manage editors. The order of priority may also be specified here.

If more than one text editor is enabled, users can select their preferred editor via their preferences page in the user menu (top right).

Atto features

Image copy and paste

Images can be copied from anywhere and pasted into the Atto editor. For example, you can take a screenshot, copy it to your clipboard and then paste it into the Atto editor.

Image drag and drop

If your browser allows it (and if it does, you will see a message at the top of your screen when the editing is on) you can add images into the Atto editor simply by dragging them from your computer:

Autosave

Text typed into the Atto editor is automatically saved if you leave the page. The default of 60 seconds may be changed by the administrator in Site administration>Plugins>Text editors>Atto HTML editor>Atto toolbar settings. If the user accidentally closes the tab or otherwise leaves the form without submitting, the text in the editor will be restored next time he opens the page. To discard a restored draft, the user needs to cancel the form or press the "Undo" button in the editor.

Atto editor toolbar

Attotopline1382.png

Atto Row 1 default buttons

1. Expand2. Style3. Bold4. Italic
5. Bulleted list6. Numbered list7. Add link8. Unlink
9. Add image10. Add smiley (if enabled)11. Add media12. Record audio
13. Record video14. Manage embedded files15. H5P

Attobottomline.png

Atto Row 2 default buttons

1. Underline2. Strikethrough3. Subscript4. Superscript
5. Align left/centre/right6. Decrease/increase indent7. Equation editor8. Special character
9. Table10. Clear formatting11. Undo/redo12. Accessibility checker
13. Screenreader helper14. HTML/code view

Manage embedded files

This allows users to add, delete or override files embedded in the current text area, for example in a label or topic summary. (It complements the Embedded files repository)

Accessibility checker

One of the tools available in the text editor is an automated accessibility checker which checks for some common errors in the text. These are usually things in the way the text is constructed that can prevent all users from having equal access to information and functionality. The list of problems that the accessibility checker looks for is:

  • Images with missing or empty alt text (unless they have the presentation role)
  • Contrast of font colour and background colour meets WCAG AA guidelines
  • Long blocks of text are sufficiently broken up into headings
  • All tables require captions
  • Tables should not contain merged cells as they are difficult to navigate with screen readers
  • All tables should contain row or column headers

Screenreader helper

Screen readers basically treat a content editable region like a text box - which is wrong, because it can contain images, links and more.

The screen reader helper provides additional information about the currently selected text (e.g. is it bold), as well as a listing of any images or links in the text.

Equation editor

If either the MathJax or the TeX notation filters are enabled (in Administration > Site administration > Plugins > Filters > Manage filters) then an equation editor button is provided in the toolbar for launching the equation editor.

Table editor

If the administrator has enabled the extra settings for the Atto table editor (see below) then border styling, sizing and colours are available when creating a table:

Keyboard shortcuts

The following keyboard shortcuts will work in the Atto text editor in most browsers. Note that for many of these commands to work you need to either click in the text editor or select content in the text editor.

Windows CommandMac CommandFunction
Ctrl + c⌘ + cCopy
Ctrl + v⌘ + vPaste
Ctrl + Shift + v⌘ + Shift + vPaste without formatting (very useful)
Ctrl + x⌘ + xCut
Ctrl + z⌘ + zUndo (careful - can undo a lot of text and doesn't always work)
Ctrl + y⌘ + yRedo
Ctrl + a⌘ + aSelect all
Double-clickDouble-clickSelect word
Triple-clickTriple-clickSelect line
Ctrl + f⌘ + fFind on page
F3F3Find next
Shift + F3Shift + F3Find previous
Ctrl + b⌘ + bBold
Ctrl + i⌘ + iItalics
Ctrl + u⌘ + uUnderline
Ctrl + k⌘ + kInsert/edit link
Ctrl + Right arrow⌘ + Right arrowMove to the end of the next word
Ctrl + Left arrow⌘ + Left arrowMove to the end of the previous word
Ctrl + Shift + Right arrow⌘ + Shift + Right arrowSelect the next word or letter
Ctrl + Shift + Left arrow⌘ + Shift + Left arrowSelect the previous word or letter
Ctrl + Shift + Home⌘ + Shift + HomeSelect from the cursor to the beginning of the page
Ctrl + Shift + End⌘ + Shift + EndSelect from the cursor to the end of the page
Ctrl + Home⌘ + HomeMove to the beginning of the page
Ctrl + End⌘ + EndMove to the end of the page
Ctrl + Backspace⌘ + BackspaceDelete word or letter to the left
Ctrl + Delete⌘ + DeleteDelete word or letter to the right
Ctrl and +⌘ and +Zoom in (not specific to the editor, but very useful)
Ctrl and -⌘ and -Zoom out (not specific to the editor, but very useful)
Ctrl and 0⌘ and 0Reset zoom (not specific to the editor, but very useful)

Source: Jason 1keddie, Royal Roads University (Creative Commons Attribution-ShareAlike)

Site administration settings

Toolbar settings

The administrator can specify which plugins to display and in which order from Administration > Site administration > Plugins > Text editors > Atto HTML editor > Atto toolbar settings.

Atto Plugins

Toolbar config table

The toolbar is split into groups of related buttons. The format for the config setting is:

groupname1 = button1, button2, button3 groupname2 = button1, button2, button3

The group names on the left have no effect on how the toolbar works; they just need to be different for each button (and no spaces please). The list of buttons says which button goes in which group and in what order. The exact word to insert here for each button is listed in the "Toolbar config" column above.

The reason there are names for the groups is that it helps to make you think about how to group the buttons sensibly and not just stick new buttons in random locations. Ie. all the buttons in the "files" group interact with the file picker in some way

Adding extra buttons

Extra plugins (for example the contributed plugin 'Font color') may be added (once installed) by typing the toolbarconfig term into the toolbar config table.

toolbarconfig.png

Here for example are the available colours when 'fontcolor' is added:

fontcolor.png

The icons are displayed in related groups and the administrator can decide how many groups to display in the default collapsed state of the toolbar (that is, how many groups to display on Row 1).

Autosave frequency

Text is automatically saved at regular intervals so it may be restored when the user returns to a form they had previously left. This setting allows the administrator to specify the time between autosaves. The default is one minute.

Non default Atto plugins

Not all plugins are enabled by default and the administrator of each site should give careful thought as to which plugins they choose to enable for their users. Here are some things to consider before enabling the non-default plugins:

Emoji picker

An emoji picker button may be added by typing 'emojipicker' into the toolbar config table.

Toolbar with emoji picker button

To add the emoji picker button to the top row:

  1. Enter the line emoji = emojipicker under the line files = image, emoticon, media, managefiles, recordrtc, h5p
  2. Go to 'Collapse toolbar settings' and change 'Show first (n) groups when collapsed' to 6 and save changes.
Emoticons

The emoticon plugin inserts text representations of the emoticons in the content. The emoticon filter is responsible for converting these text sequences into proper smiley images. The emoticon filter is not enabled by default, which is why the emoticon plugin for Atto is not enabled by default.

No-auto link

In general, the more plugins are added to the Atto toolbar, the harder it becomes to find specific plugins. Because the no-auto link plugin is not felt to be widely used it is not enabled by default.

Right to left

Because this plugin is only useful for courses where text needs to be written in a mixture of both "left to right" and "right to left" languages, it is not enabled by default.

LMS plugins directory

There are more plugins available for Atto than just those included in a default install. See the LMS plugins directory for additional plugins. Some example plugins include the following:

Background colour / Font colour

While these are very popular plugins, there are downsides to enabling their use on a site. Firstly - user specified colours may conflict visually with the site colours chosen by the theme designer. Even if the colours of the content do not conflict with the colours of the current theme, if the theme is changed in future, or the content is reused on a different site conflicts may be introduced. There are 2 possible types of conflicts, the first is just a visually unappealing combination of colours, the second is a combination of colours that may produce text that is hard to read for some people. It is preferable if the theme designer uses some interesting colours that meet the accessibility standards required for the site in the theme for the site, and the person creating the content simply uses the proper heading levels (for example) to make use of those styles.

Cloze editor for Atto

This is a plugin for easily making Embedded Answers (Cloze) question type questions inside the standard LMS Atto text editor.

Toggle preview

This plugin allows you view the content as it would be seen by a reader.

Chemistry plugins

There are a number of chemistry plugins that support chemistry equations and structures.

Text import plugins

There are a number of plugins that support importing text from other sources. The Paste special plugin minimises the amount of superfluous HTML markup included when pasting content from an external editor such as Microsoft Word.

The Word Import plugin (beta) supports importing an entire Word document, including embedded images.

Equation editor settings

Equation editor commands may be removed, added or reordered in Administration > Site administration > Plugins > Text editors > Atto HTML editor > Equation editor settings.

equationeditor.png

Table editor settings

Styles, colours and sizes for tables and their borders may be enabled from Administration > Site administraton >Plugins > Test editors > Atto HTML editor > Table settings.