Gecko paste fix. fixes #2051

git-svn-id: http://svn.automattic.com/wordpress/trunk@3287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-12-11 01:32:05 +00:00
parent e6bcf0632d
commit 4e4739b918
1 changed files with 4 additions and 0 deletions

View File

@ -1027,6 +1027,10 @@ TinyMCE.prototype.handleEvent = function(e) {
tinyMCE.cancelEvent(e); tinyMCE.cancelEvent(e);
return false; return false;
} }
if (e.charCode == 118) { // Ctrl+V
tinyMCE.selectedInstance.execCommand("mceInsertContent", false, '<geckopastefix/>');
}
} }
// Return key pressed // Return key pressed