init web ems all
This commit is contained in:
16
phpMyAdmin/js/transformations/xml_editor.js
Executable file
16
phpMyAdmin/js/transformations/xml_editor.js
Executable file
@@ -0,0 +1,16 @@
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* XML editor plugin
|
||||
*
|
||||
* @package PhpMyAdmin
|
||||
*/
|
||||
AJAX.registerOnload('transformations/xml_editor.js', function () {
|
||||
$('textarea.transform_xml_editor').each(function () {
|
||||
CodeMirror.fromTextArea(this, {
|
||||
lineNumbers: true,
|
||||
indentUnit: 4,
|
||||
mode: 'application/xml',
|
||||
lineWrapping: true
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user