Bug #22198 » rtehtmlarea_bugfix_13674_typo3_4-3.patch
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);
|
- « Previous
- 1
- 2
- Next »