Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom-image-library #442

Open
Bolisetti-Srihari opened this issue Jan 27, 2025 · 1 comment
Open

custom-image-library #442

Bolisetti-Srihari opened this issue Jan 27, 2025 · 1 comment

Comments

@Bolisetti-Srihari
Copy link

<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

@pnp-os
Copy link

pnp-os commented Feb 7, 2025

Unlayer has moved this feature to paid plan in latest version
Check this temporary workaround.
#435 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants