core/api/modules/code/mod.js

3 lines
119 B
JavaScript
Raw Normal View History

2023-08-14 09:15:58 +05:00
var editor = ace.edit("editor");
editor.setTheme("ace/theme/monokai");
editor.session.setMode("ace/mode/javascript");