Completed
Pull Request — master (#158)
by Doğa
29:40 queued 25:45
created
Features/TinyMce/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@  discard block
 block discarded – undo
8 8
 // Clean Up TinyMCE Buttons
9 9
 
10 10
 // First Bar
11
-add_filter('mce_buttons', function ($buttons) {
11
+add_filter('mce_buttons', function($buttons) {
12 12
     $toolbarsFromFile = getToolbarsFromJson();
13 13
     return $toolbarsFromFile['Default'][0];
14 14
 });
15 15
 
16 16
 // Second Bar
17
-add_filter('mce_buttons_2', function ($buttons) {
17
+add_filter('mce_buttons_2', function($buttons) {
18 18
     return [];
19 19
 });
20 20
 
21
-add_filter('tiny_mce_before_init', function ($init) {
21
+add_filter('tiny_mce_before_init', function($init) {
22 22
     $options = Feature::getOptions('flynt-tiny-mce');
23 23
 
24 24
     $init['block_formats'] = getBlockFormats($options);
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     return $init;
28 28
 });
29 29
 
30
-add_filter('acf/fields/wysiwyg/toolbars', function ($toolbars) {
30
+add_filter('acf/fields/wysiwyg/toolbars', function($toolbars) {
31 31
     // Load Toolbars and parse them into TinyMCE
32 32
     $toolbarsFromFile = getToolbarsFromJson();
33 33
     if ($toolbarsFromFile) {
Please login to merge, or discard this patch.