Browse Source

Added missing change.

pull/427/head
Sebastian Stehle 6 years ago
parent
commit
e344ec4471
  1. 4
      src/Squidex/app/framework/angular/forms/code-editor.component.ts

4
src/Squidex/app/framework/angular/forms/code-editor.component.ts

@ -75,6 +75,10 @@ export class CodeEditorComponent extends StatefulControlComponent<undefined, str
this.changeValue();
});
if (this.height) {
this.editor.nativeElement.style.height = `${this.height}px`;
}
this.resourceLoader.loadScript('https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js').then(() => {
this.aceEditor = ace.edit(this.editor.nativeElement);

Loading…
Cancel
Save