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

feat: also emit change events when in readonly mode #240

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

artaius
Copy link
Contributor

@artaius artaius commented Nov 5, 2024

We would like to use the the editor component with disabled editor functionality (readonly=true), while still having the possibility to support dnd and paste operations. Therefore it it is crucial to get those events also in readonly mode.

@thsa
Copy link

thsa commented Nov 5, 2024

Wouldn't it be more straight-forward to use a JStructureView-js component for that?

@artaius
Copy link
Contributor Author

artaius commented Nov 5, 2024

OCL-JS does not implement all OCL UI components one to one. There exists a "legacy" (non generic) variant of it (StructureView). Short answer, such a component does currently not exist (same as JEditableStructureView, JChemistryView, JEditableChemistryView). This can maybe be addressed in the future. Currently I'm focusing on getting a first production version ready openchemlib-vaadin.

@artaius
Copy link
Contributor Author

artaius commented Nov 6, 2024

@targos Would you mind merging this pull request and creating a new OCL-JS release so I can finally release my first version of openchemlib-vaadin? Thanks a lot for your support.

@targos targos changed the title Also emmit change events when in readonly mode feat: also emit change events when in readonly mode Nov 6, 2024
@targos targos merged commit c4ea31c into cheminfo:main Nov 6, 2024
4 checks passed
@targos
Copy link
Member

targos commented Nov 6, 2024

@artaius Done. Released as v8.17.0

@artaius
Copy link
Contributor Author

artaius commented Nov 6, 2024

@targos thanks a lot, it's a pleasure working so efficiently with you guys.

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

Successfully merging this pull request may close these issues.

3 participants