Project

General

Profile

Bug #22198 » rtehtmlarea_bugfix_13674_typo3_4-3.patch

Administrator Admin, 2010-04-12 23:51

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
if (editor._checkInsertP()) {
HTMLArea._stopEvent(ev);
}
} else if (HTMLArea.is_safari) {
var brNode = editor._doc.createElement("br");
editor.insertNodeAtSelection(brNode);
if (!brNode.nextSibling || !HTMLArea.getInnerText(brNode.nextSibling)) {
var secondBrNode = editor._doc.createElement("br");
secondBrNode = brNode.parentNode.appendChild(secondBrNode);
editor.selectNode(secondBrNode, false);
}
HTMLArea._stopEvent(ev);
}
// update the toolbar state after some time
if (editor._timerToolbar) window.clearTimeout(editor._timerToolbar);
(2-2/2)