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:
committed by
Damyon Wiese
parent
51eba172e6
commit
c90641facb
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user