Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit f7a669d89cfc8aa62f12d82087a55adc57719996 1 parent f8a6a83
julmis authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.