akzhan/jwysiwyg — Issue #255: FYI: wysiwyg.rmFormat.js intermittent problem
Author: rschramm
Created: 2011-11-11 19:09:02+00:00
State: open

I just wanted to let everyone know I was having some trouble with the "wysiwyg.rmFormat.js" plugin in case my solution can help anyone having this issue. When I was testing it; sometimes it would work and sometimes it wouldn't.

I found out that when I hit ctrl+v quickly it wouldn't register, but when I did it slowly it would work. I removed the "if (event.keyCode == '86') {" line from "jquery.wysiwyg.js" that was checking if you're hitting the V key, and it worked every time for me after that.

I suppose that means the event is firing every time you hit the ctrl key now, which probably isn't ideal...but it appears to be working alright without it.

I found the error in Firefox 7.0.1 and tested the change in Chrome 15, IE7, and Safari 5.0.3.