PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/blocks/paragraph/block.php +3 -0 2.9.0 → 2.14.0 View file →
@@ -51,8 +51,9 @@
51 51 '{{WRAPPER}}',
52 52 $this->get_wrapper_css( $attributes ),
53 53 $this->get_wrapper_css( $attributes, 'Tablet' ),
54 54 $this->get_wrapper_css( $attributes, 'Mobile' ),
55 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_wrapper_css( $attributes, $device ); } )
55 56 );
56 57
57 58 $css_generator->add_class_styles(
58 59 '{{WRAPPER}} .ablocks-paragraph-text',
@@ -58,8 +59,9 @@
58 59 '{{WRAPPER}} .ablocks-paragraph-text',
59 60 $this->get_paragraph_text_css( $attributes ),
60 61 $this->get_paragraph_text_css( $attributes, 'Tablet' ),
61 62 $this->get_paragraph_text_css( $attributes, 'Mobile' ),
63 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_paragraph_text_css( $attributes, $device ); } )
62 64 );
63 65
64 66 $css_generator->add_class_styles(
65 67 '{{WRAPPER}} .ablocks-paragraph-text-drop-caps::first-letter',
@@ -65,8 +67,9 @@
65 67 '{{WRAPPER}} .ablocks-paragraph-text-drop-caps::first-letter',
66 68 $this->get_paragraph_drop_text_css( $attributes ),
67 69 $this->get_paragraph_drop_text_css( $attributes, 'Tablet' ),
68 70 $this->get_paragraph_drop_text_css( $attributes, 'Mobile' ),
71 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_paragraph_drop_text_css( $attributes, $device ); } )
69 72 );
70 73 return $css_generator->generate_css();
71 74 }
72 75