I am trying to embed ace code editor in my project. I initialize my code editor with the following code, and now I want to enable emmet js . I can see that the ext-emmet.js extension is already them in the src ace.js directory of the pre-packaged version
I need help enabling emmet extension features . So here is my initialization code.
var e = ace.edit("editorId"); // id of the code editor div e.setTheme("ace/theme/monokai"); e.getSession().setMode("ace/mode/html"); e.setBehavioursEnabled(true); e.getSession().setTabSize(2);
Obviously I'm adding ace.js on top of the page. If necessary, I can provide more detailed information.
source share