Initial commit
This commit is contained in:
17
pma/js/dist/transformations/xml_editor.js
vendored
Normal file
17
pma/js/dist/transformations/xml_editor.js
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* 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