Merge pull request #13108 from ArtemDzhereleiko/AD/imp/add-link-table-image-for-editor

Add link, table and image for text editor panel
This commit is contained in:
Igor Kulikov 2025-04-08 16:14:42 +03:00 committed by GitHub
commit 546cfde043
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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