WP 5.0 back-compat changes

This commit is contained in:
Justin Foell
2020-03-27 13:58:20 -05:00
parent 3e922a55ba
commit ee97e2e5ca
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -1,13 +1,14 @@
/**
* WordPress dependencies
*/
import { BlockControls } from '@wordpress/editor';
const { __ } = wp.i18n;
const {
Icon,
Button,
Toolbar,
} = wp.components;
const { BlockControls } = wp.blockEditor;
const EmbedControls = ( props ) => {
const {
+3 -1
View File
@@ -1,9 +1,11 @@
/**
* WordPress dependencies
*/
import { BlockIcon } from '@wordpress/editor';
const { __, _x } = wp.i18n;
const { Button, Placeholder, ExternalLink } = wp.components;
const { BlockIcon } = wp.blockEditor;
const EmbedPlaceholder = ( props ) => {
const {