Skip to content

Commit

Permalink
Merge pull request #4013 from WordPress/fix/quote-switch-to-cite
Browse files Browse the repository at this point in the history
Quote, Pullquote: Use new `cite` in Editable too
  • Loading branch information
Tammie Lister authored Dec 14, 2017
2 parents 79c3f34 + a524807 commit 2249a11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/library/pullquote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ registerBlockType( 'core/pullquote', {
/>
{ ( citation || !! focus ) && (
<Editable
tagName="footer"
tagName="cite"
value={ citation }
placeholder={ __( 'Write caption…' ) }
onChange={
Expand Down
2 changes: 1 addition & 1 deletion blocks/library/quote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ registerBlockType( 'core/quote', {
/>
{ ( ( citation && citation.length > 0 ) || !! focus ) && (
<Editable
tagName="footer"
tagName="cite"
value={ citation }
placeholder={ __( 'Write citation…' ) }
onChange={
Expand Down

0 comments on commit 2249a11

Please sign in to comment.