First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* JSON syntax highlighting transformation plugin
|
||||
*
|
||||
* @package PhpMyAdmin
|
||||
*/
|
||||
AJAX.registerOnload('transformations/json_editor.js', function () {
|
||||
$('textarea.transform_json_editor').each(function () {
|
||||
CodeMirror.fromTextArea(this, {
|
||||
lineNumbers: true,
|
||||
matchBrackets: true,
|
||||
indentUnit: 4,
|
||||
mode: 'application/json',
|
||||
lineWrapping: true
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user