We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92a41e commit fbbd534Copy full SHA for fbbd534
packages/editor/src/EditorIframe.tsx
@@ -10,7 +10,6 @@ interface EditorIframeWrapperProps {
10
height: number;
11
transform: string;
12
containerRef: React.RefObject<HTMLDivElement>;
13
- onIframeLoaded?: () => void;
14
}
15
16
function EditorIframe({
@@ -20,15 +19,11 @@ function EditorIframe({
20
19
height,
21
transform,
22
containerRef,
23
- onIframeLoaded,
24
}: EditorIframeWrapperProps) {
25
const [isIframeReady, setIframeReady] = useState(false);
26
27
const handleIframeLoaded = () => {
28
setIframeReady(true);
29
- if (onIframeLoaded) {
30
- onIframeLoaded();
31
- }
32
};
33
34
useWindowKeyDown("z", onEditorHistoryUndo, {
0 commit comments