PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | post-content.php +59 -41 12.6.022.7.0 View file →
@@ -5,11 +5,11 @@
5 5 * @package gutenberg
6 6 */
7 7
8 8 ?>
9 -<!-- wp:cover {"url":"https://cldup.com/Fz-ASbo2s3.jpg","className":"alignwide"} -->
10 -<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"} -->
11 -<p class="has-text-align-center has-large-font-size"><?php _e( 'Of Mountains &amp; Printing Presses', 'gutenberg' ); ?></p>
9 +<!-- wp:cover {"url":"https://cldup.com/Fz-ASbo2s3.jpg","dimRatio":50,"align":"wide"} -->
10 +<div class="wp-block-cover alignwide is-light"><img class="wp-block-cover__image-background" src="https://cldup.com/Fz-ASbo2s3.jpg" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","textColor":"white","fontSize":"large"} -->
11 +<p class="has-text-align-center has-white-color has-text-color has-large-font-size"><?php _e( 'Of Mountains &amp; Printing Presses', 'gutenberg' ); ?></p>
12 12 <!-- /wp:paragraph --></div></div>
13 13 <!-- /wp:cover -->
14 14
15 15 <!-- wp:paragraph -->
@@ -27,10 +27,10 @@
27 27 <!-- wp:paragraph -->
28 28 <p><?php _e( 'Headings are separate blocks as well, which helps with the outline and organization of your content.', 'gutenberg' ); ?></p>
29 29 <!-- /wp:paragraph -->
30 30
31 -<!-- wp:heading {"level":2} -->
32 -<h2><?php _e( 'A Picture is Worth a Thousand Words', 'gutenberg' ); ?></h2>
31 +<!-- wp:heading -->
32 +<h2 class="wp-block-heading"><?php _e( 'A Picture is Worth a Thousand Words', 'gutenberg' ); ?></h2>
33 33 <!-- /wp:heading -->
34 34
35 35 <!-- wp:paragraph -->
36 36 <p><?php _e( '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.', 'gutenberg' ); ?></p>
@@ -36,13 +36,11 @@
36 36 <p><?php _e( '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.', 'gutenberg' ); ?></p>
37 37 <!-- /wp:paragraph -->
38 38
39 39 <!-- wp:image {"align":"center"} -->
40 -<div class="wp-block-image">
41 - <figure class="aligncenter"><img src="https://cldup.com/cXyG__fTLN.jpg" alt="<?php esc_attr_e( 'Beautiful landscape', 'gutenberg' ); ?>" />
42 - <figcaption><?php _e( 'If your theme supports it, you&#8217;ll see the "wide" button on the image toolbar. Give it a try.', 'gutenberg' ); ?></figcaption>
43 - </figure>
44 -</div>
40 +<figure class="wp-block-image aligncenter"><img src="https://cldup.com/cXyG__fTLN.jpg" alt="<?php esc_attr_e( 'Beautiful landscape', 'gutenberg' ); ?>" />
41 + <figcaption class="wp-element-caption"><?php _e( 'If your theme supports it, you&#8217;ll see the "wide" button on the image toolbar. Give it a try.', 'gutenberg' ); ?></figcaption>
42 +</figure>
45 43 <!-- /wp:image -->
46 44
47 45 <!-- wp:paragraph -->
48 46 <p><?php _e( '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.', 'gutenberg' ); ?></p>
@@ -47,10 +45,10 @@
47 45 <!-- wp:paragraph -->
48 46 <p><?php _e( '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.', 'gutenberg' ); ?></p>
49 47 <!-- /wp:paragraph -->
50 48
51 -<!-- wp:heading {"level":2} -->
52 -<h2><?php _e( 'The <em>Inserter</em> Tool', 'gutenberg' ); ?></h2>
49 +<!-- wp:heading -->
50 +<h2 class="wp-block-heading"><?php _e( 'The <em>Inserter</em> Tool', 'gutenberg' ); ?></h2>
53 51 <!-- /wp:heading -->
54 52
55 53 <!-- wp:paragraph -->
56 54 <p><?php _e( '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.', 'gutenberg' ); ?></p>
@@ -59,25 +57,37 @@
59 57 <!-- wp:paragraph -->
60 58 <p><?php _e( '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:', 'gutenberg' ); ?></p>
61 59 <!-- /wp:paragraph -->
62 60
63 -<!-- wp:list -->
64 -<ul>
61 +<!-- wp:list {"className":"wp-block-list"} -->
62 +<ul class="wp-block-list">
63 + <!-- wp:list-item -->
65 64 <li><?php _e( 'Text &amp; Headings', 'gutenberg' ); ?></li>
65 + <!-- /wp:list-item -->
66 + <!-- wp:list-item -->
66 67 <li><?php _e( 'Images &amp; Videos', 'gutenberg' ); ?></li>
68 + <!-- /wp:list-item -->
69 + <!-- wp:list-item -->
67 70 <li><?php _e( 'Galleries', 'gutenberg' ); ?></li>
71 + <!-- /wp:list-item -->
72 + <!-- wp:list-item -->
68 73 <li><?php _e( 'Embeds, like YouTube, Tweets, or other WordPress posts.', 'gutenberg' ); ?></li>
74 + <!-- /wp:list-item -->
75 + <!-- wp:list-item -->
69 76 <li><?php _e( 'Layout blocks, like Buttons, Hero Images, Separators, etc.', 'gutenberg' ); ?></li>
77 + <!-- /wp:list-item -->
78 + <!-- wp:list-item -->
70 79 <li><?php _e( 'And <em>Lists</em> like this one of course :)', 'gutenberg' ); ?></li>
80 + <!-- /wp:list-item -->
71 81 </ul>
72 82 <!-- /wp:list -->
73 83
74 -<!-- wp:separator -->
75 -<hr class="wp-block-separator" />
84 +<!-- wp:separator {"opacity":"css"} -->
85 +<hr class="wp-block-separator has-css-opacity" />
76 86 <!-- /wp:separator -->
77 87
78 -<!-- wp:heading {"level":2} -->
79 -<h2><?php _e( 'Visual Editing', 'gutenberg' ); ?></h2>
88 +<!-- wp:heading -->
89 +<h2 class="wp-block-heading"><?php _e( 'Visual Editing', 'gutenberg' ); ?></h2>
80 90 <!-- /wp:heading -->
81 91
82 92 <!-- wp:paragraph -->
83 93 <p><?php _e( '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:', 'gutenberg' ); ?></p>
@@ -82,11 +92,13 @@
82 92 <!-- wp:paragraph -->
83 93 <p><?php _e( '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:', 'gutenberg' ); ?></p>
84 94 <!-- /wp:paragraph -->
85 95
86 -<!-- wp:quote {"style":1} -->
96 +<!-- wp:quote -->
87 97 <blockquote class="wp-block-quote">
98 + <!-- wp:paragraph -->
88 99 <p><?php _e( '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.', 'gutenberg' ); ?></p>
100 + <!-- /wp:paragraph -->
89 101 <cite><?php _e( 'Matt Mullenweg, 2017', 'gutenberg' ); ?></cite>
90 102 </blockquote>
91 103 <!-- /wp:quote -->
92 104
@@ -97,15 +109,19 @@
97 109 <!-- wp:paragraph -->
98 110 <p><?php _e( '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.', 'gutenberg' ); ?></p>
99 111 <!-- /wp:paragraph -->
100 112
101 -<!-- wp:gallery {"ids":[null,null,null],"columns":2} -->
102 -<figure class="wp-block-gallery columns-2 is-cropped">
103 -<ul class="blocks-gallery-grid">
104 -<li class="blocks-gallery-item"><figure><img src="https://cldup.com/n0g6ME5VKC.jpg" alt="" /></figure></li>
105 -<li class="blocks-gallery-item"><figure><img src="https://cldup.com/ZjESfxPI3R.jpg" alt="" /></figure></li>
106 -<li class="blocks-gallery-item"><figure><img src="https://cldup.com/EKNF8xD2UM.jpg" alt="" /></figure></li>
107 -</ul>
113 +<!-- wp:gallery {"columns":2,"linkTo":"none"} -->
114 +<figure class="wp-block-gallery has-nested-images columns-2 is-cropped">
115 + <!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
116 + <figure class="wp-block-image size-large"><img src="https://cldup.com/n0g6ME5VKC.jpg" alt="" /></figure>
117 + <!-- /wp:image -->
118 + <!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
119 + <figure class="wp-block-image size-large"><img src="https://cldup.com/ZjESfxPI3R.jpg" alt="" /></figure>
120 + <!-- /wp:image -->
121 + <!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
122 + <figure class="wp-block-image size-large"><img src="https://cldup.com/EKNF8xD2UM.jpg" alt="" /></figure>
123 + <!-- /wp:image -->
108 124 </figure>
109 125 <!-- /wp:gallery -->
110 126
111 127 <!-- wp:paragraph -->
@@ -111,10 +127,10 @@
111 127 <!-- wp:paragraph -->
112 128 <p><?php _e( 'You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.', 'gutenberg' ); ?></p>
113 129 <!-- /wp:paragraph -->
114 130
115 -<!-- wp:heading {"level":2} -->
116 -<h2><?php _e( 'Media Rich', 'gutenberg' ); ?></h2>
131 +<!-- wp:heading -->
132 +<h2 class="wp-block-heading"><?php _e( 'Media Rich', 'gutenberg' ); ?></h2>
117 133 <!-- /wp:heading -->
118 134
119 135 <!-- wp:paragraph -->
120 136 <p><?php _e( '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:', 'gutenberg' ); ?></p>
@@ -127,14 +143,16 @@
127 143 <!-- wp:paragraph -->
128 144 <p><?php _e( 'Sure, the full-wide image can be pretty big. But sometimes the image is worth it.', 'gutenberg' ); ?></p>
129 145 <!-- /wp:paragraph -->
130 146
131 -<!-- wp:gallery {"ids":[null,null],"align":"wide"} -->
132 -<figure class="wp-block-gallery alignwide columns-2 is-cropped">
133 -<ul class="blocks-gallery-grid">
134 -<li class="blocks-gallery-item"><figure><img src="https://cldup.com/_rSwtEeDGD.jpg" alt="" /></figure></li>
135 -<li class="blocks-gallery-item"><figure><img src="https://cldup.com/L-cC3qX2DN.jpg" alt="" /></figure></li>
136 -</ul>
147 +<!-- wp:gallery {"linkTo":"none","align":"wide"} -->
148 +<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped">
149 + <!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
150 + <figure class="wp-block-image size-large"><img src="https://cldup.com/_rSwtEeDGD.jpg" alt="" /></figure>
151 + <!-- /wp:image -->
152 + <!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
153 + <figure class="wp-block-image size-large"><img src="https://cldup.com/L-cC3qX2DN.jpg" alt="" /></figure>
154 + <!-- /wp:image -->
137 155 </figure>
138 156 <!-- /wp:gallery -->
139 157
140 158 <!-- wp:paragraph -->
@@ -144,10 +162,10 @@
144 162 <!-- wp:paragraph -->
145 163 <p><?php _e( 'Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:', 'gutenberg' ); ?></p>
146 164 <!-- /wp:paragraph -->
147 165
148 -<!-- wp:embed {"url":"https://vimeo.com/22439234","type":"video","providerNameSlug":"vimeo","align":"wide","className":"wp-has-aspect-ratio wp-embed-aspect-16-9","responsive":true} -->
149 -<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">
166 +<!-- wp:embed {"url":"https://vimeo.com/22439234","type":"video","providerNameSlug":"vimeo","responsive":true,"align":"wide","className":"wp-has-aspect-ratio wp-embed-aspect-16-9"} -->
167 +<figure class="wp-block-embed alignwide is-type-video is-provider-vimeo wp-block-embed-vimeo wp-has-aspect-ratio wp-embed-aspect-16-9"><div class="wp-block-embed__wrapper">
150 168 https://vimeo.com/22439234
151 169 </div></figure>
152 170 <!-- /wp:embed -->
153 171
@@ -162,9 +180,9 @@
162 180 <!-- wp:paragraph {"align":"center"} -->
163 181 <p class="has-text-align-center">
164 182 <em>
165 183 <?php
166 - echo sprintf(
184 + printf(
167 185 /* translators: %s: Gutenberg GitHub repository URL */
168 186 __( '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="%s">GitHub repository</a>.', 'gutenberg' ),
169 187 'https://github.com/WordPress/gutenberg'
170 188 );
@@ -172,14 +190,14 @@
172 190 </em>
173 191 </p>
174 192 <!-- /wp:paragraph -->
175 193
176 -<!-- wp:button { "align": "center" } -->
177 -<div class="wp-block-button aligncenter"><a class="wp-block-button__link" href="https://github.com/WordPress/gutenberg"><?php _e( 'Help build Gutenberg', 'gutenberg' ); ?></a></div>
194 +<!-- wp:button {"className":"aligncenter"} -->
195 +<div class="wp-block-button aligncenter"><a class="wp-block-button__link wp-element-button" href="https://github.com/WordPress/gutenberg"><?php _e( 'Help build Gutenberg', 'gutenberg' ); ?></a></div>
178 196 <!-- /wp:button -->
179 197
180 -<!-- wp:separator -->
181 -<hr class="wp-block-separator" />
198 +<!-- wp:separator {"opacity":"css"} -->
199 +<hr class="wp-block-separator has-css-opacity" />
182 200 <!-- /wp:separator -->
183 201
184 202 <!-- wp:paragraph {"align":"center"} -->
185 203 <p class="has-text-align-center"><?php _e( 'Thanks for testing Gutenberg!', 'gutenberg' ); ?></p>