Files

17 lines
412 B
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
/* 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
});
});
});