diff --git a/blocks/api/post.pegjs b/blocks/api/post.pegjs index 97d6372e514cae..c3d0ddb28db0f8 100644 --- a/blocks/api/post.pegjs +++ b/blocks/api/post.pegjs @@ -22,10 +22,25 @@ WP_Block_List = WP_Block* WP_Block - = WP_Block_Void + = WP_Tag_More + / WP_Block_Void / WP_Block_Balanced / WP_Block_Html +WP_Tag_More + = "") .)+) { return text })? WS* "-->" noTeaser:(WS* WP_Tag_NoTeaser)? + { return { + blockName: 'wp:core/more', + attrs: { + customText: customText, + noTeaser: !! noTeaser + }, + rawContent: '' + } } + +WP_Tag_NoTeaser + = "" + WP_Block_Void = "', + '', + '', + '', '
The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of pieces of content—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you\'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.
', '',