diff --git a/packages/editor/src/components/rich-text/format-controls/image/index.js b/packages/editor/src/components/rich-text/format-controls/image/index.js index fd08525e974cd..6d555a41bead6 100644 --- a/packages/editor/src/components/rich-text/format-controls/image/index.js +++ b/packages/editor/src/components/rich-text/format-controls/image/index.js @@ -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, }, } ) ); } }