DouglasConnect / jsme-react

11 stars 13 forks source link

Right-click + Paste MOL or SDF or SMILES is not working #9

Closed PeterOeClausen closed 3 years ago

PeterOeClausen commented 3 years ago

I've integrated the editor in an application, and I can draw molecules just fine. However, I have a client asking for "right-click + Paste MOL or SDF or SMILES" functionality, and it is not working for some reason.

See the video below:

https://user-images.githubusercontent.com/6975621/103997617-a0884d00-519b-11eb-8fce-1bf5e5611709.mp4

I wonder if this is a general issue with the jsme-react package.

It works with the standard JSME editor seen here: https://jsme-editor.github.io/dist/JSME_test.html However, I've been unable to use the standard JSME editor in my React application.

Thank you for making the package. Hope you can help :-)

PeterOeClausen commented 3 years ago

Nevermind, it was due to the modal I was using.

In a standard react component it works just fine. Closing.