react-email-editor icon indicating copy to clipboard operation
react-email-editor copied to clipboard

custom-image-library

Open Bolisetti-Srihari opened this issue 11 months ago • 1 comments

<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

Bolisetti-Srihari avatar Jan 27 '25 12:01 Bolisetti-Srihari

Unlayer has moved this feature to paid plan in latest version Check this temporary workaround. https://github.com/unlayer/react-email-editor/issues/435#issuecomment-2642178833

pnp-os avatar Feb 07 '25 08:02 pnp-os