+ { /* Adding `is-hovered` class to the wrapper element is needed
+ because the options Popover is rendered outside of this node. */ }
+
+
+ }
onClick={ () => onMediaInsert( block ) }
- aria-label={ title }
>
{ preview }
@@ -240,14 +245,14 @@ export function MediaPreview( { media, onClick, composite, category } ) {
) }
- { ! isInserting && (
-
- ) }
-
-
+
+ { ! isInserting && (
+
+ ) }
+
) }