12345678910111213141516 |
- /* 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
- });
- });
- });
|