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 @@ -36,25 +36,40 @@ public function getConfig(DataObject $config) : DataObject
3636 {
3737 $ config ->addData ([
3838 'tinymce ' => [
39- 'toolbar ' => ' blocks fontfamily fontsizeinput| formatselect | bold italic underline ' .
40- '| alignleft aligncenter alignright | bullist numlist | link table charmap ' ,
39+ 'toolbar ' => 'blocks | fontfamily fontsizeinput lineheight | forecolor backcolor | '
40+ . 'bold italic underline | alignleft aligncenter alignright alignjustify | '
41+ . 'bullist numlist | link image ' ,
4142 'plugins ' => implode (
4243 ' ' ,
4344 [
44- 'advlist ' ,
45+ 'anchor ' ,
4546 'autolink ' ,
46- 'lists ' ,
47- 'link ' ,
4847 'charmap ' ,
49- 'media ' ,
50- 'table ' ,
5148 'code ' ,
49+ 'codesample ' ,
50+ 'directionality ' ,
51+ 'emoticons ' ,
5252 'help ' ,
53- 'table '
53+ 'image ' ,
54+ 'link ' ,
55+ 'lists ' ,
56+ 'media ' ,
57+ 'nonbreaking ' ,
58+ 'preview ' ,
59+ 'table ' ,
60+ 'visualblocks ' ,
61+ 'visualchars ' ,
62+ 'advlist ' ,
5463 ]
5564 ),
56- 'content_css ' => $ this ->assetRepo ->getUrl ('mage/adminhtml/wysiwyg/tiny_mce/themes/ui.css ' )
57- ]
65+ 'content_css ' => $ this ->assetRepo ->getUrl ('mage/adminhtml/wysiwyg/tiny_mce/themes/ui.css ' ),
66+ ],
67+ 'settings ' => [
68+ 'menubar ' => 'edit insert view format table help ' ,
69+ 'statusbar ' => false ,
70+ 'image_advtab ' => true ,
71+ 'promotion ' => false ,
72+ ],
5873 ]);
5974 return $ config ;
6075 }
You can’t perform that action at this time.
0 commit comments