Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Post History
I wouldn't be surprised if the fix is the same I will say the code is same but, written in different pages(when talking about Ruby). Currently we are using keyup change for detecting changes ...
Answer
#2: Post edited
- >I wouldn't be surprised if the fix is the same
I will say the code is same but, written in different pages.- Currently we are using [`keyup change`](https://github.com/codidact/qpixel/blob/develop/app/assets/javascripts/character_count.js#L7) for detecting changes to field. So, whenever you copy-paste text in field then, that function can't detect what happened to that field. So, I am thinking to use [`.on('paste'.....`](https://github.com/codidact/qpixel/blob/develop/app/assets/javascripts/character_count.js#L7). This function can detect if you copy-pasted anything.
- >I wouldn't be surprised if the fix is the same
- I will say the code is same but, written in different pages(when talking about Ruby).
- Currently we are using [`keyup change`](https://github.com/codidact/qpixel/blob/develop/app/assets/javascripts/character_count.js#L7) for detecting changes to field. So, whenever you copy-paste text in field then, that function can't detect what happened to that field. So, I am thinking to use [`.on('paste'.....`](https://github.com/codidact/qpixel/blob/develop/app/assets/javascripts/character_count.js#L7). This function can detect if you copy-pasted anything.
#1: Initial revision
>I wouldn't be surprised if the fix is the same I will say the code is same but, written in different pages. Currently we are using [`keyup change`](https://github.com/codidact/qpixel/blob/develop/app/assets/javascripts/character_count.js#L7) for detecting changes to field. So, whenever you copy-paste text in field then, that function can't detect what happened to that field. So, I am thinking to use [`.on('paste'.....`](https://github.com/codidact/qpixel/blob/develop/app/assets/javascripts/character_count.js#L7). This function can detect if you copy-pasted anything.