fix(editors): fix editors height

This commit is contained in:
Alexander Zhukov 2017-07-26 17:33:50 +03:00
parent d47878dd29
commit 2d16bad88f
3 changed files with 4 additions and 3 deletions

View file

@ -23,6 +23,7 @@ export class TinyMCEComponent implements OnDestroy, AfterViewInit {
this.editorKeyup.emit(editor.getContent());
});
},
height: '540',
});
}

View file

@ -6,9 +6,9 @@ import 'ckeditor';
@Component({
selector: 'ngx-ckeditor',
template: `
<nga-card>
<nga-card size="xlarge">
<nga-card-body>
<ckeditor [config]="{extraPlugins: 'divarea'}"></ckeditor>
<ckeditor [config]="{ extraPlugins: 'divarea', height: '515' }"></ckeditor>
</nga-card-body>
</nga-card>
`,

View file

@ -3,7 +3,7 @@ import { Component } from '@angular/core';
@Component({
selector: 'ngx-tiny-mce-page',
template: `
<nga-card>
<nga-card size="xlarge">
<nga-card-body>
<ngx-tiny-mce></ngx-tiny-mce>
</nga-card-body>