Merge pull request #9715 from ArtemDzhereleiko/AD/bug-fix/tinymce/additional-toolbar
Fixed overflowing toolbar buttons disappearing
This commit is contained in:
commit
f33e839410
@ -33,6 +33,7 @@ import { AppState } from '@core/core.state';
|
|||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { MatDialogRef } from '@angular/material/dialog';
|
import { MatDialogRef } from '@angular/material/dialog';
|
||||||
import { deepClone, deepTrim } from '@core/utils';
|
import { deepClone, deepTrim } from '@core/utils';
|
||||||
|
import tinymce from 'tinymce';
|
||||||
|
|
||||||
@Directive()
|
@Directive()
|
||||||
// tslint:disable-next-line:directive-class-suffix
|
// tslint:disable-next-line:directive-class-suffix
|
||||||
@ -61,6 +62,7 @@ export abstract class TemplateConfiguration<T, R = any> extends DialogComponent<
|
|||||||
toolbar: 'fontselect fontsizeselect | formatselect | bold italic strikethrough forecolor backcolor ' +
|
toolbar: 'fontselect fontsizeselect | formatselect | bold italic strikethrough forecolor backcolor ' +
|
||||||
'| link | table | image | alignleft aligncenter alignright alignjustify ' +
|
'| link | table | image | alignleft aligncenter alignright alignjustify ' +
|
||||||
'| numlist bullist outdent indent | removeformat | code | fullscreen',
|
'| numlist bullist outdent indent | removeformat | code | fullscreen',
|
||||||
|
toolbar_mode: 'sliding',
|
||||||
height: 400,
|
height: 400,
|
||||||
autofocus: false,
|
autofocus: false,
|
||||||
branding: false
|
branding: false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user