diff --git a/class-block-unit-test.php b/class-block-unit-test.php index 9269bfc..7e1e277 100644 --- a/class-block-unit-test.php +++ b/class-block-unit-test.php @@ -581,13 +581,16 @@ public function content() { -

Here is an example of the core pull quote block, set to display centered. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

+

Here is an example of the core pull quote block; displays in the center by default. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

- -
-

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere est at lobortis.

Rich Tabor, ThemeBeans.com
+ +

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere est at lobortis.

Rich Tabor, ThemeBeans.com/cite>
+ '; + + if ( get_theme_support( 'align-wide' ) ) { + $content .= '

' . esc_html__( 'Wide aligned', '@@textdomain' ) . '

@@ -596,14 +599,10 @@ public function content() {

Here is an example of the core pull quote block, set to display with the wide-aligned attribute, if the theme allows it. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

- '; - if ( get_theme_support( 'align-wide' ) ) { - $content .= ' - -
-

Nulla vitae elit libero, a pharetra augue. Vestibulum id ligula porta felis euismod semper. Aenean lacinia bibendum nulla sed ibendum nulla sed consectetur. 

Rich Tabor, Founder at ThemeBeans.com
- + +

Nulla vitae elit libero, a pharetra augue. Vestibulum id ligula porta felis euismod semper. Aenean lacinia bibendum nulla sed ibendum nulla sed consectetur.

Rich Tabor
+

' . esc_html__( 'Full width', '@@textdomain' ) . '

@@ -614,8 +613,7 @@ public function content() { -
-

Etiam porta sem malesuada magna mollis euismod. Sed posuere consectetur est at lobortis. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. 

Rich Tabor, Founder at ThemeBeans.com
+

Etiam porta sem malesuada magna mollis euismod. Sed posuere consectetur est at lobortis. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus

Rich Tabor, founder at Themebeans.com
@@ -626,17 +624,16 @@ public function content() { $content .= ' -
-

Here we have a left-aligned pullquote.

Rich Tabor
+

Here is a pull quote whose container is left-aligned.

Rich Tabor
+

Donec id elit non mi porta gravida at eget metus. Nullam quis risus eget urna mollis ornare vel eu leo. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum. Vestibulum id ligula porta felis euismod semper.

-
-

Here we have a right-aligned pullquote.

Rich Tabor
+

Here\'s a pull quote whose container is right-aligned. I\'m adding another line of text for effect.

Will Skora