Skip to content

Instantly share code, notes, and snippets.

@dlh01
Last active May 25, 2020 00:33
Show Gist options
  • Save dlh01/5ec4af9d32e29bca2bd6094677def4ce to your computer and use it in GitHub Desktop.
Save dlh01/5ec4af9d32e29bca2bd6094677def4ce to your computer and use it in GitHub Desktop.
The blocks in the Gutenberg plugin's demo post (and then some) as raw HTML, a PHP array of parsed blocks, and a JSON object of the PHP array.
<!-- wp:cover {"url":"https://cldup.com/Fz-ASbo2s3.jpg","className":"alignwide"} -->
<div class="wp-block-cover has-background-dim alignwide" style="background-image:url(https://cldup.com/Fz-ASbo2s3.jpg)"><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
<p class="has-text-align-center has-large-font-size">Of Mountains &amp; Printing Presses</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover -->
<!-- wp:paragraph -->
<p>The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of <em>pieces of content</em>—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you&#8217;ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>What you are reading now is a <strong>text block</strong> the most basic block of all. The text block has its own controls to be moved freely around the post...</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"align":"right"} -->
<p class="has-text-align-right">... like this one, which is right aligned.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Headings are separate blocks as well, which helps with the outline and organization of your content.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":2} -->
<h2>A Picture is Worth a Thousand Words</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you&#8217;ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.</p>
<!-- /wp:paragraph -->
<!-- wp:image {"align":"center"} -->
<div class="wp-block-image">
<figure class="aligncenter"><img src="https://cldup.com/cXyG__fTLN.jpg" alt="Beautiful landscape" />
<figcaption>If your theme supports it, you&#8217;ll see the "wide" button on the image toolbar. Give it a try.</figcaption>
</figure>
</div>
<!-- /wp:image -->
<!-- wp:paragraph -->
<p>Try selecting and removing or editing the caption, now you don&#8217;t have to be careful about selecting the image or other text by mistake and ruining the presentation.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":2} -->
<h2>The <em>Inserter</em> Tool</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That&#8217;s the spirit behind the inserter—the <code>(+)</code> button you&#8217;ll see around the editor—which allows you to browse all available content blocks and add them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Go give it a try, you may discover things WordPress can already add into your posts that you didn&#8217;t know about. Here&#8217;s a short list of what you can currently find there:</p>
<!-- /wp:paragraph -->
<!-- wp:list -->
<ul>
<li>Text &amp; Headings</li>
<li>Images &amp; Videos</li>
<li>Galleries</li>
<li>Embeds, like YouTube, Tweets, or other WordPress posts.</li>
<li>Layout blocks, like Buttons, Hero Images, Separators, etc.</li>
<li>And <em>Lists</em> like this one of course :)</li>
</ul>
<!-- /wp:list -->
<!-- wp:separator -->
<hr class="wp-block-separator" />
<!-- /wp:separator -->
<!-- wp:heading {"level":2} -->
<h2>Visual Editing</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:</p>
<!-- /wp:paragraph -->
<!-- wp:quote {"style":1} -->
<blockquote class="wp-block-quote">
<p>The editor will endeavor to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p>
<cite>Matt Mullenweg, 2017</cite>
</blockquote>
<!-- /wp:quote -->
<!-- wp:paragraph -->
<p>The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It&#8217;s always easy to add it back.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Blocks can be anything you need. For instance, you may want to add a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.</p>
<!-- /wp:paragraph -->
<!-- wp:gallery {"ids":[null,null,null],"columns":2} -->
<figure class="wp-block-gallery columns-2 is-cropped">
<ul class="blocks-gallery-grid">
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/n0g6ME5VKC.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/ZjESfxPI3R.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/EKNF8xD2UM.jpg" alt="" /></figure></li>
</ul>
</figure>
<!-- /wp:gallery -->
<!-- wp:paragraph -->
<p>You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":2} -->
<h2>Media Rich</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>If you combine the new <strong>wide</strong> and <strong>full-wide</strong> alignments with galleries, you can create a very media rich layout, very quickly:</p>
<!-- /wp:paragraph -->
<!-- wp:image {"align":"full"} -->
<figure class="wp-block-image alignfull"><img src="https://cldup.com/8lhI-gKnI2.jpg" alt="Accessibility is important &mdash; don&#8217;t forget image alt attribute" /></figure>
<!-- /wp:image -->
<!-- wp:paragraph -->
<p>Sure, the full-wide image can be pretty big. But sometimes the image is worth it.</p>
<!-- /wp:paragraph -->
<!-- wp:gallery {"ids":[null,null],"align":"wide"} -->
<figure class="wp-block-gallery alignwide columns-2 is-cropped">
<ul class="blocks-gallery-grid">
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/_rSwtEeDGD.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/L-cC3qX2DN.jpg" alt="" /></figure></li>
</ul>
</figure>
<!-- /wp:gallery -->
<!-- wp:paragraph -->
<p>The above is a gallery with just two images. It&#8217;s an easier way to create visually appealing layouts, without having to deal with floats. You can also easily convert the gallery back to individual images again, by using the block switcher.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:</p>
<!-- /wp:paragraph -->
<!-- wp:core-embed/vimeo {"url":"https://vimeo.com/22439234","type":"video","providerNameSlug":"vimeo","align":"wide","className":"wp-has-aspect-ratio wp-embed-aspect-16-9"} -->
<figure class="wp-block-embed-vimeo alignwide wp-block-embed is-type-video is-provider-vimeo wp-has-aspect-ratio wp-embed-aspect-16-9"><div class="wp-block-embed__wrapper">
https://vimeo.com/22439234
</div></figure>
<!-- /wp:core-embed/vimeo -->
<!-- wp:paragraph -->
<p>You can build any block you like, static or dynamic, decorative or plain. Here&#8217;s a pullquote block:</p>
<!-- /wp:paragraph -->
<!-- wp:pullquote -->
<figure class="wp-block-pullquote"><blockquote><p>Code is Poetry</p><cite>The WordPress community</cite></blockquote></figure>
<!-- /wp:pullquote -->
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">
<em>
If you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the <a href="https://github.com/WordPress/gutenberg">GitHub repository</a>. </em>
</p>
<!-- /wp:paragraph -->
<!-- wp:button { "align": "center" } -->
<div class="wp-block-button aligncenter"><a class="wp-block-button__link" href="https://github.com/WordPress/gutenberg">Help build Gutenberg</a></div>
<!-- /wp:button -->
<!-- wp:separator -->
<hr class="wp-block-separator" />
<!-- /wp:separator -->
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">Thanks for testing Gutenberg!</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">👋</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":2} -->
<h2>Self-Closing Blocks (With and Without Attributes)</h2>
<!-- /wp:heading -->
<!-- wp:archives {"displayAsDropdown":true,"showPostCounts":true} /-->
<!-- wp:latest-comments /-->
<!-- wp:heading {"level":2} -->
<h2>"Empty" Blocks</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":2} -->
<h2>Theme Unit Test: Columns</h2>
<!-- /wp:heading -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This is the <strong>second</strong> column. It should align next to the first column. Reduce the browser window width to test the responsiveness.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This is the second column block. It has <strong>3</strong> columns.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Paragraph 2 is in the middle.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Paragraph 3 is in the last column.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p> The third column block has <strong>4</strong> columns. Make sure that all the text is visible and that it is not cut off. </p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Now the columns are getting narrower.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>The margins between the columns should be wide enough,</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>so that the content of the columns does not run into or overlap each other.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column one.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column two.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column three.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column four.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column <strong>five</strong>.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>To change the number of columns, select the column block to open the settings panel. You can show up to 6 columns. If the theme has support for wide align, you can also set the alignments to wide and full width.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Below is a column block with six columns, and no alignment:</p>
<!-- /wp:paragraph -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column one.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column two.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column three.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column four.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column five.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column six.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>Next is a 3 column block, with a wide alignment:</p>
<!-- /wp:paragraph -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column one.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column two.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column three.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>And here is a two column block with full width, and a longer text. Make sure that the text wraps correctly.</p>
<!-- /wp:paragraph -->
<!-- wp:columns {"align":"full","className":"has-2-columns"} -->
<div class="wp-block-columns alignfull has-2-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This is column one. Sometimes, you may want to use columns to display a larger text, so, lets add some <strong>more words</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. <em>Aenean</em> bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p><strong>Column two.</strong> Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin f<em>elis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi </em>vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>We can also add blocks inside columns:</p>
<!-- /wp:paragraph -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:list {"ordered":true} -->
<ol><li>This is a numbered list,</li><li>inside a 3 column block</li><li>with a wide alignment.</li></ol>
<!-- /wp:list --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>The middle column has a paragraph with an image block below.</p>
<!-- /wp:paragraph -->
<!-- wp:image {"id":611} -->
<figure class="wp-block-image"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/canola2.jpg" alt="canola" class="wp-image-611"/><figcaption>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.</figcaption></figure>
<!-- /wp:image --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:quote -->
<blockquote class="wp-block-quote"><p>-This third column has a quote</p><cite>Theme Reviewer<br></cite></blockquote>
<!-- /wp:quote --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p><strong>But wait there is more!</strong>&nbsp; We also have a block called <em>Media &amp; Text,</em> which is a two column block that helps you display media and text content next to each other, without having to first setup a column block:</p>
<!-- /wp:paragraph -->
<!-- wp:media-text {"mediaId":617,"mediaType":"image","isStackedOnMobile":false,"className":"alignwide"} -->
<div class="wp-block-media-text alignwide"><figure class="wp-block-media-text__media"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/dsc20050813_115856_52.jpg" alt="dsc20050813_115856_52" class="wp-image-617"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
<p class="has-large-font-size">Media &amp; Text</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>A paragraph block sits ready to be used, below your headline.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:media-text -->
<?php
/**
* Usage: wp eval-file path/to/generator.php
*/
if ( ! function_exists( 'gutenberg_dir_path' ) ) {
\WP_CLI::error( '`gutenberg_dir_path()` does not exist.' );
}
$path = gutenberg_dir_path() . 'post-content.php';
if ( ! file_exists( $path ) ) {
\WP_CLI::error( "Demo content does not exist at {$path}." );
}
ob_start();
include gutenberg_dir_path() . 'post-content.php';
$html = ob_get_clean();
// Add blocks for some additional use cases.
ob_start();
?>
<!-- wp:heading {"level":2} -->
<h2>Self-Closing Blocks (With and Without Attributes)</h2>
<!-- /wp:heading -->
<!-- wp:archives {"displayAsDropdown":true,"showPostCounts":true} /-->
<!-- wp:latest-comments /-->
<!-- wp:heading {"level":2} -->
<h2>"Empty" Blocks</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":2} -->
<h2>Theme Unit Test: Columns</h2>
<!-- /wp:heading -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This is the <strong>second</strong> column. It should align next to the first column. Reduce the browser window width to test the responsiveness.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This is the second column block. It has <strong>3</strong> columns.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Paragraph 2 is in the middle.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Paragraph 3 is in the last column.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p> The third column block has <strong>4</strong> columns. Make sure that all the text is visible and that it is not cut off. </p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Now the columns are getting narrower.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>The margins between the columns should be wide enough,</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>so that the content of the columns does not run into or overlap each other.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column one.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column two.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column three.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column four.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column <strong>five</strong>.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>To change the number of columns, select the column block to open the settings panel. You can show up to 6 columns. If the theme has support for wide align, you can also set the alignments to wide and full width.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Below is a column block with six columns, and no alignment:</p>
<!-- /wp:paragraph -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column one.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column two.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column three.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column four.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column five.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column six.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>Next is a 3 column block, with a wide alignment:</p>
<!-- /wp:paragraph -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column one.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column two.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column three.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>And here is a two column block with full width, and a longer text. Make sure that the text wraps correctly.</p>
<!-- /wp:paragraph -->
<!-- wp:columns {"align":"full","className":"has-2-columns"} -->
<div class="wp-block-columns alignfull has-2-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>This is column one. Sometimes, you may want to use columns to display a larger text, so, lets add some <strong>more words</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. <em>Aenean</em> bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p><strong>Column two.</strong> Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin f<em>elis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi </em>vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p>We can also add blocks inside columns:</p>
<!-- /wp:paragraph -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:list {"ordered":true} -->
<ol><li>This is a numbered list,</li><li>inside a 3 column block</li><li>with a wide alignment.</li></ol>
<!-- /wp:list --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>The middle column has a paragraph with an image block below.</p>
<!-- /wp:paragraph -->
<!-- wp:image {"id":611} -->
<figure class="wp-block-image"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/canola2.jpg" alt="canola" class="wp-image-611"/><figcaption>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.</figcaption></figure>
<!-- /wp:image --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:quote -->
<blockquote class="wp-block-quote"><p>-This third column has a quote</p><cite>Theme Reviewer<br></cite></blockquote>
<!-- /wp:quote --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:paragraph -->
<p><strong>But wait there is more!</strong>&nbsp; We also have a block called <em>Media &amp; Text,</em> which is a two column block that helps you display media and text content next to each other, without having to first setup a column block:</p>
<!-- /wp:paragraph -->
<!-- wp:media-text {"mediaId":617,"mediaType":"image","isStackedOnMobile":false,"className":"alignwide"} -->
<div class="wp-block-media-text alignwide"><figure class="wp-block-media-text__media"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/dsc20050813_115856_52.jpg" alt="dsc20050813_115856_52" class="wp-image-617"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
<p class="has-large-font-size">Media &amp; Text</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>A paragraph block sits ready to be used, below your headline.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:media-text -->
<?php
$html .= ob_get_clean();
$parse_blocks = parse_blocks( $html );
// Write as HTML, PHP, and JSON.
file_put_contents( __DIR__ . '/block-content.html', $html );
file_put_contents( __DIR__ . '/parsed-blocks.php', '<?php' . "\n\n" . var_export( $parse_blocks, true ) . ';' );
file_put_contents( __DIR__ . '/parsed-blocks.json', json_encode( $parse_blocks, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK | JSON_PRETTY_PRINT ) );
[
{
"blockName": "core/cover",
"attrs": {
"url": "https://cldup.com/Fz-ASbo2s3.jpg",
"className": "alignwide"
},
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": {
"align": "center",
"placeholder": "Write title…",
"fontSize": "large"
},
"innerBlocks": [],
"innerHTML": "\n<p class=\"has-text-align-center has-large-font-size\">Of Mountains &amp; Printing Presses</p>\n",
"innerContent": [
"\n<p class=\"has-text-align-center has-large-font-size\">Of Mountains &amp; Printing Presses</p>\n"
]
}
],
"innerHTML": "\n<div class=\"wp-block-cover has-background-dim alignwide\" style=\"background-image:url(https://cldup.com/Fz-ASbo2s3.jpg)\"><div class=\"wp-block-cover__inner-container\"></div></div>\n",
"innerContent": [
"\n<div class=\"wp-block-cover has-background-dim alignwide\" style=\"background-image:url(https://cldup.com/Fz-ASbo2s3.jpg)\"><div class=\"wp-block-cover__inner-container\">",
null,
"</div></div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of <em>pieces of content</em>—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you&#8217;ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.</p>\n",
"innerContent": [
"\n<p>The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of <em>pieces of content</em>—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you&#8217;ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>What you are reading now is a <strong>text block</strong> the most basic block of all. The text block has its own controls to be moved freely around the post...</p>\n",
"innerContent": [
"\n<p>What you are reading now is a <strong>text block</strong> the most basic block of all. The text block has its own controls to be moved freely around the post...</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": {
"align": "right"
},
"innerBlocks": [],
"innerHTML": "\n<p class=\"has-text-align-right\">... like this one, which is right aligned.</p>\n",
"innerContent": [
"\n<p class=\"has-text-align-right\">... like this one, which is right aligned.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Headings are separate blocks as well, which helps with the outline and organization of your content.</p>\n",
"innerContent": [
"\n<p>Headings are separate blocks as well, which helps with the outline and organization of your content.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/heading",
"attrs": {
"level": 2
},
"innerBlocks": [],
"innerHTML": "\n<h2>A Picture is Worth a Thousand Words</h2>\n",
"innerContent": [
"\n<h2>A Picture is Worth a Thousand Words</h2>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you&#8217;ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.</p>\n",
"innerContent": [
"\n<p>Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you&#8217;ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/image",
"attrs": {
"align": "center"
},
"innerBlocks": [],
"innerHTML": "\n<div class=\"wp-block-image\">\n\t<figure class=\"aligncenter\"><img src=\"https://cldup.com/cXyG__fTLN.jpg\" alt=\"Beautiful landscape\" />\n\t\t<figcaption>If your theme supports it, you&#8217;ll see the \"wide\" button on the image toolbar. Give it a try.</figcaption>\n\t</figure>\n</div>\n",
"innerContent": [
"\n<div class=\"wp-block-image\">\n\t<figure class=\"aligncenter\"><img src=\"https://cldup.com/cXyG__fTLN.jpg\" alt=\"Beautiful landscape\" />\n\t\t<figcaption>If your theme supports it, you&#8217;ll see the \"wide\" button on the image toolbar. Give it a try.</figcaption>\n\t</figure>\n</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Try selecting and removing or editing the caption, now you don&#8217;t have to be careful about selecting the image or other text by mistake and ruining the presentation.</p>\n",
"innerContent": [
"\n<p>Try selecting and removing or editing the caption, now you don&#8217;t have to be careful about selecting the image or other text by mistake and ruining the presentation.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/heading",
"attrs": {
"level": 2
},
"innerBlocks": [],
"innerHTML": "\n<h2>The <em>Inserter</em> Tool</h2>\n",
"innerContent": [
"\n<h2>The <em>Inserter</em> Tool</h2>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That&#8217;s the spirit behind the inserter—the <code>(+)</code> button you&#8217;ll see around the editor—which allows you to browse all available content blocks and add them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.</p>\n",
"innerContent": [
"\n<p>Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That&#8217;s the spirit behind the inserter—the <code>(+)</code> button you&#8217;ll see around the editor—which allows you to browse all available content blocks and add them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Go give it a try, you may discover things WordPress can already add into your posts that you didn&#8217;t know about. Here&#8217;s a short list of what you can currently find there:</p>\n",
"innerContent": [
"\n<p>Go give it a try, you may discover things WordPress can already add into your posts that you didn&#8217;t know about. Here&#8217;s a short list of what you can currently find there:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/list",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<ul>\n\t<li>Text &amp; Headings</li>\n\t<li>Images &amp; Videos</li>\n\t<li>Galleries</li>\n\t<li>Embeds, like YouTube, Tweets, or other WordPress posts.</li>\n\t<li>Layout blocks, like Buttons, Hero Images, Separators, etc.</li>\n\t<li>And <em>Lists</em> like this one of course :)</li>\n</ul>\n",
"innerContent": [
"\n<ul>\n\t<li>Text &amp; Headings</li>\n\t<li>Images &amp; Videos</li>\n\t<li>Galleries</li>\n\t<li>Embeds, like YouTube, Tweets, or other WordPress posts.</li>\n\t<li>Layout blocks, like Buttons, Hero Images, Separators, etc.</li>\n\t<li>And <em>Lists</em> like this one of course :)</li>\n</ul>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/separator",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<hr class=\"wp-block-separator\" />\n",
"innerContent": [
"\n<hr class=\"wp-block-separator\" />\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/heading",
"attrs": {
"level": 2
},
"innerBlocks": [],
"innerHTML": "\n<h2>Visual Editing</h2>\n",
"innerContent": [
"\n<h2>Visual Editing</h2>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:</p>\n",
"innerContent": [
"\n<p>A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/quote",
"attrs": {
"style": 1
},
"innerBlocks": [],
"innerHTML": "\n<blockquote class=\"wp-block-quote\">\n\t<p>The editor will endeavor to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p>\n\t<cite>Matt Mullenweg, 2017</cite>\n</blockquote>\n",
"innerContent": [
"\n<blockquote class=\"wp-block-quote\">\n\t<p>The editor will endeavor to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p>\n\t<cite>Matt Mullenweg, 2017</cite>\n</blockquote>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It&#8217;s always easy to add it back.</p>\n",
"innerContent": [
"\n<p>The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It&#8217;s always easy to add it back.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Blocks can be anything you need. For instance, you may want to add a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.</p>\n",
"innerContent": [
"\n<p>Blocks can be anything you need. For instance, you may want to add a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/gallery",
"attrs": {
"ids": [
null,
null,
null
],
"columns": 2
},
"innerBlocks": [],
"innerHTML": "\n<figure class=\"wp-block-gallery columns-2 is-cropped\">\n<ul class=\"blocks-gallery-grid\">\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/n0g6ME5VKC.jpg\" alt=\"\" /></figure></li>\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/ZjESfxPI3R.jpg\" alt=\"\" /></figure></li>\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/EKNF8xD2UM.jpg\" alt=\"\" /></figure></li>\n</ul>\n</figure>\n",
"innerContent": [
"\n<figure class=\"wp-block-gallery columns-2 is-cropped\">\n<ul class=\"blocks-gallery-grid\">\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/n0g6ME5VKC.jpg\" alt=\"\" /></figure></li>\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/ZjESfxPI3R.jpg\" alt=\"\" /></figure></li>\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/EKNF8xD2UM.jpg\" alt=\"\" /></figure></li>\n</ul>\n</figure>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.</p>\n",
"innerContent": [
"\n<p>You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/heading",
"attrs": {
"level": 2
},
"innerBlocks": [],
"innerHTML": "\n<h2>Media Rich</h2>\n",
"innerContent": [
"\n<h2>Media Rich</h2>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>If you combine the new <strong>wide</strong> and <strong>full-wide</strong> alignments with galleries, you can create a very media rich layout, very quickly:</p>\n",
"innerContent": [
"\n<p>If you combine the new <strong>wide</strong> and <strong>full-wide</strong> alignments with galleries, you can create a very media rich layout, very quickly:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/image",
"attrs": {
"align": "full"
},
"innerBlocks": [],
"innerHTML": "\n<figure class=\"wp-block-image alignfull\"><img src=\"https://cldup.com/8lhI-gKnI2.jpg\" alt=\"Accessibility is important &mdash; don&#8217;t forget image alt attribute\" /></figure>\n",
"innerContent": [
"\n<figure class=\"wp-block-image alignfull\"><img src=\"https://cldup.com/8lhI-gKnI2.jpg\" alt=\"Accessibility is important &mdash; don&#8217;t forget image alt attribute\" /></figure>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Sure, the full-wide image can be pretty big. But sometimes the image is worth it.</p>\n",
"innerContent": [
"\n<p>Sure, the full-wide image can be pretty big. But sometimes the image is worth it.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/gallery",
"attrs": {
"ids": [
null,
null
],
"align": "wide"
},
"innerBlocks": [],
"innerHTML": "\n<figure class=\"wp-block-gallery alignwide columns-2 is-cropped\">\n<ul class=\"blocks-gallery-grid\">\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/_rSwtEeDGD.jpg\" alt=\"\" /></figure></li>\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/L-cC3qX2DN.jpg\" alt=\"\" /></figure></li>\n</ul>\n</figure>\n",
"innerContent": [
"\n<figure class=\"wp-block-gallery alignwide columns-2 is-cropped\">\n<ul class=\"blocks-gallery-grid\">\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/_rSwtEeDGD.jpg\" alt=\"\" /></figure></li>\n<li class=\"blocks-gallery-item\"><figure><img src=\"https://cldup.com/L-cC3qX2DN.jpg\" alt=\"\" /></figure></li>\n</ul>\n</figure>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>The above is a gallery with just two images. It&#8217;s an easier way to create visually appealing layouts, without having to deal with floats. You can also easily convert the gallery back to individual images again, by using the block switcher.</p>\n",
"innerContent": [
"\n<p>The above is a gallery with just two images. It&#8217;s an easier way to create visually appealing layouts, without having to deal with floats. You can also easily convert the gallery back to individual images again, by using the block switcher.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:</p>\n",
"innerContent": [
"\n<p>Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core-embed/vimeo",
"attrs": {
"url": "https://vimeo.com/22439234",
"type": "video",
"providerNameSlug": "vimeo",
"align": "wide",
"className": "wp-has-aspect-ratio wp-embed-aspect-16-9"
},
"innerBlocks": [],
"innerHTML": "\n<figure class=\"wp-block-embed-vimeo alignwide wp-block-embed is-type-video is-provider-vimeo wp-has-aspect-ratio wp-embed-aspect-16-9\"><div class=\"wp-block-embed__wrapper\">\nhttps://vimeo.com/22439234\n</div></figure>\n",
"innerContent": [
"\n<figure class=\"wp-block-embed-vimeo alignwide wp-block-embed is-type-video is-provider-vimeo wp-has-aspect-ratio wp-embed-aspect-16-9\"><div class=\"wp-block-embed__wrapper\">\nhttps://vimeo.com/22439234\n</div></figure>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>You can build any block you like, static or dynamic, decorative or plain. Here&#8217;s a pullquote block:</p>\n",
"innerContent": [
"\n<p>You can build any block you like, static or dynamic, decorative or plain. Here&#8217;s a pullquote block:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/pullquote",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<figure class=\"wp-block-pullquote\"><blockquote><p>Code is Poetry</p><cite>The WordPress community</cite></blockquote></figure>\n",
"innerContent": [
"\n<figure class=\"wp-block-pullquote\"><blockquote><p>Code is Poetry</p><cite>The WordPress community</cite></blockquote></figure>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": {
"align": "center"
},
"innerBlocks": [],
"innerHTML": "\n<p class=\"has-text-align-center\">\n\t<em>\n\t\tIf you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the <a href=\"https://github.com/WordPress/gutenberg\">GitHub repository</a>.\t</em>\n</p>\n",
"innerContent": [
"\n<p class=\"has-text-align-center\">\n\t<em>\n\t\tIf you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the <a href=\"https://github.com/WordPress/gutenberg\">GitHub repository</a>.\t</em>\n</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/button",
"attrs": {
"align": "center"
},
"innerBlocks": [],
"innerHTML": "\n<div class=\"wp-block-button aligncenter\"><a class=\"wp-block-button__link\" href=\"https://github.com/WordPress/gutenberg\">Help build Gutenberg</a></div>\n",
"innerContent": [
"\n<div class=\"wp-block-button aligncenter\"><a class=\"wp-block-button__link\" href=\"https://github.com/WordPress/gutenberg\">Help build Gutenberg</a></div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/separator",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<hr class=\"wp-block-separator\" />\n",
"innerContent": [
"\n<hr class=\"wp-block-separator\" />\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": {
"align": "center"
},
"innerBlocks": [],
"innerHTML": "\n<p class=\"has-text-align-center\">Thanks for testing Gutenberg!</p>\n",
"innerContent": [
"\n<p class=\"has-text-align-center\">Thanks for testing Gutenberg!</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": {
"align": "center"
},
"innerBlocks": [],
"innerHTML": "\n<p class=\"has-text-align-center\">👋</p>\n",
"innerContent": [
"\n<p class=\"has-text-align-center\">👋</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/heading",
"attrs": {
"level": 2
},
"innerBlocks": [],
"innerHTML": "\n<h2>Self-Closing Blocks (With and Without Attributes)</h2>\n",
"innerContent": [
"\n<h2>Self-Closing Blocks (With and Without Attributes)</h2>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/archives",
"attrs": {
"displayAsDropdown": true,
"showPostCounts": true
},
"innerBlocks": [],
"innerHTML": "",
"innerContent": []
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/latest-comments",
"attrs": [],
"innerBlocks": [],
"innerHTML": "",
"innerContent": []
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/heading",
"attrs": {
"level": 2
},
"innerBlocks": [],
"innerHTML": "\n<h2>\"Empty\" Blocks</h2>\n",
"innerContent": [
"\n<h2>\"Empty\" Blocks</h2>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p></p>\n",
"innerContent": [
"\n<p></p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/heading",
"attrs": {
"level": 2
},
"innerBlocks": [],
"innerHTML": "\n<h2>Theme Unit Test: Columns</h2>\n",
"innerContent": [
"\n<h2>Theme Unit Test: Columns</h2>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>This is the <strong>second</strong> column. It should align next to the first column. Reduce the browser window width to test the responsiveness.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>This is the <strong>second</strong> column. It should align next to the first column. Reduce the browser window width to test the responsiveness.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns\">\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns\">",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>This is the second column block. It has <strong>3</strong> columns.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>This is the second column block. It has <strong>3</strong> columns.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Paragraph 2 is in the middle.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Paragraph 2 is in the middle.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Paragraph 3 is in the last column.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Paragraph 3 is in the last column.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns\">\n\n\t\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns\">",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p> The third column block has <strong>4</strong> columns. Make sure that all the text is visible and that it is not cut off. </p>\n\t\t",
"innerContent": [
"\n\t\t<p> The third column block has <strong>4</strong> columns. Make sure that all the text is visible and that it is not cut off. </p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Now the columns are getting narrower.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Now the columns are getting narrower.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>The margins between the columns should be wide enough,</p>\n\t\t",
"innerContent": [
"\n\t\t<p>The margins between the columns should be wide enough,</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>so that the content of the columns does not run into or overlap each other.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>so that the content of the columns does not run into or overlap each other.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns\">\n\n\t\n\n\t\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns\">",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column one.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column one.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column two.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column two.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column three.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column three.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column four.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column four.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column <strong>five</strong>.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column <strong>five</strong>.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns\">\n\n\t\n\n\t\n\n\t\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns\">",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>To change the number of columns, select the column block to open the settings panel. You can show up to 6 columns. If the theme has support for wide align, you can also set the alignments to wide and full width.</p>\n",
"innerContent": [
"\n<p>To change the number of columns, select the column block to open the settings panel. You can show up to 6 columns. If the theme has support for wide align, you can also set the alignments to wide and full width.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Below is a column block with six columns, and no alignment:</p>\n",
"innerContent": [
"\n<p>Below is a column block with six columns, and no alignment:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column one.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column one.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column two.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column two.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column three.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column three.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column four.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column four.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column five.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column five.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column six.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column six.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns\">\n\n\t\n\n\t\n\n\t\n\n\t\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns\">",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>Next is a 3 column block, with a wide alignment:</p>\n",
"innerContent": [
"\n<p>Next is a 3 column block, with a wide alignment:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": {
"align": "wide"
},
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column one.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column one.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column two.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column two.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>Column three.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>Column three.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns alignwide\">\n\n\t\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns alignwide\">",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>And here is a two column block with full width, and a longer text. Make sure that the text wraps correctly.</p>\n",
"innerContent": [
"\n<p>And here is a two column block with full width, and a longer text. Make sure that the text wraps correctly.</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": {
"align": "full",
"className": "has-2-columns"
},
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>This is column one. Sometimes, you may want to use columns to display a larger text, so, lets add some <strong>more words</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. <em>Aenean</em> bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>This is column one. Sometimes, you may want to use columns to display a larger text, so, lets add some <strong>more words</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. <em>Aenean</em> bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p><strong>Column two.</strong> Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin f<em>elis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi </em>vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.</p>\n\t\t",
"innerContent": [
"\n\t\t<p><strong>Column two.</strong> Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin f<em>elis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi </em>vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.</p>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns alignfull has-2-columns\">\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns alignfull has-2-columns\">",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p>We can also add blocks inside columns:</p>\n",
"innerContent": [
"\n<p>We can also add blocks inside columns:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/columns",
"attrs": {
"align": "wide"
},
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/list",
"attrs": {
"ordered": true
},
"innerBlocks": [],
"innerHTML": "\n\t\t<ol><li>This is a numbered list,</li><li>inside a 3 column block</li><li>with a wide alignment.</li></ol>\n\t\t",
"innerContent": [
"\n\t\t<ol><li>This is a numbered list,</li><li>inside a 3 column block</li><li>with a wide alignment.</li></ol>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>The middle column has a paragraph with an image block below.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>The middle column has a paragraph with an image block below.</p>\n\t\t"
]
},
{
"blockName": "core/image",
"attrs": {
"id": 611
},
"innerBlocks": [],
"innerHTML": "\n\t\t<figure class=\"wp-block-image\"><img src=\"https://wpthemetestdata.files.wordpress.com/2008/06/canola2.jpg\" alt=\"canola\" class=\"wp-image-611\"/><figcaption>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.</figcaption></figure>\n\t\t",
"innerContent": [
"\n\t\t<figure class=\"wp-block-image\"><img src=\"https://wpthemetestdata.files.wordpress.com/2008/06/canola2.jpg\" alt=\"canola\" class=\"wp-image-611\"/><figcaption>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.</figcaption></figure>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\">\n\n\t\t</div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"\n\n\t\t",
null,
"</div>\n\t"
]
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/quote",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<blockquote class=\"wp-block-quote\"><p>-This third column has a quote</p><cite>Theme Reviewer<br></cite></blockquote>\n\t\t",
"innerContent": [
"\n\t\t<blockquote class=\"wp-block-quote\"><p>-This third column has a quote</p><cite>Theme Reviewer<br></cite></blockquote>\n\t\t"
]
}
],
"innerHTML": "\n\t<div class=\"wp-block-column\"></div>\n\t",
"innerContent": [
"\n\t<div class=\"wp-block-column\">",
null,
"</div>\n\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-columns alignwide\">\n\n\t\n\n\t</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns alignwide\">",
null,
"\n\n\t",
null,
"\n\n\t",
null,
"</div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<p><strong>But wait there is more!</strong>&nbsp; We also have a block called <em>Media &amp; Text,</em> which is a two column block that helps you display media and text content next to each other, without having to first setup a column block:</p>\n",
"innerContent": [
"\n<p><strong>But wait there is more!</strong>&nbsp; We also have a block called <em>Media &amp; Text,</em> which is a two column block that helps you display media and text content next to each other, without having to first setup a column block:</p>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
},
{
"blockName": "core/media-text",
"attrs": {
"mediaId": 617,
"mediaType": "image",
"isStackedOnMobile": false,
"className": "alignwide"
},
"innerBlocks": [
{
"blockName": "core/paragraph",
"attrs": {
"placeholder": "Content…",
"fontSize": "large"
},
"innerBlocks": [],
"innerHTML": "\n\t\t<p class=\"has-large-font-size\">Media &amp; Text</p>\n\t\t",
"innerContent": [
"\n\t\t<p class=\"has-large-font-size\">Media &amp; Text</p>\n\t\t"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p>A paragraph block sits ready to be used, below your headline.</p>\n\t\t",
"innerContent": [
"\n\t\t<p>A paragraph block sits ready to be used, below your headline.</p>\n\t\t"
]
},
{
"blockName": "core/paragraph",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\t\t<p></p>\n\t\t",
"innerContent": [
"\n\t\t<p></p>\n\t\t"
]
}
],
"innerHTML": "\n<div class=\"wp-block-media-text alignwide\"><figure class=\"wp-block-media-text__media\"><img src=\"https://wpthemetestdata.files.wordpress.com/2008/06/dsc20050813_115856_52.jpg\" alt=\"dsc20050813_115856_52\" class=\"wp-image-617\"/></figure><div class=\"wp-block-media-text__content\">\n\n\t\t\n\n\t\t</div></div>\n",
"innerContent": [
"\n<div class=\"wp-block-media-text alignwide\"><figure class=\"wp-block-media-text__media\"><img src=\"https://wpthemetestdata.files.wordpress.com/2008/06/dsc20050813_115856_52.jpg\" alt=\"dsc20050813_115856_52\" class=\"wp-image-617\"/></figure><div class=\"wp-block-media-text__content\">",
null,
"\n\n\t\t",
null,
"\n\n\t\t",
null,
"</div></div>\n"
]
},
{
"blockName": null,
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n\n",
"innerContent": [
"\n\n"
]
}
]
<?php
array (
0 =>
array (
'blockName' => 'core/cover',
'attrs' =>
array (
'url' => 'https://cldup.com/Fz-ASbo2s3.jpg',
'className' => 'alignwide',
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
'align' => 'center',
'placeholder' => 'Write title…',
'fontSize' => 'large',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p class="has-text-align-center has-large-font-size">Of Mountains &amp; Printing Presses</p>
',
'innerContent' =>
array (
0 => '
<p class="has-text-align-center has-large-font-size">Of Mountains &amp; Printing Presses</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-cover has-background-dim alignwide" style="background-image:url(https://cldup.com/Fz-ASbo2s3.jpg)"><div class="wp-block-cover__inner-container"></div></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-cover has-background-dim alignwide" style="background-image:url(https://cldup.com/Fz-ASbo2s3.jpg)"><div class="wp-block-cover__inner-container">',
1 => NULL,
2 => '</div></div>
',
),
),
1 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
2 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of <em>pieces of content</em>—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you&#8217;ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.</p>
',
'innerContent' =>
array (
0 => '
<p>The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of <em>pieces of content</em>—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you&#8217;ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.</p>
',
),
),
3 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
4 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>What you are reading now is a <strong>text block</strong> the most basic block of all. The text block has its own controls to be moved freely around the post...</p>
',
'innerContent' =>
array (
0 => '
<p>What you are reading now is a <strong>text block</strong> the most basic block of all. The text block has its own controls to be moved freely around the post...</p>
',
),
),
5 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
6 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
'align' => 'right',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p class="has-text-align-right">... like this one, which is right aligned.</p>
',
'innerContent' =>
array (
0 => '
<p class="has-text-align-right">... like this one, which is right aligned.</p>
',
),
),
7 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
8 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Headings are separate blocks as well, which helps with the outline and organization of your content.</p>
',
'innerContent' =>
array (
0 => '
<p>Headings are separate blocks as well, which helps with the outline and organization of your content.</p>
',
),
),
9 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
10 =>
array (
'blockName' => 'core/heading',
'attrs' =>
array (
'level' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<h2>A Picture is Worth a Thousand Words</h2>
',
'innerContent' =>
array (
0 => '
<h2>A Picture is Worth a Thousand Words</h2>
',
),
),
11 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
12 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you&#8217;ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.</p>
',
'innerContent' =>
array (
0 => '
<p>Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you&#8217;ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.</p>
',
),
),
13 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
14 =>
array (
'blockName' => 'core/image',
'attrs' =>
array (
'align' => 'center',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<div class="wp-block-image">
<figure class="aligncenter"><img src="https://cldup.com/cXyG__fTLN.jpg" alt="Beautiful landscape" />
<figcaption>If your theme supports it, you&#8217;ll see the "wide" button on the image toolbar. Give it a try.</figcaption>
</figure>
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-image">
<figure class="aligncenter"><img src="https://cldup.com/cXyG__fTLN.jpg" alt="Beautiful landscape" />
<figcaption>If your theme supports it, you&#8217;ll see the "wide" button on the image toolbar. Give it a try.</figcaption>
</figure>
</div>
',
),
),
15 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
16 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Try selecting and removing or editing the caption, now you don&#8217;t have to be careful about selecting the image or other text by mistake and ruining the presentation.</p>
',
'innerContent' =>
array (
0 => '
<p>Try selecting and removing or editing the caption, now you don&#8217;t have to be careful about selecting the image or other text by mistake and ruining the presentation.</p>
',
),
),
17 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
18 =>
array (
'blockName' => 'core/heading',
'attrs' =>
array (
'level' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<h2>The <em>Inserter</em> Tool</h2>
',
'innerContent' =>
array (
0 => '
<h2>The <em>Inserter</em> Tool</h2>
',
),
),
19 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
20 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That&#8217;s the spirit behind the inserter—the <code>(+)</code> button you&#8217;ll see around the editor—which allows you to browse all available content blocks and add them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.</p>
',
'innerContent' =>
array (
0 => '
<p>Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That&#8217;s the spirit behind the inserter—the <code>(+)</code> button you&#8217;ll see around the editor—which allows you to browse all available content blocks and add them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.</p>
',
),
),
21 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
22 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Go give it a try, you may discover things WordPress can already add into your posts that you didn&#8217;t know about. Here&#8217;s a short list of what you can currently find there:</p>
',
'innerContent' =>
array (
0 => '
<p>Go give it a try, you may discover things WordPress can already add into your posts that you didn&#8217;t know about. Here&#8217;s a short list of what you can currently find there:</p>
',
),
),
23 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
24 =>
array (
'blockName' => 'core/list',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<ul>
<li>Text &amp; Headings</li>
<li>Images &amp; Videos</li>
<li>Galleries</li>
<li>Embeds, like YouTube, Tweets, or other WordPress posts.</li>
<li>Layout blocks, like Buttons, Hero Images, Separators, etc.</li>
<li>And <em>Lists</em> like this one of course :)</li>
</ul>
',
'innerContent' =>
array (
0 => '
<ul>
<li>Text &amp; Headings</li>
<li>Images &amp; Videos</li>
<li>Galleries</li>
<li>Embeds, like YouTube, Tweets, or other WordPress posts.</li>
<li>Layout blocks, like Buttons, Hero Images, Separators, etc.</li>
<li>And <em>Lists</em> like this one of course :)</li>
</ul>
',
),
),
25 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
26 =>
array (
'blockName' => 'core/separator',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<hr class="wp-block-separator" />
',
'innerContent' =>
array (
0 => '
<hr class="wp-block-separator" />
',
),
),
27 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
28 =>
array (
'blockName' => 'core/heading',
'attrs' =>
array (
'level' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<h2>Visual Editing</h2>
',
'innerContent' =>
array (
0 => '
<h2>Visual Editing</h2>
',
),
),
29 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
30 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:</p>
',
'innerContent' =>
array (
0 => '
<p>A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:</p>
',
),
),
31 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
32 =>
array (
'blockName' => 'core/quote',
'attrs' =>
array (
'style' => 1,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<blockquote class="wp-block-quote">
<p>The editor will endeavor to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p>
<cite>Matt Mullenweg, 2017</cite>
</blockquote>
',
'innerContent' =>
array (
0 => '
<blockquote class="wp-block-quote">
<p>The editor will endeavor to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p>
<cite>Matt Mullenweg, 2017</cite>
</blockquote>
',
),
),
33 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
34 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It&#8217;s always easy to add it back.</p>
',
'innerContent' =>
array (
0 => '
<p>The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It&#8217;s always easy to add it back.</p>
',
),
),
35 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
36 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Blocks can be anything you need. For instance, you may want to add a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.</p>
',
'innerContent' =>
array (
0 => '
<p>Blocks can be anything you need. For instance, you may want to add a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.</p>
',
),
),
37 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
38 =>
array (
'blockName' => 'core/gallery',
'attrs' =>
array (
'ids' =>
array (
0 => NULL,
1 => NULL,
2 => NULL,
),
'columns' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<figure class="wp-block-gallery columns-2 is-cropped">
<ul class="blocks-gallery-grid">
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/n0g6ME5VKC.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/ZjESfxPI3R.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/EKNF8xD2UM.jpg" alt="" /></figure></li>
</ul>
</figure>
',
'innerContent' =>
array (
0 => '
<figure class="wp-block-gallery columns-2 is-cropped">
<ul class="blocks-gallery-grid">
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/n0g6ME5VKC.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/ZjESfxPI3R.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/EKNF8xD2UM.jpg" alt="" /></figure></li>
</ul>
</figure>
',
),
),
39 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
40 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.</p>
',
'innerContent' =>
array (
0 => '
<p>You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.</p>
',
),
),
41 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
42 =>
array (
'blockName' => 'core/heading',
'attrs' =>
array (
'level' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<h2>Media Rich</h2>
',
'innerContent' =>
array (
0 => '
<h2>Media Rich</h2>
',
),
),
43 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
44 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>If you combine the new <strong>wide</strong> and <strong>full-wide</strong> alignments with galleries, you can create a very media rich layout, very quickly:</p>
',
'innerContent' =>
array (
0 => '
<p>If you combine the new <strong>wide</strong> and <strong>full-wide</strong> alignments with galleries, you can create a very media rich layout, very quickly:</p>
',
),
),
45 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
46 =>
array (
'blockName' => 'core/image',
'attrs' =>
array (
'align' => 'full',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<figure class="wp-block-image alignfull"><img src="https://cldup.com/8lhI-gKnI2.jpg" alt="Accessibility is important &mdash; don&#8217;t forget image alt attribute" /></figure>
',
'innerContent' =>
array (
0 => '
<figure class="wp-block-image alignfull"><img src="https://cldup.com/8lhI-gKnI2.jpg" alt="Accessibility is important &mdash; don&#8217;t forget image alt attribute" /></figure>
',
),
),
47 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
48 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Sure, the full-wide image can be pretty big. But sometimes the image is worth it.</p>
',
'innerContent' =>
array (
0 => '
<p>Sure, the full-wide image can be pretty big. But sometimes the image is worth it.</p>
',
),
),
49 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
50 =>
array (
'blockName' => 'core/gallery',
'attrs' =>
array (
'ids' =>
array (
0 => NULL,
1 => NULL,
),
'align' => 'wide',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<figure class="wp-block-gallery alignwide columns-2 is-cropped">
<ul class="blocks-gallery-grid">
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/_rSwtEeDGD.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/L-cC3qX2DN.jpg" alt="" /></figure></li>
</ul>
</figure>
',
'innerContent' =>
array (
0 => '
<figure class="wp-block-gallery alignwide columns-2 is-cropped">
<ul class="blocks-gallery-grid">
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/_rSwtEeDGD.jpg" alt="" /></figure></li>
<li class="blocks-gallery-item"><figure><img src="https://cldup.com/L-cC3qX2DN.jpg" alt="" /></figure></li>
</ul>
</figure>
',
),
),
51 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
52 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>The above is a gallery with just two images. It&#8217;s an easier way to create visually appealing layouts, without having to deal with floats. You can also easily convert the gallery back to individual images again, by using the block switcher.</p>
',
'innerContent' =>
array (
0 => '
<p>The above is a gallery with just two images. It&#8217;s an easier way to create visually appealing layouts, without having to deal with floats. You can also easily convert the gallery back to individual images again, by using the block switcher.</p>
',
),
),
53 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
54 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:</p>
',
'innerContent' =>
array (
0 => '
<p>Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:</p>
',
),
),
55 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
56 =>
array (
'blockName' => 'core-embed/vimeo',
'attrs' =>
array (
'url' => 'https://vimeo.com/22439234',
'type' => 'video',
'providerNameSlug' => 'vimeo',
'align' => 'wide',
'className' => 'wp-has-aspect-ratio wp-embed-aspect-16-9',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<figure class="wp-block-embed-vimeo alignwide wp-block-embed is-type-video is-provider-vimeo wp-has-aspect-ratio wp-embed-aspect-16-9"><div class="wp-block-embed__wrapper">
https://vimeo.com/22439234
</div></figure>
',
'innerContent' =>
array (
0 => '
<figure class="wp-block-embed-vimeo alignwide wp-block-embed is-type-video is-provider-vimeo wp-has-aspect-ratio wp-embed-aspect-16-9"><div class="wp-block-embed__wrapper">
https://vimeo.com/22439234
</div></figure>
',
),
),
57 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
58 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>You can build any block you like, static or dynamic, decorative or plain. Here&#8217;s a pullquote block:</p>
',
'innerContent' =>
array (
0 => '
<p>You can build any block you like, static or dynamic, decorative or plain. Here&#8217;s a pullquote block:</p>
',
),
),
59 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
60 =>
array (
'blockName' => 'core/pullquote',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<figure class="wp-block-pullquote"><blockquote><p>Code is Poetry</p><cite>The WordPress community</cite></blockquote></figure>
',
'innerContent' =>
array (
0 => '
<figure class="wp-block-pullquote"><blockquote><p>Code is Poetry</p><cite>The WordPress community</cite></blockquote></figure>
',
),
),
61 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
62 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
'align' => 'center',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p class="has-text-align-center">
<em>
If you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the <a href="https://github.com/WordPress/gutenberg">GitHub repository</a>. </em>
</p>
',
'innerContent' =>
array (
0 => '
<p class="has-text-align-center">
<em>
If you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the <a href="https://github.com/WordPress/gutenberg">GitHub repository</a>. </em>
</p>
',
),
),
63 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
64 =>
array (
'blockName' => 'core/button',
'attrs' =>
array (
'align' => 'center',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<div class="wp-block-button aligncenter"><a class="wp-block-button__link" href="https://github.com/WordPress/gutenberg">Help build Gutenberg</a></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-button aligncenter"><a class="wp-block-button__link" href="https://github.com/WordPress/gutenberg">Help build Gutenberg</a></div>
',
),
),
65 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
66 =>
array (
'blockName' => 'core/separator',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<hr class="wp-block-separator" />
',
'innerContent' =>
array (
0 => '
<hr class="wp-block-separator" />
',
),
),
67 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
68 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
'align' => 'center',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p class="has-text-align-center">Thanks for testing Gutenberg!</p>
',
'innerContent' =>
array (
0 => '
<p class="has-text-align-center">Thanks for testing Gutenberg!</p>
',
),
),
69 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
70 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
'align' => 'center',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p class="has-text-align-center">👋</p>
',
'innerContent' =>
array (
0 => '
<p class="has-text-align-center">👋</p>
',
),
),
71 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
72 =>
array (
'blockName' => 'core/heading',
'attrs' =>
array (
'level' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<h2>Self-Closing Blocks (With and Without Attributes)</h2>
',
'innerContent' =>
array (
0 => '
<h2>Self-Closing Blocks (With and Without Attributes)</h2>
',
),
),
73 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
74 =>
array (
'blockName' => 'core/archives',
'attrs' =>
array (
'displayAsDropdown' => true,
'showPostCounts' => true,
),
'innerBlocks' =>
array (
),
'innerHTML' => '',
'innerContent' =>
array (
),
),
75 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
76 =>
array (
'blockName' => 'core/latest-comments',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '',
'innerContent' =>
array (
),
),
77 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
78 =>
array (
'blockName' => 'core/heading',
'attrs' =>
array (
'level' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<h2>"Empty" Blocks</h2>
',
'innerContent' =>
array (
0 => '
<h2>"Empty" Blocks</h2>
',
),
),
79 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
80 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p></p>
',
'innerContent' =>
array (
0 => '
<p></p>
',
),
),
81 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
82 =>
array (
'blockName' => 'core/heading',
'attrs' =>
array (
'level' => 2,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<h2>Theme Unit Test: Columns</h2>
',
'innerContent' =>
array (
0 => '
<h2>Theme Unit Test: Columns</h2>
',
),
),
83 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
84 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs.</p>
',
'innerContent' =>
array (
0 => '
<p>This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>This is the <strong>second</strong> column. It should align next to the first column. Reduce the browser window width to test the responsiveness.</p>
',
'innerContent' =>
array (
0 => '
<p>This is the <strong>second</strong> column. It should align next to the first column. Reduce the browser window width to test the responsiveness.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '</div>
',
),
),
85 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
86 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>This is the second column block. It has <strong>3</strong> columns.</p>
',
'innerContent' =>
array (
0 => '
<p>This is the second column block. It has <strong>3</strong> columns.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Paragraph 2 is in the middle.</p>
',
'innerContent' =>
array (
0 => '
<p>Paragraph 2 is in the middle.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
2 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Paragraph 3 is in the last column.</p>
',
'innerContent' =>
array (
0 => '
<p>Paragraph 3 is in the last column.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '
',
5 => NULL,
6 => '</div>
',
),
),
87 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
88 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p> The third column block has <strong>4</strong> columns. Make sure that all the text is visible and that it is not cut off. </p>
',
'innerContent' =>
array (
0 => '
<p> The third column block has <strong>4</strong> columns. Make sure that all the text is visible and that it is not cut off. </p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Now the columns are getting narrower.</p>
',
'innerContent' =>
array (
0 => '
<p>Now the columns are getting narrower.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
2 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>The margins between the columns should be wide enough,</p>
',
'innerContent' =>
array (
0 => '
<p>The margins between the columns should be wide enough,</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
3 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>so that the content of the columns does not run into or overlap each other.</p>
',
'innerContent' =>
array (
0 => '
<p>so that the content of the columns does not run into or overlap each other.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '
',
5 => NULL,
6 => '
',
7 => NULL,
8 => '</div>
',
),
),
89 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
90 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column one.</p>
',
'innerContent' =>
array (
0 => '
<p>Column one.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column two.</p>
',
'innerContent' =>
array (
0 => '
<p>Column two.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
2 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column three.</p>
',
'innerContent' =>
array (
0 => '
<p>Column three.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
3 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column four.</p>
',
'innerContent' =>
array (
0 => '
<p>Column four.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
4 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column <strong>five</strong>.</p>
',
'innerContent' =>
array (
0 => '
<p>Column <strong>five</strong>.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '
',
5 => NULL,
6 => '
',
7 => NULL,
8 => '
',
9 => NULL,
10 => '</div>
',
),
),
91 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
92 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>To change the number of columns, select the column block to open the settings panel. You can show up to 6 columns. If the theme has support for wide align, you can also set the alignments to wide and full width.</p>
',
'innerContent' =>
array (
0 => '
<p>To change the number of columns, select the column block to open the settings panel. You can show up to 6 columns. If the theme has support for wide align, you can also set the alignments to wide and full width.</p>
',
),
),
93 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
94 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Below is a column block with six columns, and no alignment:</p>
',
'innerContent' =>
array (
0 => '
<p>Below is a column block with six columns, and no alignment:</p>
',
),
),
95 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
96 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column one.</p>
',
'innerContent' =>
array (
0 => '
<p>Column one.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column two.</p>
',
'innerContent' =>
array (
0 => '
<p>Column two.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
2 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column three.</p>
',
'innerContent' =>
array (
0 => '
<p>Column three.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
3 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column four.</p>
',
'innerContent' =>
array (
0 => '
<p>Column four.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
4 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column five.</p>
',
'innerContent' =>
array (
0 => '
<p>Column five.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
5 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column six.</p>
',
'innerContent' =>
array (
0 => '
<p>Column six.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '
',
5 => NULL,
6 => '
',
7 => NULL,
8 => '
',
9 => NULL,
10 => '
',
11 => NULL,
12 => '</div>
',
),
),
97 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
98 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Next is a 3 column block, with a wide alignment:</p>
',
'innerContent' =>
array (
0 => '
<p>Next is a 3 column block, with a wide alignment:</p>
',
),
),
99 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
100 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
'align' => 'wide',
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column one.</p>
',
'innerContent' =>
array (
0 => '
<p>Column one.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column two.</p>
',
'innerContent' =>
array (
0 => '
<p>Column two.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
2 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>Column three.</p>
',
'innerContent' =>
array (
0 => '
<p>Column three.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns alignwide">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns alignwide">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '
',
5 => NULL,
6 => '</div>
',
),
),
101 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
102 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>And here is a two column block with full width, and a longer text. Make sure that the text wraps correctly.</p>
',
'innerContent' =>
array (
0 => '
<p>And here is a two column block with full width, and a longer text. Make sure that the text wraps correctly.</p>
',
),
),
103 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
104 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
'align' => 'full',
'className' => 'has-2-columns',
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>This is column one. Sometimes, you may want to use columns to display a larger text, so, lets add some <strong>more words</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. <em>Aenean</em> bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.</p>
',
'innerContent' =>
array (
0 => '
<p>This is column one. Sometimes, you may want to use columns to display a larger text, so, lets add some <strong>more words</strong>. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. <em>Aenean</em> bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p><strong>Column two.</strong> Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin f<em>elis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi </em>vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.</p>
',
'innerContent' =>
array (
0 => '
<p><strong>Column two.</strong> Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin f<em>elis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi </em>vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.</p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns alignfull has-2-columns">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns alignfull has-2-columns">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '</div>
',
),
),
105 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
106 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>We can also add blocks inside columns:</p>
',
'innerContent' =>
array (
0 => '
<p>We can also add blocks inside columns:</p>
',
),
),
107 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
108 =>
array (
'blockName' => 'core/columns',
'attrs' =>
array (
'align' => 'wide',
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/list',
'attrs' =>
array (
'ordered' => true,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<ol><li>This is a numbered list,</li><li>inside a 3 column block</li><li>with a wide alignment.</li></ol>
',
'innerContent' =>
array (
0 => '
<ol><li>This is a numbered list,</li><li>inside a 3 column block</li><li>with a wide alignment.</li></ol>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
1 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>The middle column has a paragraph with an image block below.</p>
',
'innerContent' =>
array (
0 => '
<p>The middle column has a paragraph with an image block below.</p>
',
),
),
1 =>
array (
'blockName' => 'core/image',
'attrs' =>
array (
'id' => 611,
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<figure class="wp-block-image"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/canola2.jpg" alt="canola" class="wp-image-611"/><figcaption>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.</figcaption></figure>
',
'innerContent' =>
array (
0 => '
<figure class="wp-block-image"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/canola2.jpg" alt="canola" class="wp-image-611"/><figcaption>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.</figcaption></figure>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '</div>
',
),
),
2 =>
array (
'blockName' => 'core/column',
'attrs' =>
array (
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/quote',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<blockquote class="wp-block-quote"><p>-This third column has a quote</p><cite>Theme Reviewer<br></cite></blockquote>
',
'innerContent' =>
array (
0 => '
<blockquote class="wp-block-quote"><p>-This third column has a quote</p><cite>Theme Reviewer<br></cite></blockquote>
',
),
),
),
'innerHTML' => '
<div class="wp-block-column"></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-column">',
1 => NULL,
2 => '</div>
',
),
),
),
'innerHTML' => '
<div class="wp-block-columns alignwide">
</div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-columns alignwide">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '
',
5 => NULL,
6 => '</div>
',
),
),
109 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
110 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p><strong>But wait there is more!</strong>&nbsp; We also have a block called <em>Media &amp; Text,</em> which is a two column block that helps you display media and text content next to each other, without having to first setup a column block:</p>
',
'innerContent' =>
array (
0 => '
<p><strong>But wait there is more!</strong>&nbsp; We also have a block called <em>Media &amp; Text,</em> which is a two column block that helps you display media and text content next to each other, without having to first setup a column block:</p>
',
),
),
111 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
112 =>
array (
'blockName' => 'core/media-text',
'attrs' =>
array (
'mediaId' => 617,
'mediaType' => 'image',
'isStackedOnMobile' => false,
'className' => 'alignwide',
),
'innerBlocks' =>
array (
0 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
'placeholder' => 'Content…',
'fontSize' => 'large',
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p class="has-large-font-size">Media &amp; Text</p>
',
'innerContent' =>
array (
0 => '
<p class="has-large-font-size">Media &amp; Text</p>
',
),
),
1 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p>A paragraph block sits ready to be used, below your headline.</p>
',
'innerContent' =>
array (
0 => '
<p>A paragraph block sits ready to be used, below your headline.</p>
',
),
),
2 =>
array (
'blockName' => 'core/paragraph',
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
<p></p>
',
'innerContent' =>
array (
0 => '
<p></p>
',
),
),
),
'innerHTML' => '
<div class="wp-block-media-text alignwide"><figure class="wp-block-media-text__media"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/dsc20050813_115856_52.jpg" alt="dsc20050813_115856_52" class="wp-image-617"/></figure><div class="wp-block-media-text__content">
</div></div>
',
'innerContent' =>
array (
0 => '
<div class="wp-block-media-text alignwide"><figure class="wp-block-media-text__media"><img src="https://wpthemetestdata.files.wordpress.com/2008/06/dsc20050813_115856_52.jpg" alt="dsc20050813_115856_52" class="wp-image-617"/></figure><div class="wp-block-media-text__content">',
1 => NULL,
2 => '
',
3 => NULL,
4 => '
',
5 => NULL,
6 => '</div></div>
',
),
),
113 =>
array (
'blockName' => NULL,
'attrs' =>
array (
),
'innerBlocks' =>
array (
),
'innerHTML' => '
',
'innerContent' =>
array (
0 => '
',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment