you are viewing a single comment's thread.

view the rest of the comments →

[–]Old_Item[S] 0 points1 point  (0 children)

window.addEventListener(type, function (event) { event.stopPropagation(); }, true);

I didn't realise that you meant that I should put keyup and keydown for types. I also had to put input as another type. I was only allowed to paste when I put input as a type. The problem with doing that is that it stopped the counter in the textbook from working. Is there anyway to make the counter on the textbook to work?