mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
fix(editors): fix editors height
This commit is contained in:
parent
d47878dd29
commit
2d16bad88f
3 changed files with 4 additions and 3 deletions
|
|
@ -23,6 +23,7 @@ export class TinyMCEComponent implements OnDestroy, AfterViewInit {
|
|||
this.editorKeyup.emit(editor.getContent());
|
||||
});
|
||||
},
|
||||
height: '540',
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
`,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue