update 0.6.0

This commit is contained in:
hufeixiong
2021-07-20 16:33:23 +08:00
parent 44429607d2
commit 79de48da66
19 changed files with 177 additions and 161 deletions

View File

@@ -11,6 +11,7 @@ interface BlockProps {
data: IBlockType;
context: 'edit' | 'preview';
config: UserConfig;
iframe?: boolean;
}
/**
@@ -128,6 +129,7 @@ function Blocks(props: PropsWithChildren<BlockProps>) {
height: props.data.height,
zIndex: props.data.zIndex,
display: props.data.display,
opacity: props.iframe ? 0 : 1,
}}
{...innerDragData}
onContextMenu={(e) => {
@@ -184,6 +186,7 @@ function Blocks(props: PropsWithChildren<BlockProps>) {
state,
props.context,
props.data,
props.iframe,
props.config,
innerDragData,
animatecss,