Initial commit
This commit is contained in:
16
#pma/js/transformations/xml_editor.js
Normal file
16
#pma/js/transformations/xml_editor.js
Normal 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