Skip to content

Commit

Permalink
Block: change ‘edit as HTML’ text
Browse files Browse the repository at this point in the history
Change the ‘edit as HTML’ button text for an invalid block so it better matches the action.
  • Loading branch information
johngodley committed Jul 11, 2018
1 parent 6231f42 commit 16318f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/components/block-list/block-invalid-warning.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function BlockInvalidWarning( { convertToHTML, convertToBlocks } ) {
</Button>,
hasHTMLBlock && (
<Button key="edit" onClick={ convertToHTML } isLarge isPrimary>
{ __( 'Edit as HTML' ) }
{ __( 'Keep as HTML' ) }
</Button>
),
] }
Expand Down

0 comments on commit 16318f7

Please sign in to comment.