feat(editor): auto indent

This commit is contained in:
hyb1996
2018-02-25 18:02:44 +08:00
parent 451960008a
commit 445bcfa462
6 changed files with 110 additions and 7 deletions

View File

@@ -2828,7 +2828,7 @@ if (typeof define === "function" && define.amd) {
function beautify(source){
return js_beautify(source, {
'indent_size': 2,
'indent_size': 4,
'e4x': true
});
}