Bug #22091 ยป rtehtmlarea_bugfix_13479_typo3_4-3_v2.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js (copie de travail) | ||
---|---|---|
var a = textNode.parentNode.insertBefore(tag, rightText);
|
||
HTMLArea.removeFromParent(textNode);
|
||
a.appendChild(textNode);
|
||
rightText.data += " ";
|
||
s.collapse(rightText, rightText.data.length);
|
||
HTMLArea._stopEvent(ev);
|
||
|
||
s.collapse(rightText, 0);
|
||
rightText.parentNode.normalize();
|
||
editor._unLink = function() {
|
||
var t = a.firstChild;
|
||
a.removeChild(t);
|