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

onchange 事件并不总能触发,除非点击 textarea 区域 #1

Closed
eternalsky opened this issue Sep 15, 2015 · 2 comments
Closed

Comments

@eternalsky
Copy link
Member

No description provided.

@eternalsky
Copy link
Member Author

http://stackoverflow.com/questions/17802592/how-to-tinymce-change-detect里表示 nodeChange 可能是更好的解决方案。

@eternalsky
Copy link
Member Author

nodeChange 会在文本数量比较多的情况下触发多次,性能不是很好。建议使用 change 和 keyup 的结合,虽然有时会多触发一次。但可以保证可用。

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