Skip to content

Instantly share code, notes, and snippets.

@etoledom
etoledom / invalid-content-blocks.html
Created May 23, 2019
Gutenberg blocks with invalid content
View invalid-content-blocks.html
<!-- wp:image -->
<div>
<!-- /wp:image -->
<!-- wp:video {"id":683} -->
<div>
<!-- /wp:video -->
<!-- wp:heading {"level": 2} -->
<div>
View moveUpButtonTitle.js
let moveUpButtonTitle = this.props.canMoveUp ? sprintf(
/* translators: accessibility text. %1: current block position (number). %2: next block position (number) */
__( 'Move up from row %1$s to row %2$s' ),
order,
order - 1
) : sprintf(
/* translators: accessibility text. %d: block position (number) */
__( 'Move up from row %d' ),
order
);
You can’t perform that action at this time.