You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
323 B
12 lines
323 B
extends ./editor_template
|
|
block content
|
|
pre#editor #{prettyd}
|
|
|
|
block scripts
|
|
script(src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/ace.js")
|
|
script.
|
|
const editor = ace.edit('editor');
|
|
editor.setTheme(window.devbug_editor_theme);
|
|
editor.session.setMode('ace/mode/json');
|
|
editor.setOption('readOnly', true);
|