Open
Description
<EmailEditor
ref={emailEditorRef}
onReady={onReady}
onLoad={onLoad}
style={{
height: "calc(100vh - 56px)",
minHeight: "500px",
}}
options={{
version: "latest",
id: "editor",
displayMode: "email",
appearance: {
theme: "light",
panels: {
tools: {
dock: "left",
},
},
},
features: {
imageEditor: {
enabled: true,
},
},
tools: {
image: {
enabled: true,
},
},
}}
/>
im unable to open the my custom image library when using these listeners
const onLoad: EmailEditorProps["onLoad"] = (unlayer: any) => {
unlayer.registerCallback("selectImage", (data: any, done: any) => {
setIsModalOpen(true);
});
};
and version is [email protected]
can you resolve this
Metadata
Metadata
Assignees
Labels
No labels