Skip to content

Instantly share code, notes, and snippets.

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
);
@etoledom
etoledom / invalid-content-blocks.html
Created May 23, 2019 07:52
Gutenberg blocks with invalid content
<!-- wp:image -->
<div>
<!-- /wp:image -->
<!-- wp:video {"id":683} -->
<div>
<!-- /wp:video -->
<!-- wp:heading {"level": 2} -->
<div>