Permalink
Browse files

Do not intercept ctrl + v in gecko and let browser's own editor to ha…

…ndle it.

It's a bubblegum fix but partly takes care of pasting problem in Mozilla/Firefox
  • Loading branch information...
1 parent f8a6a83 commit f7a669d89cfc8aa62f12d82087a55adc57719996 julmis committed Jul 13, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/editor/htmlarea.php
View
2 lib/editor/htmlarea.php
@@ -1955,7 +1955,7 @@ function getMozSelection(txtarea) {
case 'j': cmd = "justifyfull"; break;
case 'z': cmd = "undo"; break;
case 'y': cmd = "redo"; break;
- case 'v': cmd = "paste"; break;
+ case 'v': if (! HTMLArea.is_gecko ) { cmd = "paste"; } break;
case '0': cmd = "killword"; break;

0 comments on commit f7a669d

Please sign in to comment.