File tree Expand file tree Collapse file tree 2 files changed +70
-68
lines changed
app/code/Magento/PageBuilder Expand file tree Collapse file tree 2 files changed +70
-68
lines changed Original file line number Diff line number Diff line change @@ -39,41 +39,43 @@ public function __construct(
39
39
*/
40
40
public function getConfig (\Magento \Framework \DataObject $ config ): \Magento \Framework \DataObject
41
41
{
42
- $ config ->addData ([
43
- 'tinymce4 ' => [
44
- 'toolbar ' => 'undo redo | styleselect | fontsizeselect | lineheightselect | forecolor backcolor ' .
45
- '| bold italic underline | alignleft aligncenter alignright | numlist bullist ' .
46
- '| link image table charmap ' ,
42
+ $ config ->addData (
43
+ [
44
+ 'tinymce4 ' => [
45
+ 'toolbar ' => 'undo redo | styleselect | fontsizeselect | lineheightselect | forecolor backcolor ' .
46
+ '| bold italic underline | alignleft aligncenter alignright | numlist bullist ' .
47
+ '| link image table charmap ' ,
47
48
48
- 'plugins ' => implode (
49
- ' ' ,
50
- [
51
- 'advlist ' ,
52
- 'autolink ' ,
53
- 'lists ' ,
54
- 'link ' ,
55
- 'charmap ' ,
56
- 'media ' ,
57
- 'noneditable ' ,
58
- 'table ' ,
59
- 'contextmenu ' ,
60
- 'paste ' ,
61
- 'code ' ,
62
- 'help ' ,
63
- 'table ' ,
64
- 'textcolor ' ,
65
- 'image ' ,
66
- 'colorpicker ' ,
67
- 'lineheight '
49
+ 'plugins ' => implode (
50
+ ' ' ,
51
+ [
52
+ 'advlist ' ,
53
+ 'autolink ' ,
54
+ 'lists ' ,
55
+ 'link ' ,
56
+ 'charmap ' ,
57
+ 'media ' ,
58
+ 'noneditable ' ,
59
+ 'table ' ,
60
+ 'contextmenu ' ,
61
+ 'paste ' ,
62
+ 'code ' ,
63
+ 'help ' ,
64
+ 'table ' ,
65
+ 'textcolor ' ,
66
+ 'image ' ,
67
+ 'colorpicker ' ,
68
+ 'lineheight '
69
+ ]
70
+ ),
71
+ 'content_css ' => [
72
+ $ this ->assetRepo ->getUrl ('mage/adminhtml/wysiwyg/tiny_mce/themes/ui.css ' ),
73
+ $ this ->assetRepo ->getUrl ('Magento_PageBuilder::css/source/form/element/tinymce.css ' )
68
74
]
69
- ),
70
- 'content_css ' => [
71
- $ this ->assetRepo ->getUrl ('mage/adminhtml/wysiwyg/tiny_mce/themes/ui.css ' ),
72
- $ this ->assetRepo ->getUrl ('Magento_PageBuilder/css/source/form/element/tinymce.css ' )
73
- ]
74
- ],
75
- 'settings ' => $ this ->additionalSettings
76
- ]);
75
+ ],
76
+ 'settings ' => $ this ->additionalSettings
77
+ ]
78
+ );
77
79
return $ config ;
78
80
}
79
81
}
You can’t perform that action at this time.
0 commit comments