MDL-77308 core: Remove editor_tiny from core
This commit is contained in:
+3
-3
@@ -95,7 +95,7 @@ function editors_get_enabled() {
|
||||
global $CFG;
|
||||
|
||||
if (empty($CFG->texteditors)) {
|
||||
$CFG->texteditors = 'atto,tinymce,textarea';
|
||||
$CFG->texteditors = 'atto,tiny,textarea';
|
||||
}
|
||||
$active = array();
|
||||
foreach(explode(',', $CFG->texteditors) as $e) {
|
||||
@@ -114,7 +114,7 @@ function editors_get_enabled() {
|
||||
/**
|
||||
* Returns instance of text editor
|
||||
*
|
||||
* @param string $editorname name of editor (textarea, tinymce, ...)
|
||||
* @param string $editorname name of editor (textarea, tiny, ...)
|
||||
* @return object|bool texeditor instance or false if does not exist
|
||||
*/
|
||||
function get_texteditor($editorname) {
|
||||
@@ -153,7 +153,7 @@ function editors_head_setup() {
|
||||
global $CFG;
|
||||
|
||||
if (empty($CFG->texteditors)) {
|
||||
$CFG->texteditors = 'atto,tinymce,textarea';
|
||||
$CFG->texteditors = 'atto,tiny,textarea';
|
||||
}
|
||||
$active = explode(',', $CFG->texteditors);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user