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:
parent
2c6e4421b4
commit
a0fd8d74eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue