This commit is contained in:
lisida 2019-02-14 19:07:42 +08:00
parent 853b20b6d4
commit 82034913bd

View File

@ -144,6 +144,7 @@
<script src="https://cdn.bootcss.com/ace/1.4.2/ace.js"></script>
<script type="text/javascript">
var editor = ace.edit("editor");
var error_empty = <?php echo empty($error); ?>;
editor.setTheme("ace/theme/monokai");
editor.session.setMode("ace/mode/json");
editor.on('change', function (e) {