mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +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());
|
this.editorKeyup.emit(editor.getContent());
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
height: '540',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import 'ckeditor';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ngx-ckeditor',
|
selector: 'ngx-ckeditor',
|
||||||
template: `
|
template: `
|
||||||
<nga-card>
|
<nga-card size="xlarge">
|
||||||
<nga-card-body>
|
<nga-card-body>
|
||||||
<ckeditor [config]="{extraPlugins: 'divarea'}"></ckeditor>
|
<ckeditor [config]="{ extraPlugins: 'divarea', height: '515' }"></ckeditor>
|
||||||
</nga-card-body>
|
</nga-card-body>
|
||||||
</nga-card>
|
</nga-card>
|
||||||
`,
|
`,
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import { Component } from '@angular/core';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ngx-tiny-mce-page',
|
selector: 'ngx-tiny-mce-page',
|
||||||
template: `
|
template: `
|
||||||
<nga-card>
|
<nga-card size="xlarge">
|
||||||
<nga-card-body>
|
<nga-card-body>
|
||||||
<ngx-tiny-mce></ngx-tiny-mce>
|
<ngx-tiny-mce></ngx-tiny-mce>
|
||||||
</nga-card-body>
|
</nga-card-body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue