Project

General

Profile

Bug #19681 » rtehtmlarea_bugfix_9894_typo3_4-2.patch

Administrator Admin, 2009-02-03 07:02

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
return false;
break;
case "Paste" :
if (HTMLArea.is_ie || HTMLArea.is_safari) {
cmd = editor.config.hotKeyList[key].cmd;
editor.execCommand(cmd, false, null);
HTMLArea._stopEvent(ev);
return false;
// In FF3, the paste operation will indeed trigger the paste event
} else if (HTMLArea.is_opera || (HTMLArea.is_gecko && navigator.productSub < 2008020514)) {
if (HTMLArea.is_opera || (HTMLArea.is_gecko && navigator.productSub < 2008020514)) {
if (editor._toolbarObjects.CleanWord) {
var cleanLaterFunctRef = editor.plugins.DefaultClean ? editor.plugins.DefaultClean.instance.cleanLaterFunctRef : (editor.plugins.TYPO3HtmlParser ? editor.plugins.TYPO3HtmlParser.instance.cleanLaterFunctRef : null);
if (cleanLaterFunctRef) {
......
}
}
}
return true;
} else if (ev.altKey) {
// check if context menu is already handling this event
if(editor.plugins["ContextMenu"] && editor.plugins["ContextMenu"].instance) {
......
}
}
}
return true;
} else if (keyEvent) {
if (HTMLArea.is_gecko) editor._detectURL(ev);
switch (ev.keyCode) {
......
makeFunctionReference : function (functionName) {
var self = this;
return (function(arg1, arg2) {
self[functionName](arg1, arg2);});
return (self[functionName](arg1, arg2));
});
},
/**
(1-1/3)