import React from "react"; import clsx from "clsx"; import { richClasses as classes } from "../style"; import { editEvent } from "../editEvent"; import { icons } from "../icons"; export function Iframe(props) { const { context, data, isSelected, blockKey } = props; const { width, height, align, catalog, value } = data; let style = {} as any; if (align === "left" || align === "right") { style.float = align; } return (
{ if (e.detail >= 2) { openEdit(); } } } style={style} >