How to use more than one instance of ketcher on the same page at once. #2313
Unanswered
OliverDudgeon
asked this question in
Q&A
Replies: 1 comment
-
Hi, I think Ketcher now supports multiple instances, but some features will disappear, such as context menu, saving as image, etc. We have an issue for that - #2250. <Editor
// ...
onInit={(ketcher) => {
window.ketcher1 = ketcher
// ...
}}
/> <Editor
// ...
onInit={(ketcher) => {
window.ketcher2 = ketcher
// ...
}}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a react app and want to use multiple instances of the ketcher on the same page at once. Thos doesn't seem possible since both would need to use the same
window.ketcher
global. Is there anyway to configure the global used by a ketcher instance?Beta Was this translation helpful? Give feedback.
All reactions