Skip to content

Commit

Permalink
Hide embed variations in inserter
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhun committed Jul 23, 2021
1 parent bef5578 commit 9ecad94
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ import { store as blockEditorStore } from '../../store';

const NON_BLOCK_CATEGORIES = [ 'reusable' ];

const ALLOWED_EMBED_VARIATIONS = [
'core/embed',
'core/embed/youtube',
'core/embed/twitter',
'core/embed/instagram',
];
const ALLOWED_EMBED_VARIATIONS = [ 'core/embed' ];

function BlockTypesTab( { onSelect, rootClientId, listProps } ) {
const clipboardBlock = useClipboardBlock( rootClientId );
Expand Down

0 comments on commit 9ecad94

Please sign in to comment.