forked from mirror/pixelfed
Update config view
This commit is contained in:
parent
4630b4c2c8
commit
0b20082b73
1 changed files with 2 additions and 2 deletions
|
@ -32,12 +32,12 @@
|
|||
@endsection
|
||||
@if($editor == true)
|
||||
@push('scripts')
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.4/ace.js"></script>
|
||||
<script src="{{mix('js/ace.js')}}"></script>
|
||||
<script>
|
||||
let editor = ace.edit("editor");
|
||||
editor.session.setUseWrapMode(true);
|
||||
editor.setTheme("ace/theme/monokai");
|
||||
editor.session.setMode("ace/mode/javascript");
|
||||
editor.session.setMode("ace/mode/dot");
|
||||
|
||||
$('.btn-restore').on('click', function(e) {
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue