onchange 事件并不总能触发,除非点击 textarea 区域
eternalsky opened this issue · comments
onchange 事件并不总能触发,除非点击 textarea 区域
http://stackoverflow.com/questions/17802592/how-to-tinymce-change-detect里表示 nodeChange 可能是更好的解决方案。
nodeChange 会在文本数量比较多的情况下触发多次,性能不是很好。建议使用 change 和 keyup 的结合,虽然有时会多触发一次。但可以保证可用。