Completed
Pull Request — master (#158)
by
unknown
12:00 queued 09:17
created
Components/BlockWysiwyg/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use Flynt\Features\Components\Component;
6 6
 
7
-add_action('wp_enqueue_scripts', function () {
7
+add_action('wp_enqueue_scripts', function() {
8 8
     Component::enqueueAssets('BlockWysiwyg', []);
9 9
 });
10 10
 
11
-add_filter('Flynt/addComponentData?name=BlockWysiwyg', function ($data) {
11
+add_filter('Flynt/addComponentData?name=BlockWysiwyg', function($data) {
12 12
 
13 13
     return $data;
14 14
 });
Please login to merge, or discard this patch.
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.