theme issue

This commit is contained in:
Timo 2020-12-02 12:55:37 +02:00
parent 3ebfbf41fd
commit e20011cf7c
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
<ace-editor
#editorComponent
[mode]="'text'"
[theme]="'light'"
[theme]="'tomorrow'"
[options]="aceOptions"
(textChanged)="textChanged($event)"
[autoUpdateContent]="true"

View File

@ -10,7 +10,7 @@ import { reference } from '../../../utils/functions';
import { debounce } from '../../../utils/debounce';
declare var ace;
ace.config.set('basePath', '/assets/ace-editor/');
const Range = ace.acequire('ace/range').Range;
@Component({