Bug #19969 » rtehtmlarea_bugfix_10352_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) | ||
---|---|---|
HTMLArea._stopEvent(ev);
|
||
}
|
||
} else if (HTMLArea.is_safari) {
|
||
var brNode = document.createElement("br");
|
||
var brNode = editor._doc.createElement("br");
|
||
editor.insertNodeAtSelection(brNode);
|
||
if (!brNode.nextSibling || !HTMLArea.getInnerText(brNode.nextSibling)) {
|
||
var secondBrNode = document.createElement("br");
|
||
var secondBrNode = editor._doc.createElement("br");
|
||
secondBrNode = brNode.parentNode.appendChild(secondBrNode);
|
||
editor.selectNode(secondBrNode, false);
|
||
}
|