Merge pull request #13508 from vvlladd28/bug/tiny-mce/fullscreen

Fixed full screen mode in editors
This commit is contained in:
Igor Kulikov 2025-06-03 18:37:57 +03:00 committed by GitHub
commit a736f5d212
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -47,10 +47,10 @@ export class EditorPanelComponent implements OnInit {
tinyMceOptions: Partial<EditorOptions> = {
base_url: '/assets/tinymce',
suffix: '.min',
plugins: ['link', 'table', 'image', 'imagetools', 'lists'],
plugins: ['link', 'table', 'image', 'imagetools', 'lists', 'fullscreen'],
menubar: 'edit insert view format',
toolbar: ['fontfamily fontsize | bold italic underline strikethrough forecolor backcolor',
'alignleft aligncenter alignright alignjustify | bullist | link table image'],
'alignleft aligncenter alignright alignjustify | bullist | link table image | fullscreen'],
toolbar_mode: 'sliding',
height: 400,
autofocus: false,

View File

@ -1292,6 +1292,12 @@ pre.tb-highlight {
background: rgba(0, 0, 0, 0.06);
}
}
&.tox-fullscreen {
mat-sidenav.tb-site-sidenav {
z-index: 1;
}
}
}
/***************