File tree Expand file tree Collapse file tree
packages/block-library/src/rich-image/rich-image Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ import Cropper from 'react-easy-crop';
99 * WordPress dependencies
1010 */
1111
12- import { BlockControls } from '@wordpress/block-editor' ;
12+ import {
13+ BlockControls ,
14+ __experimentalBlock as Block ,
15+ } from '@wordpress/block-editor' ;
1316import { Fragment , Component } from '@wordpress/element' ;
1417import {
1518 Toolbar ,
@@ -147,7 +150,7 @@ class RichImage extends Component {
147150 ) }
148151
149152 { isCrop ? (
150- < div className = "richimage__crop-controls" >
153+ < Block . div className = "richimage__crop-controls" >
151154 < div
152155 className = "richimage__crop-area"
153156 style = { {
@@ -193,7 +196,7 @@ class RichImage extends Component {
193196 this . setState ( { zoom : newZoom } ) ;
194197 } }
195198 />
196- </ div >
199+ </ Block . div >
197200 ) : (
198201 < OriginalBlock { ...this . props } />
199202 ) }
You can’t perform that action at this time.
0 commit comments