mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Block Editor: Update @wordpress
dependencies to the latest version.
Changes of note: - Includes the new Annotations API package. - `wp-polyfill-ecmascript.js` is renamed to `wp-polyfill.js`. - `strip_dynamic_blocks()` has been removed in favour of `excerpt_remove_blocks()`. - The PHP block parser is now syncing from the `block-serialization-default-parser` package. - `do_blocks()` uses the new parser. - The `do_block` filter has been removed from `do_blocks()`, in favour of a `render_block` filter in `render_block()`. See #45145, #45190, #45264, #45282. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ca69dd523b
commit
26414eec37
794
package-lock.json
generated
794
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
43
package.json
43
package.json
@ -51,40 +51,41 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "^7.0.0",
|
"@babel/polyfill": "^7.0.0",
|
||||||
"@wordpress/a11y": "^2.0.2",
|
"@wordpress/a11y": "^2.0.2",
|
||||||
"@wordpress/api-fetch": "^2.2.2",
|
"@wordpress/annotations": "^1.0.0",
|
||||||
|
"@wordpress/api-fetch": "^2.2.3",
|
||||||
"@wordpress/autop": "^2.0.2",
|
"@wordpress/autop": "^2.0.2",
|
||||||
"@wordpress/blob": "^2.1.0",
|
"@wordpress/blob": "^2.1.0",
|
||||||
"@wordpress/block-library": "^2.1.8",
|
"@wordpress/block-library": "^2.2.2",
|
||||||
"@wordpress/block-serialization-default-parser": "^1.0.2",
|
"@wordpress/block-serialization-default-parser": "^2.0.0",
|
||||||
"@wordpress/blocks": "^5.1.2",
|
"@wordpress/blocks": "^5.3.1",
|
||||||
"@wordpress/components": "^5.0.2",
|
"@wordpress/components": "^6.0.0",
|
||||||
"@wordpress/compose": "^2.1.0",
|
"@wordpress/compose": "^2.1.2",
|
||||||
"@wordpress/core-data": "^2.0.9",
|
"@wordpress/core-data": "^2.0.12",
|
||||||
"@wordpress/data": "^3.1.0",
|
"@wordpress/data": "^3.1.2",
|
||||||
"@wordpress/date": "^2.1.0",
|
"@wordpress/date": "^2.2.1",
|
||||||
"@wordpress/deprecated": "^2.0.3",
|
"@wordpress/deprecated": "^2.0.3",
|
||||||
"@wordpress/dom": "^2.0.4",
|
"@wordpress/dom": "^2.0.6",
|
||||||
"@wordpress/dom-ready": "^2.0.2",
|
"@wordpress/dom-ready": "^2.0.2",
|
||||||
"@wordpress/edit-post": "^2.0.3",
|
"@wordpress/edit-post": "^3.0.0",
|
||||||
"@wordpress/editor": "^6.1.1",
|
"@wordpress/editor": "^7.0.0",
|
||||||
"@wordpress/element": "^2.1.5",
|
"@wordpress/element": "^2.1.7",
|
||||||
"@wordpress/escape-html": "^1.0.1",
|
"@wordpress/escape-html": "^1.0.1",
|
||||||
"@wordpress/format-library": "^1.0.3",
|
"@wordpress/format-library": "^1.2.0",
|
||||||
"@wordpress/hooks": "^2.0.3",
|
"@wordpress/hooks": "^2.0.3",
|
||||||
"@wordpress/html-entities": "^2.0.2",
|
"@wordpress/html-entities": "^2.0.2",
|
||||||
"@wordpress/i18n": "^3.0.1",
|
"@wordpress/i18n": "^3.0.1",
|
||||||
"@wordpress/is-shallow-equal": "^1.1.4",
|
"@wordpress/is-shallow-equal": "^1.1.4",
|
||||||
"@wordpress/keycodes": "^2.0.3",
|
"@wordpress/keycodes": "^2.0.3",
|
||||||
"@wordpress/list-reusable-blocks": "^1.1.7",
|
"@wordpress/list-reusable-blocks": "^1.1.10",
|
||||||
"@wordpress/notices": "^1.0.2",
|
"@wordpress/notices": "^1.0.4",
|
||||||
"@wordpress/nux": "^2.0.9",
|
"@wordpress/nux": "^2.0.12",
|
||||||
"@wordpress/plugins": "^2.0.6",
|
"@wordpress/plugins": "^2.0.8",
|
||||||
"@wordpress/redux-routine": "^3.0.3",
|
"@wordpress/redux-routine": "^3.0.3",
|
||||||
"@wordpress/rich-text": "^2.0.2",
|
"@wordpress/rich-text": "^2.0.4",
|
||||||
"@wordpress/shortcode": "^2.0.2",
|
"@wordpress/shortcode": "^2.0.2",
|
||||||
"@wordpress/token-list": "^1.0.2",
|
"@wordpress/token-list": "^1.0.2",
|
||||||
"@wordpress/url": "^2.2.0",
|
"@wordpress/url": "^2.3.0",
|
||||||
"@wordpress/viewport": "^2.0.8",
|
"@wordpress/viewport": "^2.0.10",
|
||||||
"@wordpress/wordcount": "^2.0.3",
|
"@wordpress/wordcount": "^2.0.3",
|
||||||
"element-closest": "^2.0.2",
|
"element-closest": "^2.0.2",
|
||||||
"formdata-polyfill": "^3.0.12",
|
"formdata-polyfill": "^3.0.12",
|
||||||
|
@ -103,15 +103,9 @@ if ( 'auto-draft' === $post->post_status ) {
|
|||||||
$is_new_post = true;
|
$is_new_post = true;
|
||||||
// Override "(Auto Draft)" new post default title with empty string, or filtered value.
|
// Override "(Auto Draft)" new post default title with empty string, or filtered value.
|
||||||
$initial_edits = array(
|
$initial_edits = array(
|
||||||
'title' => array(
|
'title' => $post->post_title,
|
||||||
'raw' => $post->post_title,
|
'content' => $post->post_content,
|
||||||
),
|
'excerpt' => $post->post_excerpt,
|
||||||
'content' => array(
|
|
||||||
'raw' => $post->post_content,
|
|
||||||
),
|
|
||||||
'excerpt' => array(
|
|
||||||
'raw' => $post->post_excerpt,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -202,8 +196,6 @@ if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Image sizes.
|
// Image sizes.
|
||||||
$image_sizes = get_intermediate_image_sizes();
|
|
||||||
$image_sizes[] = 'full';
|
|
||||||
|
|
||||||
/** This filter is documented in wp-admin/includes/media.php */
|
/** This filter is documented in wp-admin/includes/media.php */
|
||||||
$image_size_names = apply_filters(
|
$image_size_names = apply_filters(
|
||||||
@ -217,10 +209,10 @@ $image_size_names = apply_filters(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$available_image_sizes = array();
|
$available_image_sizes = array();
|
||||||
foreach ( $image_sizes as $image_size_slug ) {
|
foreach ( $image_size_names as $image_size_slug => $image_size_name ) {
|
||||||
$available_image_sizes[] = array(
|
$available_image_sizes[] = array(
|
||||||
'slug' => $image_size_slug,
|
'slug' => $image_size_slug,
|
||||||
'name' => isset( $image_size_names[ $image_size_slug ] ) ? $image_size_names[ $image_size_slug ] : $image_size_slug,
|
'name' => $image_size_name,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -259,10 +251,10 @@ if ( $user_id ) {
|
|||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @since 5.0.0
|
||||||
*
|
*
|
||||||
* @param string $text Placeholder text. Default 'Write your story'.
|
* @param string $text Placeholder text. Default 'Start writing or type / to choose a block'.
|
||||||
* @param WP_Post $post Post object.
|
* @param WP_Post $post Post object.
|
||||||
*/
|
*/
|
||||||
$body_placeholder = apply_filters( 'write_your_story', __( 'Write your story' ), $post );
|
$body_placeholder = apply_filters( 'write_your_story', __( 'Start writing or type / to choose a block' ), $post );
|
||||||
|
|
||||||
$editor_settings = array(
|
$editor_settings = array(
|
||||||
'alignWide' => $align_wide,
|
'alignWide' => $align_wide,
|
||||||
@ -279,7 +271,7 @@ $editor_settings = array(
|
|||||||
'maxUploadFileSize' => $max_upload_size,
|
'maxUploadFileSize' => $max_upload_size,
|
||||||
'allowedMimeTypes' => get_allowed_mime_types(),
|
'allowedMimeTypes' => get_allowed_mime_types(),
|
||||||
'styles' => $styles,
|
'styles' => $styles,
|
||||||
'availableImageSizes' => $available_image_sizes,
|
'imageSizes' => $available_image_sizes,
|
||||||
'postLock' => $lock_details,
|
'postLock' => $lock_details,
|
||||||
'postLockUtils' => array(
|
'postLockUtils' => array(
|
||||||
'nonce' => wp_create_nonce( 'lock-post_' . $post->ID ),
|
'nonce' => wp_create_nonce( 'lock-post_' . $post->ID ),
|
||||||
|
@ -114,41 +114,92 @@ function get_dynamic_block_names() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove all dynamic blocks from the given content.
|
* Parses blocks out of a content string, and renders those appropriate for the excerpt.
|
||||||
|
*
|
||||||
|
* As the excerpt should be a small string of text relevant to the full post content,
|
||||||
|
* this function renders the blocks that are most likely to contain such text.
|
||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @since 5.0.0
|
||||||
*
|
*
|
||||||
* @param string $content Content of the current post.
|
* @param string $content The content to parse.
|
||||||
* @return string
|
* @return string The parsed and filtered content.
|
||||||
*/
|
*/
|
||||||
function strip_dynamic_blocks( $content ) {
|
function excerpt_remove_blocks( $content ) {
|
||||||
return _recurse_strip_dynamic_blocks( parse_blocks( $content ) );
|
$allowed_blocks = array(
|
||||||
|
// Classic blocks have their blockName set to null.
|
||||||
|
null,
|
||||||
|
'core/columns',
|
||||||
|
'core/freeform',
|
||||||
|
'core/heading',
|
||||||
|
'core/html',
|
||||||
|
'core/list',
|
||||||
|
'core/media-text',
|
||||||
|
'core/paragraph',
|
||||||
|
'core/preformatted',
|
||||||
|
'core/pullquote',
|
||||||
|
'core/quote',
|
||||||
|
'core/table',
|
||||||
|
'core/verse',
|
||||||
|
);
|
||||||
|
/**
|
||||||
|
* Filters the list of blocks that can contribute to the excerpt.
|
||||||
|
*
|
||||||
|
* If a dynamic block is added to this list, it must not generate another
|
||||||
|
* excerpt, as this will cause an infinite loop to occur.
|
||||||
|
*
|
||||||
|
* @since 4.4.0
|
||||||
|
*
|
||||||
|
* @param array $allowed_blocks The list of allowed blocks.
|
||||||
|
*/
|
||||||
|
$allowed_blocks = apply_filters( 'excerpt_allowed_blocks', $allowed_blocks );
|
||||||
|
$blocks = parse_blocks( $content );
|
||||||
|
$output = '';
|
||||||
|
foreach ( $blocks as $block ) {
|
||||||
|
if ( in_array( $block['blockName'], $allowed_blocks, true ) ) {
|
||||||
|
$output .= render_block( $block );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper function for strip_dynamic_blocks(), to recurse through the block tree.
|
* Renders a single block into a HTML string.
|
||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @since 5.0.0
|
||||||
* @access private
|
|
||||||
*
|
*
|
||||||
* @param array $blocks Array of blocks from parse_blocks().
|
* @global WP_Post $post The post to edit.
|
||||||
* @return string HTML from the non-dynamic blocks.
|
*
|
||||||
|
* @param array $block A single parsed block object.
|
||||||
|
* @return string String of rendered HTML.
|
||||||
*/
|
*/
|
||||||
function _recurse_strip_dynamic_blocks( $blocks ) {
|
function render_block( $block ) {
|
||||||
$clean_content = '';
|
global $post;
|
||||||
$dynamic_blocks = get_dynamic_block_names();
|
|
||||||
|
|
||||||
foreach ( $blocks as $block ) {
|
$block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );
|
||||||
if ( ! in_array( $block['blockName'], $dynamic_blocks ) ) {
|
$is_dynamic = $block['blockName'] && null !== $block_type && $block_type->is_dynamic();
|
||||||
if ( $block['innerBlocks'] ) {
|
$block_content = '';
|
||||||
$clean_content .= _recurse_strip_dynamic_blocks( $block['innerBlocks'] );
|
$index = 0;
|
||||||
} else {
|
|
||||||
$clean_content .= $block['innerHTML'];
|
foreach ( $block['innerContent'] as $chunk ) {
|
||||||
}
|
$block_content .= is_string( $chunk ) ? $chunk : render_block( $block['innerBlocks'][ $index++ ] );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $clean_content;
|
if ( $is_dynamic ) {
|
||||||
|
$attributes = is_array( $block['attrs'] ) ? (array) $block['attrs'] : array();
|
||||||
|
$global_post = $post;
|
||||||
|
$block_content = $block_type->render( $attributes, $block_content );
|
||||||
|
$post = $global_post;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Filters the content of a single block.
|
||||||
|
*
|
||||||
|
* @since 5.0.0
|
||||||
|
*
|
||||||
|
* @param string $block_content The block content about to be appended.
|
||||||
|
* @param array $block The full block, including name and attributes.
|
||||||
|
*/
|
||||||
|
return apply_filters( 'render_block', $block_content, $block );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -156,25 +207,10 @@ function _recurse_strip_dynamic_blocks( $blocks ) {
|
|||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @since 5.0.0
|
||||||
*
|
*
|
||||||
* @param string $content Post content.
|
* @param string $content Post content.
|
||||||
* @return array Array of parsed block objects.
|
* @return array Array of parsed block objects.
|
||||||
*/
|
*/
|
||||||
function parse_blocks( $content ) {
|
function parse_blocks( $content ) {
|
||||||
/*
|
|
||||||
* If there are no blocks in the content, return a single block, rather
|
|
||||||
* than wasting time trying to parse the string.
|
|
||||||
*/
|
|
||||||
if ( ! has_blocks( $content ) ) {
|
|
||||||
return array(
|
|
||||||
array(
|
|
||||||
'blockName' => null,
|
|
||||||
'attrs' => array(),
|
|
||||||
'innerBlocks' => array(),
|
|
||||||
'innerHTML' => $content,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter to allow plugins to replace the server-side block parser
|
* Filter to allow plugins to replace the server-side block parser
|
||||||
*
|
*
|
||||||
@ -206,7 +242,13 @@ function do_blocks( $content ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$blocks = parse_blocks( $content );
|
$blocks = parse_blocks( $content );
|
||||||
return _recurse_do_blocks( $blocks, $blocks );
|
$output = '';
|
||||||
|
|
||||||
|
foreach ( $blocks as $block ) {
|
||||||
|
$output .= render_block( $block );
|
||||||
|
}
|
||||||
|
|
||||||
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -230,67 +272,6 @@ function _restore_wpautop_hook( $content ) {
|
|||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper function for do_blocks(), to recurse through the block tree.
|
|
||||||
*
|
|
||||||
* @since 5.0.0
|
|
||||||
* @access private
|
|
||||||
*
|
|
||||||
* @param array $blocks Array of blocks from parse_blocks().
|
|
||||||
* @param array $all_blocks The top level array of blocks.
|
|
||||||
* @return string The block HTML.
|
|
||||||
*/
|
|
||||||
function _recurse_do_blocks( $blocks, $all_blocks ) {
|
|
||||||
global $post;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Back up global post, to restore after render callback.
|
|
||||||
* Allows callbacks to run new WP_Query instances without breaking the global post.
|
|
||||||
*/
|
|
||||||
$global_post = $post;
|
|
||||||
|
|
||||||
$rendered_content = '';
|
|
||||||
$dynamic_blocks = get_dynamic_block_names();
|
|
||||||
|
|
||||||
foreach ( $blocks as $block ) {
|
|
||||||
$block = (array) $block;
|
|
||||||
if ( in_array( $block['blockName'], $dynamic_blocks ) ) {
|
|
||||||
// Find registered block type. We can assume it exists since we use the
|
|
||||||
// `get_dynamic_block_names` function as a source for pattern matching.
|
|
||||||
$block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );
|
|
||||||
|
|
||||||
// Replace dynamic block with server-rendered output.
|
|
||||||
$block_content = $block_type->render( (array) $block['attrs'], $block['innerHTML'] );
|
|
||||||
} else if ( $block['innerBlocks'] ) {
|
|
||||||
$block_content = _recurse_do_blocks( $block['innerBlocks'], $blocks );
|
|
||||||
} else {
|
|
||||||
$block_content = $block['innerHTML'];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Filters the content of a single block.
|
|
||||||
*
|
|
||||||
* During the_content, each block is parsed and added to the output individually. This filter allows
|
|
||||||
* that content to be altered immediately before it's appended.
|
|
||||||
*
|
|
||||||
* @since 5.0.0
|
|
||||||
*
|
|
||||||
* @param string $block_content The block content about to be appended.
|
|
||||||
* @param array $block The full block, including name and attributes.
|
|
||||||
* @param array $all_blocks The array of all blocks being processed.
|
|
||||||
*/
|
|
||||||
$rendered_content .= apply_filters( 'do_block', $block_content, $block, $all_blocks );
|
|
||||||
|
|
||||||
// Restore global $post.
|
|
||||||
$post = $global_post;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Strip remaining block comment demarcations.
|
|
||||||
$rendered_content = preg_replace( '/<!--\s+\/?wp:.*?-->/m', '', $rendered_content );
|
|
||||||
|
|
||||||
return $rendered_content;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current version of the block format that the content string is using.
|
* Returns the current version of the block format that the content string is using.
|
||||||
*
|
*
|
||||||
|
@ -48,11 +48,26 @@ class WP_Block_Parser_Block {
|
|||||||
*/
|
*/
|
||||||
public $innerHTML;
|
public $innerHTML;
|
||||||
|
|
||||||
function __construct( $name, $attrs, $innerBlocks, $innerHTML ) {
|
/**
|
||||||
|
* List of string fragments and null markers where inner blocks were found
|
||||||
|
*
|
||||||
|
* @example array(
|
||||||
|
* 'innerHTML' => 'BeforeInnerAfter',
|
||||||
|
* 'innerBlocks' => array( block, block ),
|
||||||
|
* 'innerContent' => array( 'Before', null, 'Inner', null, 'After' ),
|
||||||
|
* )
|
||||||
|
*
|
||||||
|
* @since 4.2.0
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public $innerContent;
|
||||||
|
|
||||||
|
function __construct( $name, $attrs, $innerBlocks, $innerHTML, $innerContent ) {
|
||||||
$this->blockName = $name;
|
$this->blockName = $name;
|
||||||
$this->attrs = $attrs;
|
$this->attrs = $attrs;
|
||||||
$this->innerBlocks = $innerBlocks;
|
$this->innerBlocks = $innerBlocks;
|
||||||
$this->innerHTML = $innerHTML;
|
$this->innerHTML = $innerHTML;
|
||||||
|
$this->innerContent = $innerContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,6 +173,14 @@ class WP_Block_Parser {
|
|||||||
*/
|
*/
|
||||||
public $stack;
|
public $stack;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Empty associative array, here due to PHP quirks
|
||||||
|
*
|
||||||
|
* @since 4.4.0
|
||||||
|
* @var array empty associative array
|
||||||
|
*/
|
||||||
|
public $empty_attrs;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses a document and returns a list of block structures
|
* Parses a document and returns a list of block structures
|
||||||
*
|
*
|
||||||
@ -171,10 +194,11 @@ class WP_Block_Parser {
|
|||||||
* @return WP_Block_Parser_Block[]
|
* @return WP_Block_Parser_Block[]
|
||||||
*/
|
*/
|
||||||
function parse( $document ) {
|
function parse( $document ) {
|
||||||
$this->document = $document;
|
$this->document = $document;
|
||||||
$this->offset = 0;
|
$this->offset = 0;
|
||||||
$this->output = array();
|
$this->output = array();
|
||||||
$this->stack = array();
|
$this->stack = array();
|
||||||
|
$this->empty_attrs = json_decode( '{}', true );
|
||||||
|
|
||||||
do {
|
do {
|
||||||
// twiddle our thumbs
|
// twiddle our thumbs
|
||||||
@ -252,14 +276,14 @@ class WP_Block_Parser {
|
|||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->output[] = (array) new WP_Block_Parser_Block( $block_name, $attrs, array(), '' );
|
$this->output[] = (array) new WP_Block_Parser_Block( $block_name, $attrs, array(), '', array() );
|
||||||
$this->offset = $start_offset + $token_length;
|
$this->offset = $start_offset + $token_length;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// otherwise we found an inner block
|
// otherwise we found an inner block
|
||||||
$this->add_inner_block(
|
$this->add_inner_block(
|
||||||
new WP_Block_Parser_Block( $block_name, $attrs, array(), '' ),
|
new WP_Block_Parser_Block( $block_name, $attrs, array(), '', array() ),
|
||||||
$start_offset,
|
$start_offset,
|
||||||
$token_length
|
$token_length
|
||||||
);
|
);
|
||||||
@ -269,7 +293,7 @@ class WP_Block_Parser {
|
|||||||
case 'block-opener':
|
case 'block-opener':
|
||||||
// track all newly-opened blocks on the stack
|
// track all newly-opened blocks on the stack
|
||||||
array_push( $this->stack, new WP_Block_Parser_Frame(
|
array_push( $this->stack, new WP_Block_Parser_Frame(
|
||||||
new WP_Block_Parser_Block( $block_name, $attrs, array(), '' ),
|
new WP_Block_Parser_Block( $block_name, $attrs, array(), '', array() ),
|
||||||
$start_offset,
|
$start_offset,
|
||||||
$token_length,
|
$token_length,
|
||||||
$start_offset + $token_length,
|
$start_offset + $token_length,
|
||||||
@ -306,14 +330,9 @@ class WP_Block_Parser {
|
|||||||
* block and add it as a new innerBlock to the parent
|
* block and add it as a new innerBlock to the parent
|
||||||
*/
|
*/
|
||||||
$stack_top = array_pop( $this->stack );
|
$stack_top = array_pop( $this->stack );
|
||||||
|
|
||||||
$html = substr( $this->document, $stack_top->prev_offset, $start_offset - $stack_top->prev_offset );
|
$html = substr( $this->document, $stack_top->prev_offset, $start_offset - $stack_top->prev_offset );
|
||||||
if ( $stack_top->block->innerBlocks ) {
|
$stack_top->block->innerHTML .= $html;
|
||||||
$stack_top->block->innerBlocks[] = (array) $this->freeform( $html );
|
$stack_top->block->innerContent[] = $html;
|
||||||
} else {
|
|
||||||
$stack_top->block->innerHTML = $html;
|
|
||||||
}
|
|
||||||
|
|
||||||
$stack_top->prev_offset = $start_offset + $token_length;
|
$stack_top->prev_offset = $start_offset + $token_length;
|
||||||
|
|
||||||
$this->add_inner_block(
|
$this->add_inner_block(
|
||||||
@ -354,7 +373,7 @@ class WP_Block_Parser {
|
|||||||
* match back in PHP to see which one it was.
|
* match back in PHP to see which one it was.
|
||||||
*/
|
*/
|
||||||
$has_match = preg_match(
|
$has_match = preg_match(
|
||||||
'/<!--\s+(?<closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?:(?!}\s+-->).)+?}\s+)?(?<void>\/)?-->/s',
|
'/<!--\s+(?<closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?:[^}]+|}+(?=})|(?!}\s+-->).)*?}\s+)?(?<void>\/)?-->/s',
|
||||||
$this->document,
|
$this->document,
|
||||||
$matches,
|
$matches,
|
||||||
PREG_OFFSET_CAPTURE,
|
PREG_OFFSET_CAPTURE,
|
||||||
@ -382,7 +401,7 @@ class WP_Block_Parser {
|
|||||||
*/
|
*/
|
||||||
$attrs = $has_attrs
|
$attrs = $has_attrs
|
||||||
? json_decode( $matches[ 'attrs' ][ 0 ], /* as-associative */ true )
|
? json_decode( $matches[ 'attrs' ][ 0 ], /* as-associative */ true )
|
||||||
: json_decode( '{}', /* don't ask why, just verify in PHP */ false );
|
: $this->empty_attrs;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This state isn't allowed
|
* This state isn't allowed
|
||||||
@ -412,8 +431,8 @@ class WP_Block_Parser {
|
|||||||
* @param string $innerHTML HTML content of block
|
* @param string $innerHTML HTML content of block
|
||||||
* @return WP_Block_Parser_Block freeform block object
|
* @return WP_Block_Parser_Block freeform block object
|
||||||
*/
|
*/
|
||||||
static function freeform( $innerHTML ) {
|
function freeform( $innerHTML ) {
|
||||||
return new WP_Block_Parser_Block( null, array(), array(), $innerHTML );
|
return new WP_Block_Parser_Block( null, $this->empty_attrs, array(), $innerHTML, array( $innerHTML ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -447,8 +466,15 @@ class WP_Block_Parser {
|
|||||||
*/
|
*/
|
||||||
function add_inner_block( WP_Block_Parser_Block $block, $token_start, $token_length, $last_offset = null ) {
|
function add_inner_block( WP_Block_Parser_Block $block, $token_start, $token_length, $last_offset = null ) {
|
||||||
$parent = $this->stack[ count( $this->stack ) - 1 ];
|
$parent = $this->stack[ count( $this->stack ) - 1 ];
|
||||||
$parent->block->innerBlocks[] = (array) $this->freeform( substr( $this->document, $parent->prev_offset, $token_start - $parent->prev_offset ) );
|
|
||||||
$parent->block->innerBlocks[] = (array) $block;
|
$parent->block->innerBlocks[] = (array) $block;
|
||||||
|
$html = substr( $this->document, $parent->prev_offset, $token_start - $parent->prev_offset );
|
||||||
|
|
||||||
|
if ( ! empty( $html ) ) {
|
||||||
|
$parent->block->innerHTML .= $html;
|
||||||
|
$parent->block->innerContent[] = $html;
|
||||||
|
}
|
||||||
|
|
||||||
|
$parent->block->innerContent[] = null;
|
||||||
$parent->prev_offset = $last_offset ? $last_offset : $token_start + $token_length;
|
$parent->prev_offset = $last_offset ? $last_offset : $token_start + $token_length;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -467,10 +493,9 @@ class WP_Block_Parser {
|
|||||||
? substr( $this->document, $prev_offset, $end_offset - $prev_offset )
|
? substr( $this->document, $prev_offset, $end_offset - $prev_offset )
|
||||||
: substr( $this->document, $prev_offset );
|
: substr( $this->document, $prev_offset );
|
||||||
|
|
||||||
if ( $stack_top->block->innerBlocks ) {
|
if ( ! empty( $html ) ) {
|
||||||
$stack_top->block->innerBlocks[] = (array) $this->freeform( $html );
|
$stack_top->block->innerHTML .= $html;
|
||||||
} else {
|
$stack_top->block->innerContent[] = $html;
|
||||||
$stack_top->block->innerHTML = $html;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isset( $stack_top->leading_html_start ) ) {
|
if ( isset( $stack_top->leading_html_start ) ) {
|
||||||
|
@ -3371,7 +3371,7 @@ function wp_trim_excerpt( $text = '' ) {
|
|||||||
$text = get_the_content('');
|
$text = get_the_content('');
|
||||||
|
|
||||||
$text = strip_shortcodes( $text );
|
$text = strip_shortcodes( $text );
|
||||||
$text = strip_dynamic_blocks( $text );
|
$text = excerpt_remove_blocks( $text );
|
||||||
|
|
||||||
/** This filter is documented in wp-includes/post-template.php */
|
/** This filter is documented in wp-includes/post-template.php */
|
||||||
$text = apply_filters( 'the_content', $text );
|
$text = apply_filters( 'the_content', $text );
|
||||||
|
@ -85,7 +85,7 @@ function wp_default_packages_vendor( &$scripts ) {
|
|||||||
'wp-polyfill-formdata',
|
'wp-polyfill-formdata',
|
||||||
'wp-polyfill-node-contains',
|
'wp-polyfill-node-contains',
|
||||||
'wp-polyfill-element-closest',
|
'wp-polyfill-element-closest',
|
||||||
'wp-polyfill-ecmascript',
|
'wp-polyfill',
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $vendor_scripts as $handle => $dependencies ) {
|
foreach ( $vendor_scripts as $handle => $dependencies ) {
|
||||||
@ -99,7 +99,7 @@ function wp_default_packages_vendor( &$scripts ) {
|
|||||||
$scripts->add( $handle, $path, $dependencies, false, 1 );
|
$scripts->add( $handle, $path, $dependencies, false, 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
$scripts->add( 'wp-polyfill', null, array( 'wp-polyfill-ecmascript' ) );
|
$scripts->add( 'wp-polyfill', null, array( 'wp-polyfill' ) );
|
||||||
did_action( 'init' ) && $scripts->add_data(
|
did_action( 'init' ) && $scripts->add_data(
|
||||||
'wp-polyfill',
|
'wp-polyfill',
|
||||||
'data',
|
'data',
|
||||||
@ -166,6 +166,13 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
$packages_dependencies = array(
|
$packages_dependencies = array(
|
||||||
'api-fetch' => array( 'wp-polyfill', 'wp-hooks', 'wp-i18n', 'wp-url' ),
|
'api-fetch' => array( 'wp-polyfill', 'wp-hooks', 'wp-i18n', 'wp-url' ),
|
||||||
'a11y' => array( 'wp-dom-ready', 'wp-polyfill' ),
|
'a11y' => array( 'wp-dom-ready', 'wp-polyfill' ),
|
||||||
|
'annotations' => array(
|
||||||
|
'wp-data',
|
||||||
|
'wp-hooks',
|
||||||
|
'wp-i18n',
|
||||||
|
'wp-polyfill',
|
||||||
|
'wp-rich-text',
|
||||||
|
),
|
||||||
'autop' => array( 'wp-polyfill' ),
|
'autop' => array( 'wp-polyfill' ),
|
||||||
'blob' => array( 'wp-polyfill' ),
|
'blob' => array( 'wp-polyfill' ),
|
||||||
'blocks' => array(
|
'blocks' => array(
|
||||||
@ -259,7 +266,6 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
'wp-compose',
|
'wp-compose',
|
||||||
'wp-core-data',
|
'wp-core-data',
|
||||||
'wp-data',
|
'wp-data',
|
||||||
'wp-deprecated',
|
|
||||||
'wp-dom-ready',
|
'wp-dom-ready',
|
||||||
'wp-editor',
|
'wp-editor',
|
||||||
'wp-element',
|
'wp-element',
|
||||||
@ -334,7 +340,7 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
'lodash',
|
'lodash',
|
||||||
'wp-a11y',
|
'wp-a11y',
|
||||||
'wp-data',
|
'wp-data',
|
||||||
'wp-polyfill-ecmascript',
|
'wp-polyfill',
|
||||||
),
|
),
|
||||||
'nux' => array(
|
'nux' => array(
|
||||||
'wp-element',
|
'wp-element',
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "<!-- wp:core/4-invalid /-->\n"
|
"innerHTML": "<!-- wp:core/4-invalid /-->\n",
|
||||||
|
"innerContent": [
|
||||||
|
"<!-- wp:core/4-invalid /-->\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1 +1 @@
|
|||||||
|
<!-- wp:core/4-invalid /-->
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"showPostCounts": false
|
"showPostCounts": false
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": ""
|
"innerHTML": "",
|
||||||
|
"innerContent": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"showPostCounts": true
|
"showPostCounts": true
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": ""
|
"innerHTML": "",
|
||||||
|
"innerContent": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,14 @@
|
|||||||
"align": "right"
|
"align": "right"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"https://media.simplecast.com/episodes/audio/80564/draft-podcast-51-livePublish2.mp3\"></audio>\n</figure>\n"
|
"innerHTML": "\n<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"https://media.simplecast.com/episodes/audio/80564/draft-podcast-51-livePublish2.mp3\"></audio>\n</figure>\n",
|
||||||
|
"innerContent": [ "\n<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"https://media.simplecast.com/episodes/audio/80564/draft-podcast-51-livePublish2.mp3\"></audio>\n</figure>\n" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,14 @@
|
|||||||
"ref": 123
|
"ref": 123
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": ""
|
"innerHTML": "",
|
||||||
|
"innerContent": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,14 @@
|
|||||||
"align": "center"
|
"align": "center"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"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"
|
"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,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
"name": "core/categories",
|
"name": "core/categories",
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"showPostCounts": false,
|
|
||||||
"displayAsDropdown": false,
|
"displayAsDropdown": false,
|
||||||
"showHierarchy": false
|
"showHierarchy": false,
|
||||||
|
"showPostCounts": false
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"originalContent": ""
|
"originalContent": ""
|
||||||
|
@ -7,12 +7,14 @@
|
|||||||
"showHierarchy": false
|
"showHierarchy": false
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": ""
|
"innerHTML": "",
|
||||||
|
"innerContent": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,14 @@
|
|||||||
"blockName": "core/code",
|
"blockName": "core/code",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<pre class=\"wp-block-code\"><code>export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}</code></pre>\n"
|
"innerHTML": "\n<pre class=\"wp-block-code\"><code>export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}</code></pre>\n",
|
||||||
|
"innerContent": [ "\n<pre class=\"wp-block-code\"><code>export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}</code></pre>\n" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,43 +3,29 @@
|
|||||||
"blockName": "core/column",
|
"blockName": "core/column",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [
|
"innerBlocks": [
|
||||||
{
|
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n<div class=\"wp-block-column\">\n\t"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"blockName": "core/paragraph",
|
"blockName": "core/paragraph",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n\t<p>Column One, Paragraph One</p>\n\t"
|
"innerHTML": "\n\t<p>Column One, Paragraph One</p>\n\t",
|
||||||
|
"innerContent": [ "\n\t<p>Column One, Paragraph One</p>\n\t" ]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"blockName": "core/paragraph",
|
"blockName": "core/paragraph",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n\t<p>Column One, Paragraph Two</p>\n\t"
|
"innerHTML": "\n\t<p>Column One, Paragraph Two</p>\n\t",
|
||||||
},
|
"innerContent": [ "\n\t<p>Column One, Paragraph Two</p>\n\t" ]
|
||||||
{
|
}
|
||||||
"blockName": null,
|
],
|
||||||
"attrs": {},
|
"innerHTML": "\n<div class=\"wp-block-column\">\n\t\n\t\n</div>\n",
|
||||||
"innerBlocks": [],
|
"innerContent": [ "\n<div class=\"wp-block-column\">\n\t", null, "\n\t", null, "\n</div>\n" ]
|
||||||
"innerHTML": "\n</div>\n"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"innerHTML": ""
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,105 +5,87 @@
|
|||||||
"columns": 3
|
"columns": 3
|
||||||
},
|
},
|
||||||
"innerBlocks": [
|
"innerBlocks": [
|
||||||
{
|
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n<div class=\"wp-block-columns has-3-columns\">\n\t"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"blockName": "core/column",
|
"blockName": "core/column",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [
|
"innerBlocks": [
|
||||||
{
|
{
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t<div class=\"wp-block-column\">\n\t\t"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blockName": "core/paragraph",
|
"blockName": "core/paragraph",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n\t\t<p>Column One, Paragraph One</p>\n\t\t"
|
"innerHTML": "\n\t\t<p>Column One, Paragraph One</p>\n\t\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t\t<p>Column One, Paragraph One</p>\n\t\t"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t\t"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blockName": "core/paragraph",
|
"blockName": "core/paragraph",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n\t\t<p>Column One, Paragraph Two</p>\n\t\t"
|
"innerHTML": "\n\t\t<p>Column One, Paragraph Two</p>\n\t\t",
|
||||||
},
|
"innerContent": [
|
||||||
{
|
"\n\t\t<p>Column One, Paragraph Two</p>\n\t\t"
|
||||||
"blockName": null,
|
]
|
||||||
"attrs": {},
|
}
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t</div>\n\t"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"innerHTML": ""
|
"innerHTML": "\n\t<div class=\"wp-block-column\">\n\t\t\n\t\t\n\t</div>\n\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t<div class=\"wp-block-column\">\n\t\t",
|
||||||
|
null,
|
||||||
|
"\n\t\t",
|
||||||
|
null,
|
||||||
|
"\n\t</div>\n\t"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"blockName": "core/column",
|
"blockName": "core/column",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [
|
"innerBlocks": [
|
||||||
{
|
{
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t<div class=\"wp-block-column\">\n\t\t"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blockName": "core/paragraph",
|
"blockName": "core/paragraph",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n\t\t<p>Column Two, Paragraph One</p>\n\t\t"
|
"innerHTML": "\n\t\t<p>Column Two, Paragraph One</p>\n\t\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t\t<p>Column Two, Paragraph One</p>\n\t\t"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
|
||||||
"attrs": {},
|
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t\t"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blockName": "core/paragraph",
|
"blockName": "core/paragraph",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n\t\t<p>Column Three, Paragraph One</p>\n\t\t"
|
"innerHTML": "\n\t\t<p>Column Three, Paragraph One</p>\n\t\t",
|
||||||
},
|
"innerContent": [
|
||||||
{
|
"\n\t\t<p>Column Three, Paragraph One</p>\n\t\t"
|
||||||
"blockName": null,
|
]
|
||||||
"attrs": {},
|
}
|
||||||
"innerBlocks": [],
|
|
||||||
"innerHTML": "\n\t</div>\n\t"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"innerHTML": ""
|
"innerHTML": "\n\t<div class=\"wp-block-column\">\n\t\t\n\t\t\n\t</div>\n\t",
|
||||||
},
|
"innerContent": [
|
||||||
{
|
"\n\t<div class=\"wp-block-column\">\n\t\t",
|
||||||
"blockName": null,
|
null,
|
||||||
"attrs": {},
|
"\n\t\t",
|
||||||
"innerBlocks": [],
|
null,
|
||||||
"innerHTML": "\n</div>\n"
|
"\n\t</div>\n\t"
|
||||||
}
|
]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"innerHTML": ""
|
"innerHTML": "\n<div class=\"wp-block-columns has-3-columns\">\n\t\n\t\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-columns has-3-columns\">\n\t",
|
||||||
|
null,
|
||||||
|
"\n\t",
|
||||||
|
null,
|
||||||
|
"\n</div>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
<!-- wp:columns {"columns":3} -->
|
||||||
|
<div class="wp-block-columns has-3-columns">
|
||||||
|
<!-- wp:paragraph {"layout":"column-1"} -->
|
||||||
|
<p class="layout-column-1">Column One, Paragraph One</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
<!-- wp:paragraph {"layout":"column-1"} -->
|
||||||
|
<p class="layout-column-1">Column One, Paragraph Two</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
<!-- wp:paragraph {"layout":"column-2"} -->
|
||||||
|
<p class="layout-column-2">Column Two, Paragraph One</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
<!-- wp:paragraph {"layout":"column-3"} -->
|
||||||
|
<p class="layout-column-3">Column Three, Paragraph One</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
@ -0,0 +1,85 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/columns",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"columns": 3
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/column",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "Column One, Paragraph One",
|
||||||
|
"dropCap": false,
|
||||||
|
"className": "layout-column-1"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"layout-column-1\">Column One, Paragraph One</p>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_1",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "Column One, Paragraph Two",
|
||||||
|
"dropCap": false,
|
||||||
|
"className": "layout-column-1"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"layout-column-1\">Column One, Paragraph Two</p>"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_1",
|
||||||
|
"name": "core/column",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "Column Two, Paragraph One",
|
||||||
|
"dropCap": false,
|
||||||
|
"className": "layout-column-2"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"layout-column-2\">Column Two, Paragraph One</p>"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_2",
|
||||||
|
"name": "core/column",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "Column Three, Paragraph One",
|
||||||
|
"dropCap": false,
|
||||||
|
"className": "layout-column-3"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"layout-column-3\">Column Three, Paragraph One</p>"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"originalContent": "<div class=\"wp-block-columns has-3-columns\">\n\t\n\t\n\t\n\t\n</div>"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,75 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/columns",
|
||||||
|
"attrs": {
|
||||||
|
"columns": 3
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"layout": "column-1"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t<p class=\"layout-column-1\">Column One, Paragraph One</p>\n\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t<p class=\"layout-column-1\">Column One, Paragraph One</p>\n\t"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"layout": "column-1"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t<p class=\"layout-column-1\">Column One, Paragraph Two</p>\n\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t<p class=\"layout-column-1\">Column One, Paragraph Two</p>\n\t"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"layout": "column-2"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t<p class=\"layout-column-2\">Column Two, Paragraph One</p>\n\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t<p class=\"layout-column-2\">Column Two, Paragraph One</p>\n\t"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"layout": "column-3"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t<p class=\"layout-column-3\">Column Three, Paragraph One</p>\n\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t<p class=\"layout-column-3\">Column Three, Paragraph One</p>\n\t"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-columns has-3-columns\">\n\t\n\t\n\t\n\t\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-columns has-3-columns\">\n\t",
|
||||||
|
null,
|
||||||
|
"\n\t",
|
||||||
|
null,
|
||||||
|
"\n\t",
|
||||||
|
null,
|
||||||
|
"\n\t",
|
||||||
|
null,
|
||||||
|
"\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,23 @@
|
|||||||
|
<!-- wp:columns {"columns":3} -->
|
||||||
|
<div class="wp-block-columns has-3-columns"><!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:paragraph {"className":"layout-column-1"} -->
|
||||||
|
<p class="layout-column-1">Column One, Paragraph One</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"className":"layout-column-1"} -->
|
||||||
|
<p class="layout-column-1">Column One, Paragraph Two</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:paragraph {"className":"layout-column-2"} -->
|
||||||
|
<p class="layout-column-2">Column Two, Paragraph One</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:paragraph {"className":"layout-column-3"} -->
|
||||||
|
<p class="layout-column-3">Column Three, Paragraph One</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:column --></div>
|
||||||
|
<!-- /wp:columns -->
|
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-columns has-3-columns">
|
||||||
|
|
||||||
|
<p class="layout-column-1">Column One, Paragraph One</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p class="layout-column-1">Column One, Paragraph Two</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p class="layout-column-2">Column Two, Paragraph One</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p class="layout-column-3">Column Three, Paragraph One</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
@ -6,12 +6,18 @@
|
|||||||
"dimRatio": 40
|
"dimRatio": 40
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<div class=\"wp-block-cover-image has-background-dim-40 has-background-dim\" style=\"background-image:url(https://cldup.com/uuUqE_dXzy.jpg)\">\n <p class=\"wp-block-cover-image-text\">Guten Berg!</p>\n</div>\n"
|
"innerHTML": "\n<div class=\"wp-block-cover-image has-background-dim-40 has-background-dim\" style=\"background-image:url(https://cldup.com/uuUqE_dXzy.jpg)\">\n <p class=\"wp-block-cover-image-text\">Guten Berg!</p>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-cover-image has-background-dim-40 has-background-dim\" style=\"background-image:url(https://cldup.com/uuUqE_dXzy.jpg)\">\n <p class=\"wp-block-cover-image-text\">Guten Berg!</p>\n</div>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
5
tests/phpunit/data/blocks/fixtures/core__cover.html
Normal file
5
tests/phpunit/data/blocks/fixtures/core__cover.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<!-- wp:core/cover {"url":"https://cldup.com/uuUqE_dXzy.jpg","dimRatio":40} -->
|
||||||
|
<div class="wp-block-cover has-background-dim-40 has-background-dim" style="background-image:url(https://cldup.com/uuUqE_dXzy.jpg)">
|
||||||
|
<p class="wp-block-cover-text">Guten Berg!</p>
|
||||||
|
</div>
|
||||||
|
<!-- /wp:core/cover -->
|
17
tests/phpunit/data/blocks/fixtures/core__cover.json
Normal file
17
tests/phpunit/data/blocks/fixtures/core__cover.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/cover",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"title": "Guten Berg!",
|
||||||
|
"url": "https://cldup.com/uuUqE_dXzy.jpg",
|
||||||
|
"contentAlign": "center",
|
||||||
|
"hasParallax": false,
|
||||||
|
"dimRatio": 40,
|
||||||
|
"backgroundType": "image"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<div class=\"wp-block-cover has-background-dim-40 has-background-dim\" style=\"background-image:url(https://cldup.com/uuUqE_dXzy.jpg)\">\n <p class=\"wp-block-cover-text\">Guten Berg!</p>\n</div>"
|
||||||
|
}
|
||||||
|
]
|
23
tests/phpunit/data/blocks/fixtures/core__cover.parsed.json
Normal file
23
tests/phpunit/data/blocks/fixtures/core__cover.parsed.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/cover",
|
||||||
|
"attrs": {
|
||||||
|
"url": "https://cldup.com/uuUqE_dXzy.jpg",
|
||||||
|
"dimRatio": 40
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-cover has-background-dim-40 has-background-dim\" style=\"background-image:url(https://cldup.com/uuUqE_dXzy.jpg)\">\n <p class=\"wp-block-cover-text\">Guten Berg!</p>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-cover has-background-dim-40 has-background-dim\" style=\"background-image:url(https://cldup.com/uuUqE_dXzy.jpg)\">\n <p class=\"wp-block-cover-text\">Guten Berg!</p>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,3 @@
|
|||||||
|
<!-- wp:cover {"url":"https://cldup.com/uuUqE_dXzy.jpg","dimRatio":40} -->
|
||||||
|
<div class="wp-block-cover has-background-dim-40 has-background-dim" style="background-image:url(https://cldup.com/uuUqE_dXzy.jpg)"><p class="wp-block-cover-text">Guten Berg!</p></div>
|
||||||
|
<!-- /wp:cover -->
|
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-cover has-background-dim-40 has-background-dim" style="background-image:url(https://cldup.com/uuUqE_dXzy.jpg)">
|
||||||
|
<p class="wp-block-cover-text">Guten Berg!</p>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
<!-- wp:cover {"url":"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA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aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=","dimRatio":10,"customOverlayColor":"#3615d9","backgroundType":"video"} -->
|
||||||
|
<div class="wp-block-cover has-background-dim-10 has-background-dim" style="background-color:#3615d9">
|
||||||
|
<video class="wp-block-cover__video-background" autoplay muted loop src="data:video/mp4;base64,AAAAH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ni40MC4xMDE=",
|
||||||
|
"contentAlign": "center",
|
||||||
|
"hasParallax": false,
|
||||||
|
"dimRatio": 10,
|
||||||
|
"customOverlayColor": "#3615d9",
|
||||||
|
"backgroundType": "video"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<div class=\"wp-block-cover has-background-dim-10 has-background-dim\" style=\"background-color:#3615d9\">\n\t<video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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QAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=",
|
||||||
|
"dimRatio": 10,
|
||||||
|
"customOverlayColor": "#3615d9",
|
||||||
|
"backgroundType": "video"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-cover has-background-dim-10 has-background-dim\" style=\"background-color:#3615d9\">\n\t<video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=\"></video>\n\t<p class=\"wp-block-cover-text\">Guten Berg!</p>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-cover has-background-dim-10 has-background-dim\" style=\"background-color:#3615d9\">\n\t<video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAA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XA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=\"></video>\n\t<p class=\"wp-block-cover-text\">Guten Berg!</p>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,3 @@
|
|||||||
|
<!-- wp:cover {"url":"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=","dimRatio":10,"customOverlayColor":"#3615d9","backgroundType":"video"} -->
|
||||||
|
<div class="wp-block-cover has-background-dim-10 has-background-dim" style="background-color:#3615d9"><video class="wp-block-cover__video-background" autoplay muted loop src="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="></video><p class="wp-block-cover-text">Guten Berg!</p></div>
|
||||||
|
<!-- /wp:cover -->
|
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-cover has-background-dim-10 has-background-dim" style="background-color:#3615d9">
|
||||||
|
<video class="wp-block-cover__video-background" autoplay muted loop src="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=","dimRatio":40,"backgroundType":"video"} -->
|
||||||
|
<div class="wp-block-cover has-background-dim-40 has-background-dim">
|
||||||
|
<video class="wp-block-cover__video-background" autoplay muted loop src="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="></video>
|
||||||
|
<p class="wp-block-cover-text">Guten Berg!</p>
|
||||||
|
</div>
|
||||||
|
<!-- /wp:cover -->
|
17
tests/phpunit/data/blocks/fixtures/core__cover__video.json
Normal file
17
tests/phpunit/data/blocks/fixtures/core__cover__video.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/cover",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"title": "Guten Berg!",
|
||||||
|
"url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=",
|
||||||
|
"contentAlign": "center",
|
||||||
|
"hasParallax": false,
|
||||||
|
"dimRatio": 40,
|
||||||
|
"backgroundType": "video"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<div class=\"wp-block-cover has-background-dim-40 has-background-dim\">\n\t<video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcm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AAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=\"></video>\n\t<p class=\"wp-block-cover-text\">Guten Berg!</p>\n</div>"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,24 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/cover",
|
||||||
|
"attrs": {
|
||||||
|
"url":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</p>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-cover has-background-dim-40 has-background-dim\">\n\t<video class=\"wp-block-cover__video-background\" autoplay muted loop src=\"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ni40MC4xMDE=\"></video>\n\t<p class=\"wp-block-cover-text\">Guten Berg!</p>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,3 @@
|
|||||||
|
<!-- wp:cover {"url":"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=","dimRatio":40,"backgroundType":"video"} -->
|
||||||
|
<div class="wp-block-cover has-background-dim-40 has-background-dim"><video class="wp-block-cover__video-background" autoplay muted loop src="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="></video><p class="wp-block-cover-text">Guten Berg!</p></div>
|
||||||
|
<!-- /wp:cover -->
|
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-cover has-background-dim-40 has-background-dim">
|
||||||
|
<video class="wp-block-cover__video-background" autoplay muted loop src="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="></video>
|
||||||
|
<p class="wp-block-cover-text">Guten Berg!</p>
|
||||||
|
</div>
|
||||||
|
|
@ -5,12 +5,18 @@
|
|||||||
"url": "https://example.com/"
|
"url": "https://example.com/"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<figure class=\"wp-block-embed\">\n <div class=\"wp-block-embed__wrapper\">\n https://example.com/\n </div>\n <figcaption>Embedded content from an example URL</figcaption>\n</figure>\n"
|
"innerHTML": "\n<figure class=\"wp-block-embed\">\n <div class=\"wp-block-embed__wrapper\">\n https://example.com/\n </div>\n <figcaption>Embedded content from an example URL</figcaption>\n</figure>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<figure class=\"wp-block-embed\">\n <div class=\"wp-block-embed__wrapper\">\n https://example.com/\n </div>\n <figcaption>Embedded content from an example URL</figcaption>\n</figure>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<!-- wp:file {"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js","showDownloadButton":true,"id":176} -->
|
<!-- wp:file {"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js","showDownloadButton":true,"id":176} -->
|
||||||
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" target="_blank" rel="noreferrer noopener">6546</a><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download="6546">Download</a></div>
|
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" target="_blank" rel="noreferrer noopener">6546</a><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download>Download</a></div>
|
||||||
<!-- /wp:file -->
|
<!-- /wp:file -->
|
||||||
|
@ -13,6 +13,6 @@
|
|||||||
"downloadButtonText": "Download"
|
"downloadButtonText": "Download"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"originalContent": "<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" target=\"_blank\" rel=\"noreferrer noopener\">6546</a><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download=\"6546\">Download</a></div>"
|
"originalContent": "<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" target=\"_blank\" rel=\"noreferrer noopener\">6546</a><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -7,12 +7,18 @@
|
|||||||
"id": 176
|
"id": 176
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" target=\"_blank\" rel=\"noreferrer noopener\">6546</a><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download=\"6546\">Download</a></div>\n"
|
"innerHTML": "\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" target=\"_blank\" rel=\"noreferrer noopener\">6546</a><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" target=\"_blank\" rel=\"noreferrer noopener\">6546</a><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<!-- wp:file {"id":176,"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js"} -->
|
<!-- wp:file {"id":176,"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js"} -->
|
||||||
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" target="_blank" rel="noreferrer noopener">6546</a><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download="6546">Download</a></div>
|
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" target="_blank" rel="noreferrer noopener">6546</a><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download>Download</a></div>
|
||||||
<!-- /wp:file -->
|
<!-- /wp:file -->
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" target="_blank" rel="noreferrer noopener">6546</a><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download="6546">Download</a></div>
|
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" target="_blank" rel="noreferrer noopener">6546</a><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download>Download</a></div>
|
||||||
|
|
||||||
|
@ -7,12 +7,18 @@
|
|||||||
"id": 176
|
"id": 176
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/?attachment_id=176\">lkjfijwef</a></div>\n"
|
"innerHTML": "\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/?attachment_id=176\">lkjfijwef</a></div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/?attachment_id=176\">lkjfijwef</a></div>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<!-- wp:file {"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js","showDownloadButton":true,"id":176} -->
|
<!-- wp:file {"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js","showDownloadButton":true,"id":176} -->
|
||||||
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download="">Download</a></div>
|
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download>Download</a></div>
|
||||||
<!-- /wp:file -->
|
<!-- /wp:file -->
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
"downloadButtonText": "Download"
|
"downloadButtonText": "Download"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"originalContent": "<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download=\"\">Download</a></div>"
|
"originalContent": "<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -7,12 +7,18 @@
|
|||||||
"id": 176
|
"id": 176
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download=\"\">Download</a></div>\n"
|
"innerHTML": "\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<!-- wp:file {"id":176,"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js"} -->
|
<!-- wp:file {"id":176,"href":"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js"} -->
|
||||||
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download="">Download</a></div>
|
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download>Download</a></div>
|
||||||
<!-- /wp:file -->
|
<!-- /wp:file -->
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download="">Download</a></div>
|
<div class="wp-block-file"><a href="http://localhost:8888/wp-content/uploads/2018/05/keycodes.js" class="wp-block-file__button" download>Download</a></div>
|
||||||
|
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
"blockName": "core/freeform",
|
"blockName": "core/freeform",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\nTesting freeform block with some\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n"
|
"innerHTML": "\nTesting freeform block with some\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\nTesting freeform block with some\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"attrs": {},
|
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "Testing freeform block with some\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n"
|
"innerHTML": "Testing freeform block with some\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"Testing freeform block with some\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
"blockName": "core/gallery",
|
"blockName": "core/gallery",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<ul class=\"wp-block-gallery columns-2 is-cropped\">\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"http://google.com/hi.png\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n</ul>\n"
|
"innerHTML": "\n<ul class=\"wp-block-gallery columns-2 is-cropped\">\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"http://google.com/hi.png\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n</ul>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<ul class=\"wp-block-gallery columns-2 is-cropped\">\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"http://google.com/hi.png\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n</ul>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,18 @@
|
|||||||
"columns": 1
|
"columns": 1
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<ul class=\"wp-block-gallery columns-1 is-cropped\">\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"http://google.com/hi.png\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n</ul>\n"
|
"innerHTML": "\n<ul class=\"wp-block-gallery columns-1 is-cropped\">\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"http://google.com/hi.png\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n</ul>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<ul class=\"wp-block-gallery columns-1 is-cropped\">\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"http://google.com/hi.png\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n</ul>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
"blockName": "core/heading",
|
"blockName": "core/heading",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<h2>The <em>Inserter</em> Tool</h2>\n"
|
"innerHTML": "\n<h2>The <em>Inserter</em> Tool</h2>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<h2>The <em>Inserter</em> Tool</h2>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
"blockName": "core/heading",
|
"blockName": "core/heading",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<h2>A picture is worth a thousand words, or so the saying goes</h2>\n"
|
"innerHTML": "\n<h2>A picture is worth a thousand words, or so the saying goes</h2>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<h2>A picture is worth a thousand words, or so the saying goes</h2>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
"blockName": "core/html",
|
"blockName": "core/html",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<h1>Some HTML code</h1>\n<marquee>This text will scroll from right to left</marquee>\n"
|
"innerHTML": "\n<h1>Some HTML code</h1>\n<marquee>This text will scroll from right to left</marquee>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<h1>Some HTML code</h1>\n<marquee>This text will scroll from right to left</marquee>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
"blockName": "core/image",
|
"blockName": "core/image",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<figure class=\"wp-block-image\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></figure>\n"
|
"innerHTML": "\n<figure class=\"wp-block-image\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></figure>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<figure class=\"wp-block-image\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></figure>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,18 @@
|
|||||||
"linkDestination": "attachment"
|
"linkDestination": "attachment"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"http://localhost:8888/?attachment_id=7\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
|
"innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"http://localhost:8888/?attachment_id=7\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<figure class=\"wp-block-image\"><a href=\"http://localhost:8888/?attachment_id=7\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,18 @@
|
|||||||
"align": "center"
|
"align": "center"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img src=\"https://cldup.com/YLYhpou2oq.jpg\" alt=\"\" /><figcaption>Give it a try. Press the "really wide" button on the image toolbar.</figcaption></figure></div>\n"
|
"innerHTML": "\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img src=\"https://cldup.com/YLYhpou2oq.jpg\" alt=\"\" /><figcaption>Give it a try. Press the "really wide" button on the image toolbar.</figcaption></figure></div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img src=\"https://cldup.com/YLYhpou2oq.jpg\" alt=\"\" /><figcaption>Give it a try. Press the "really wide" button on the image toolbar.</figcaption></figure></div>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,18 @@
|
|||||||
"linkDestination": "custom"
|
"linkDestination": "custom"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"https://wordpress.org/\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
|
"innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"https://wordpress.org/\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<figure class=\"wp-block-image\"><a href=\"https://wordpress.org/\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5,12 +5,18 @@
|
|||||||
"linkDestination": "media"
|
"linkDestination": "media"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"https://cldup.com/uuUqE_dXzy.jpg\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
|
"innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"https://cldup.com/uuUqE_dXzy.jpg\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<figure class=\"wp-block-image\"><a href=\"https://cldup.com/uuUqE_dXzy.jpg\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "<!-- wp:core/invalid-Capitals /-->\n"
|
"innerHTML": "<!-- wp:core/invalid-Capitals /-->\n",
|
||||||
|
"innerContent": [
|
||||||
|
"<!-- wp:core/invalid-Capitals /-->\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1 +1 @@
|
|||||||
|
<!-- wp:core/invalid-Capitals /-->
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "<!-- wp:core/invalid-$special /-->\n"
|
"innerHTML": "<!-- wp:core/invalid-$special /-->\n",
|
||||||
|
"innerContent": [
|
||||||
|
"<!-- wp:core/invalid-$special /-->\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1 +1 @@
|
|||||||
|
<!-- wp:core/invalid-$special /-->
|
||||||
|
@ -7,12 +7,16 @@
|
|||||||
"displayTimestamp": true
|
"displayTimestamp": true
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": ""
|
"innerHTML": "",
|
||||||
|
"innerContent": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -6,12 +6,16 @@
|
|||||||
"displayPostDate": false
|
"displayPostDate": false
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": ""
|
"innerHTML": "",
|
||||||
|
"innerContent": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -6,12 +6,16 @@
|
|||||||
"displayPostDate": true
|
"displayPostDate": true
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": ""
|
"innerHTML": "",
|
||||||
|
"innerContent": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
"blockName": "core/list",
|
"blockName": "core/list",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<ul><li>Text & Headings</li><li>Images & 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>\n"
|
"innerHTML": "\n<ul><li>Text & Headings</li><li>Images & 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>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<ul><li>Text & Headings</li><li>Images & 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>\n"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
12
tests/phpunit/data/blocks/fixtures/core__media-text.html
Normal file
12
tests/phpunit/data/blocks/fixtures/core__media-text.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<!-- wp:media-text {"mediaId":17985,"mediaType":"image"} -->
|
||||||
|
<div class="wp-block-media-text alignwide">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<img src="http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg" alt=""/>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
<!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /wp:media-text -->
|
33
tests/phpunit/data/blocks/fixtures/core__media-text.json
Normal file
33
tests/phpunit/data/blocks/fixtures/core__media-text.json
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/media-text",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"align": "wide",
|
||||||
|
"mediaAlt": "",
|
||||||
|
"mediaPosition": "left",
|
||||||
|
"mediaId": 17985,
|
||||||
|
"mediaUrl": "http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg",
|
||||||
|
"mediaType": "image",
|
||||||
|
"mediaWidth": 50,
|
||||||
|
"isStackedOnMobile": false
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "My Content",
|
||||||
|
"dropCap": false,
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"has-large-font-size\">My Content</p>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"originalContent": "<div class=\"wp-block-media-text alignwide\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<img src=\"http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg\" alt=\"\"/>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,38 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/media-text",
|
||||||
|
"attrs": {
|
||||||
|
"mediaId": 17985,
|
||||||
|
"mediaType": "image"
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t\t<p class=\"has-large-font-size\">My Content</p>\n\t\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t\t<p class=\"has-large-font-size\">My Content</p>\n\t\t"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-media-text alignwide\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<img src=\"http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg\" alt=\"\"/>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-media-text alignwide\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<img src=\"http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg\" alt=\"\"/>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t",
|
||||||
|
null,
|
||||||
|
"\n\t</div>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,5 @@
|
|||||||
|
<!-- wp:media-text {"mediaId":17985,"mediaType":"image"} -->
|
||||||
|
<div class="wp-block-media-text alignwide"><figure class="wp-block-media-text__media"><img src="http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg" alt=""/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
<!-- /wp:paragraph --></div></div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-media-text alignwide">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<img src="http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg" alt=""/>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
<!-- wp:media-text {"align":"none","mediaId":17985,"mediaType":"image"} -->
|
||||||
|
<div class="wp-block-media-text">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<img src="http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg" alt="my alt"/>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
<!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">Content</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,33 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/media-text",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"align": "none",
|
||||||
|
"mediaAlt": "my alt",
|
||||||
|
"mediaPosition": "left",
|
||||||
|
"mediaId": 17985,
|
||||||
|
"mediaUrl": "http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg",
|
||||||
|
"mediaType": "image",
|
||||||
|
"mediaWidth": 50,
|
||||||
|
"isStackedOnMobile": false
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "Content",
|
||||||
|
"dropCap": false,
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"has-large-font-size\">Content</p>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"originalContent": "<div class=\"wp-block-media-text\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<img src=\"http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg\" alt=\"my alt\"/>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,39 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/media-text",
|
||||||
|
"attrs": {
|
||||||
|
"align": "none",
|
||||||
|
"mediaId": 17985,
|
||||||
|
"mediaType": "image"
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t\t<p class=\"has-large-font-size\">Content</p>\n\t\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t\t<p class=\"has-large-font-size\">Content</p>\n\t\t"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-media-text\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<img src=\"http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg\" alt=\"my alt\"/>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-media-text\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<img src=\"http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg\" alt=\"my alt\"/>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t",
|
||||||
|
null,
|
||||||
|
"\n\t</div>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,5 @@
|
|||||||
|
<!-- wp:media-text {"align":"none","mediaId":17985,"mediaType":"image"} -->
|
||||||
|
<div class="wp-block-media-text"><figure class="wp-block-media-text__media"><img src="http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg" alt="my alt"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">Content</p>
|
||||||
|
<!-- /wp:paragraph --></div></div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-media-text">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<img src="http://localhost/wp-content/uploads/2018/09/1600px-Mount_Everest_as_seen_from_Drukair2_PLW_edit.jpg" alt="my alt"/>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
|
||||||
|
<p class="has-large-font-size">Content</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
<!-- wp:media-text {"mediaId":17897,"mediaType":"video", "isStackedOnMobile": true} -->
|
||||||
|
<div class="wp-block-media-text alignwide is-stacked-on-mobile">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
<!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,33 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/media-text",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"align": "wide",
|
||||||
|
"mediaAlt": "",
|
||||||
|
"mediaPosition": "left",
|
||||||
|
"mediaId": 17897,
|
||||||
|
"mediaUrl": "http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4",
|
||||||
|
"mediaType": "video",
|
||||||
|
"mediaWidth": 50,
|
||||||
|
"isStackedOnMobile": true
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "My Content",
|
||||||
|
"dropCap": false,
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"has-large-font-size\">My Content</p>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"originalContent": "<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,39 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/media-text",
|
||||||
|
"attrs": {
|
||||||
|
"mediaId": 17897,
|
||||||
|
"mediaType": "video",
|
||||||
|
"isStackedOnMobile": true
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t\t<p class=\"has-large-font-size\">My Content</p>\n\t\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t\t<p class=\"has-large-font-size\">My Content</p>\n\t\t"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t",
|
||||||
|
null,
|
||||||
|
"\n\t</div>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,5 @@
|
|||||||
|
<!-- wp:media-text {"mediaId":17897,"mediaType":"video","isStackedOnMobile":true} -->
|
||||||
|
<div class="wp-block-media-text alignwide is-stacked-on-mobile"><figure class="wp-block-media-text__media"><video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
<!-- /wp:paragraph --></div></div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-media-text alignwide is-stacked-on-mobile">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaId":17897,"mediaType":"video","mediaWidth":41} -->
|
||||||
|
<div class="wp-block-media-text alignfull has-media-on-the-right" style="grid-template-columns:auto 41%">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
<!-- wp:paragraph {"align":"right","placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p style="text-align:right" class="has-large-font-size">My video</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,34 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/media-text",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"align": "full",
|
||||||
|
"mediaAlt": "",
|
||||||
|
"mediaPosition": "right",
|
||||||
|
"mediaId": 17897,
|
||||||
|
"mediaUrl": "http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4",
|
||||||
|
"mediaType": "video",
|
||||||
|
"mediaWidth": 41,
|
||||||
|
"isStackedOnMobile": false
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "My video",
|
||||||
|
"align": "right",
|
||||||
|
"dropCap": false,
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p style=\"text-align:right\" class=\"has-large-font-size\">My video</p>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"originalContent": "<div class=\"wp-block-media-text alignfull has-media-on-the-right\" style=\"grid-template-columns:auto 41%\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,42 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/media-text",
|
||||||
|
"attrs": {
|
||||||
|
"align": "full",
|
||||||
|
"mediaPosition": "right",
|
||||||
|
"mediaId": 17897,
|
||||||
|
"mediaType": "video",
|
||||||
|
"mediaWidth": 41
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"align": "right",
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t\t<p style=\"text-align:right\" class=\"has-large-font-size\">My video</p>\n\t\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t\t<p style=\"text-align:right\" class=\"has-large-font-size\">My video</p>\n\t\t"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-media-text alignfull has-media-on-the-right\" style=\"grid-template-columns:auto 41%\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-media-text alignfull has-media-on-the-right\" style=\"grid-template-columns:auto 41%\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t",
|
||||||
|
null,
|
||||||
|
"\n\t</div>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,5 @@
|
|||||||
|
<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaId":17897,"mediaType":"video","mediaWidth":41} -->
|
||||||
|
<div class="wp-block-media-text alignfull has-media-on-the-right" style="grid-template-columns:auto 41%"><figure class="wp-block-media-text__media"><video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"align":"right","placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p style="text-align:right" class="has-large-font-size">My video</p>
|
||||||
|
<!-- /wp:paragraph --></div></div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-media-text alignfull has-media-on-the-right" style="grid-template-columns:auto 41%">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
|
||||||
|
<p style="text-align:right" class="has-large-font-size">My video</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
<!-- wp:media-text {"mediaId":17897,"mediaType":"video"} -->
|
||||||
|
<div class="wp-block-media-text alignwide">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
<!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,33 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/media-text",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"align": "wide",
|
||||||
|
"mediaAlt": "",
|
||||||
|
"mediaPosition": "left",
|
||||||
|
"mediaId": 17897,
|
||||||
|
"mediaUrl": "http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4",
|
||||||
|
"mediaType": "video",
|
||||||
|
"mediaWidth": 50,
|
||||||
|
"isStackedOnMobile": false
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"clientId": "_clientId_0",
|
||||||
|
"name": "core/paragraph",
|
||||||
|
"isValid": true,
|
||||||
|
"attributes": {
|
||||||
|
"content": "My Content",
|
||||||
|
"dropCap": false,
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"originalContent": "<p class=\"has-large-font-size\">My Content</p>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"originalContent": "<div class=\"wp-block-media-text alignwide\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,38 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"blockName": "core/media-text",
|
||||||
|
"attrs": {
|
||||||
|
"mediaId": 17897,
|
||||||
|
"mediaType": "video"
|
||||||
|
},
|
||||||
|
"innerBlocks": [
|
||||||
|
{
|
||||||
|
"blockName": "core/paragraph",
|
||||||
|
"attrs": {
|
||||||
|
"placeholder": "Content…",
|
||||||
|
"fontSize": "large"
|
||||||
|
},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n\t\t<p class=\"has-large-font-size\">My Content</p>\n\t\t",
|
||||||
|
"innerContent": [
|
||||||
|
"\n\t\t<p class=\"has-large-font-size\">My Content</p>\n\t\t"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"innerHTML": "\n<div class=\"wp-block-media-text alignwide\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t\n\t</div>\n</div>\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n<div class=\"wp-block-media-text alignwide\">\n\t<figure class=\"wp-block-media-text__media\">\n\t\t<video controls src=\"http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4\"></video>\n\t</figure>\n\t<div class=\"wp-block-media-text__content\">\n\t\t",
|
||||||
|
null,
|
||||||
|
"\n\t</div>\n</div>\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blockName": null,
|
||||||
|
"attrs": {},
|
||||||
|
"innerBlocks": [],
|
||||||
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,5 @@
|
|||||||
|
<!-- wp:media-text {"mediaId":17897,"mediaType":"video"} -->
|
||||||
|
<div class="wp-block-media-text alignwide"><figure class="wp-block-media-text__media"><video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Content…","fontSize":"large"} -->
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
<!-- /wp:paragraph --></div></div>
|
||||||
|
<!-- /wp:media-text -->
|
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
<div class="wp-block-media-text alignwide">
|
||||||
|
<figure class="wp-block-media-text__media">
|
||||||
|
<video controls src="http://localhost/wp-content/uploads/2018/09/Jul-26-2018-11-34-54.mp4"></video>
|
||||||
|
</figure>
|
||||||
|
<div class="wp-block-media-text__content">
|
||||||
|
|
||||||
|
<p class="has-large-font-size">My Content</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -4,9 +4,9 @@
|
|||||||
"name": "core/missing",
|
"name": "core/missing",
|
||||||
"isValid": true,
|
"isValid": true,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"originalContent": "<!-- wp:unregistered/example {\"attr1\":\"One\",\"attr2\":\"Two\"} -->\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n<!-- /wp:unregistered/example -->",
|
"originalName": "unregistered/example",
|
||||||
"originalName": "unregistered/example",
|
"originalUndelimitedContent": "<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>",
|
||||||
"originalUndelimitedContent": "<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>"
|
"originalContent": "<!-- wp:unregistered/example {\"attr1\":\"One\",\"attr2\":\"Two\"} -->\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n<!-- /wp:unregistered/example -->"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"originalContent": "<!-- wp:unregistered/example {\"attr1\":\"One\",\"attr2\":\"Two\"} -->\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n<!-- /wp:unregistered/example -->"
|
"originalContent": "<!-- wp:unregistered/example {\"attr1\":\"One\",\"attr2\":\"Two\"} -->\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n<!-- /wp:unregistered/example -->"
|
||||||
|
@ -2,16 +2,18 @@
|
|||||||
{
|
{
|
||||||
"blockName": "unregistered/example",
|
"blockName": "unregistered/example",
|
||||||
"attrs": {
|
"attrs": {
|
||||||
"attr1": "One",
|
"attr1": "One",
|
||||||
"attr2": "Two"
|
"attr2": "Two"
|
||||||
},
|
},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n"
|
"innerHTML": "\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n",
|
||||||
|
"innerContent": [ "\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,12 +3,14 @@
|
|||||||
"blockName": "core/more",
|
"blockName": "core/more",
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n<!--more-->\n"
|
"innerHTML": "\n<!--more-->\n",
|
||||||
|
"innerContent": [ "\n<!--more-->\n" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blockName": null,
|
"blockName": null,
|
||||||
"attrs": {},
|
"attrs": {},
|
||||||
"innerBlocks": [],
|
"innerBlocks": [],
|
||||||
"innerHTML": "\n"
|
"innerHTML": "\n",
|
||||||
|
"innerContent": [ "\n" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user