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 to detect input event changes in the textarea of editor ? #120

Open
msnitish opened this issue Feb 10, 2021 · 0 comments
Open

How to detect input event changes in the textarea of editor ? #120

msnitish opened this issue Feb 10, 2021 · 0 comments

Comments

@msnitish
Copy link

I am planning to check if the entered input is empty or not on every change of event (including backspace).
As soon as the textarea is empty, I want to display a red border around the textarea box.

How do we detect changes like input, keydown, keyup, keypress and simple pastes and cuts in the editor ?

Do we have to write a custom function which detects changes made in the text area ?

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

1 participant