File tree Expand file tree Collapse file tree 1 file changed +25
-10
lines changed
app/code/Magento/Cms/Model/Wysiwyg Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -33,25 +33,40 @@ public function getConfig(\Magento\Framework\DataObject $config) : \Magento\Fram
3333 {
3434 $ config ->addData ([
3535 'tinymce ' => [
36- 'toolbar ' => ' blocks | formatselect | bold italic underline | alignleft aligncenter alignright | '
37- . 'bullist numlist | link table charmap ' ,
36+ 'toolbar ' => 'blocks | fontfamily fontsizeinput lineheight | forecolor backcolor | '
37+ . 'bold italic underline | alignleft aligncenter alignright alignjustify | '
38+ . 'bullist numlist | link image ' ,
3839 'plugins ' => implode (
3940 ' ' ,
4041 [
41- 'advlist ' ,
42+ 'anchor ' ,
4243 'autolink ' ,
43- 'lists ' ,
44- 'link ' ,
4544 'charmap ' ,
46- 'media ' ,
47- 'table ' ,
4845 'code ' ,
46+ 'codesample ' ,
47+ 'directionality ' ,
48+ 'emoticons ' ,
4949 'help ' ,
50- 'table '
50+ 'image ' ,
51+ 'link ' ,
52+ 'lists ' ,
53+ 'media ' ,
54+ 'nonbreaking ' ,
55+ 'preview ' ,
56+ 'table ' ,
57+ 'visualblocks ' ,
58+ 'visualchars ' ,
59+ 'advlist ' ,
5160 ]
5261 ),
53- 'content_css ' => $ this ->assetRepo ->getUrl ('mage/adminhtml/wysiwyg/tiny_mce/themes/ui.css ' )
54- ]
62+ 'content_css ' => $ this ->assetRepo ->getUrl ('mage/adminhtml/wysiwyg/tiny_mce/themes/ui.css ' ),
63+ ],
64+ 'settings ' => [
65+ 'menubar ' => 'edit insert view format table help ' ,
66+ 'statusbar ' => false ,
67+ 'image_advtab ' => true ,
68+ 'promotion ' => false ,
69+ ],
5570 ]);
5671 return $ config ;
5772 }
You can’t perform that action at this time.
0 commit comments