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