MDL-5671 html editor can now be switched off on the fly while editing database templates; removed editor button from js and css template
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
}
|
||||
echo '</select>';
|
||||
echo '<br /><br /><br /><br /><input type="submit" name="defaultform" value="'.get_string('resettemplate','data').'" />';
|
||||
if (can_use_html_editor()) {
|
||||
if (can_use_html_editor() && ($mode != 'csstemplate') && ($mode != 'jstemplate')) {
|
||||
echo '<br /><br />';
|
||||
if ($editor) {
|
||||
$switcheditor = get_string('editordisable', 'data');
|
||||
|
||||
Reference in New Issue
Block a user