Skip to content

Commit

Permalink
Fix image test
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Oct 13, 2018
1 parent bd68f4b commit 392f546
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ export const image = {
onChange( insertObject( value, {
type: 'img',
attributes: {
src: url,
alt,
class: `wp-image-${ id }`,
style: `width: ${ Math.min( width, 150 ) }px;`,
src: url,
alt,
},
} ) );
} }
Expand Down

0 comments on commit 392f546

Please sign in to comment.