mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Gecko paste fix. fixes #2051
git-svn-id: https://develop.svn.wordpress.org/trunk@3287 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Vendored
+4
@@ -1027,6 +1027,10 @@ TinyMCE.prototype.handleEvent = function(e) {
|
||||
tinyMCE.cancelEvent(e);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (e.charCode == 118) { // Ctrl+V
|
||||
tinyMCE.selectedInstance.execCommand("mceInsertContent", false, '<geckopastefix/>');
|
||||
}
|
||||
}
|
||||
|
||||
// Return key pressed
|
||||
|
||||
Reference in New Issue
Block a user