MDL-41098 Atto Text editor: Add new text editor to core

This is an alternative to the TinyMCE text editor that is based on HTML5
content editable regions.

It has been designed to "gel" with Moodle and uses YUI for javascript,
Moodle standard dialogs and standard moodle buttons. It has also been designed
to work well on mobile devices and can collapse down to a narrow column if required.

Imported from the plugins database here:
https://moodle.org/plugins/view.php?plugin=editor_contenteditable

Original git repository here:
https://github.com/damyon/contenteditable
This commit is contained in:
Damyon Wiese
2013-08-26 22:16:43 +08:00
committed by Damyon Wiese
parent 51eba172e6
commit c90641facb
178 changed files with 7467 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ function editors_get_enabled() {
global $CFG;
if (empty($CFG->texteditors)) {
$CFG->texteditors = 'tinymce,textarea';
$CFG->texteditors = 'tinymce,atto,textarea';
}
$active = array();
foreach(explode(',', $CFG->texteditors) as $e) {