Skip to content

Commit

Permalink
add block menu default class + fix toolbar roving tabindex e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Jun 20, 2020
1 parent 50cf323 commit 2a2b2c8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
import { __ } from '@wordpress/i18n';
import { MenuGroup, MenuItem } from '@wordpress/components';
import { getBlockMenuDefaultClassName } from '@wordpress/blocks';

/**
* Internal dependencies
Expand All @@ -21,6 +22,7 @@ const BlockTransformationsMenu = ( {
return (
<MenuItem
key={ name }
className={ getBlockMenuDefaultClassName( name ) }
icon={ <BlockIcon icon={ icon } showColors /> }
onClick={ ( event ) => {
event.preventDefault();
Expand Down

0 comments on commit 2a2b2c8

Please sign in to comment.