mirror of
https://github.com/10h30/wp-strava.git
synced 2026-06-05 15:10:01 +09:00
WP 5.0 back-compat changes
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user