varbeautify=ace.require("ace/ext/beautify");// get reference to extensionvareditor=ace.edit("editor");// get reference to editorbeautify.beautify(editor.session);
I am not sure about formatting, but hope the above solution works
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What about auto formatting?
I am not sure about formatting, but hope the above solution works