sligh update
This commit is contained in:
parent
7fccc4a0f0
commit
8ed3d1a31c
|
|
@ -3,30 +3,19 @@ import "./editor.scss";
|
|||
import "./timeline-step";
|
||||
|
||||
import { useBlockProps, RichText, InnerBlocks } from "@wordpress/block-editor";
|
||||
import {
|
||||
InspectorControls,
|
||||
MediaReplaceFlow,
|
||||
MediaPlaceholder,
|
||||
} from "@wordpress/block-editor";
|
||||
import { InspectorControls } from "@wordpress/block-editor";
|
||||
import { useEffect } from "@wordpress/element";
|
||||
import { useSelect, dispatch } from "@wordpress/data";
|
||||
|
||||
import {
|
||||
PanelBody,
|
||||
PanelRow,
|
||||
ToolbarGroup,
|
||||
ToolbarButton,
|
||||
RadioControl,
|
||||
FormToggle,
|
||||
} from "@wordpress/components";
|
||||
import { trash } from "@wordpress/icons";
|
||||
|
||||
export default function Edit({
|
||||
attributes,
|
||||
setAttributes,
|
||||
clientId,
|
||||
...props
|
||||
}) {
|
||||
export default function Edit({ attributes, setAttributes, clientId }) {
|
||||
let { hasStepPictures, stepPictureFormat, hasStepIcons } = attributes;
|
||||
|
||||
let children = useSelect(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user