File adding support, editor enhancements, JS improved.
This commit is contained in:
parent
50b377d08c
commit
81dc74a175
4 changed files with 83 additions and 41 deletions
|
@ -50,7 +50,7 @@ $(document).ready(function () {
|
|||
const Editor = ace.edit('editor');
|
||||
const Modelist = ace.require('ace/ext/modelist')
|
||||
|
||||
Editor.setTheme('ace/theme/github');
|
||||
Editor.setTheme('ace/theme/chrome');
|
||||
Editor.getSession().setMode(Modelist.getModeForPath('{{ $stat->name }}').mode);
|
||||
Editor.getSession().setUseWrapMode(true);
|
||||
Editor.setShowPrintMargin(false);
|
||||
|
|
Reference in a new issue