HTML Structure of some blocks
-
Hi Rich,
I have a quick question regarding to the structure of some blocks.
I am currently using Gutenberg 4.1.1 and I’ve noticed that structure of some blocks that come with Block Unit Test for Gutenberg are different compared to the Gutenberg blocks.
For example, let’s take the Pull Quote block.
Gutenberg output:
<figure class="wp-block-pullquote alignright is-style-default" style="border-color:#048448"> <blockquote class="has-text-color has-red-color"> <p>Gutenberg includes a default color palette WordPress theme to provide a more suitable palette to empower users. So here’s how.</p> <cite>gutenberg</cite> </blockquote> </figure>
Block Unit Test for Gutenberg (v1.0.5) output:
<blockquote class="wp-block-pullquote alignleft"> <p>Here we have a left-aligned pullquote.</p> <cite>Rich Tabor</cite> </blockquote>
Any ideas why it happens?
Thank you,
Taras
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘HTML Structure of some blocks’ is closed to new replies.