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

How can i disable delete key default action? #178

Closed
haki9 opened this issue Apr 10, 2019 · 1 comment
Closed

How can i disable delete key default action? #178

haki9 opened this issue Apr 10, 2019 · 1 comment

Comments

@haki9
Copy link

haki9 commented Apr 10, 2019

Version

v3.5.2

I have an Input tag and when I edit default value with delete keyboard, it also delete active Object.

@junghwan-park
Copy link
Member

@haki9 There is no way to disable delete key default action yet. Temporally using imageEditor.discardSelection(); API for prevent active object from deleting.

ImageEditor listen window's keydown event because of undo, redo, delete feature. I think it has to be enhanced somehow. I'll add keydown events to enhancement list. Thanks.

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

No branches or pull requests

2 participants