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:
Ryan Boren 2005-12-11 01:32:05 +00:00
parent 2c6e4421b4
commit a0fd8d74eb
1 changed files with 4 additions and 0 deletions

View File

@ -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