Sandbox Edit
This component provides an isolated environment for arbitrary HTML via iframes.
Usage
import { SandBox } from '@wordpress/components';
const MySandBox = () => (
<SandBox html="<p>Content</p>" title="Sandbox" type="embed" />
);
This component provides an isolated environment for arbitrary HTML via iframes.
import { SandBox } from '@wordpress/components';
const MySandBox = () => (
<SandBox html="<p>Content</p>" title="Sandbox" type="embed" />
);