Project

General

Profile

Bug #22261 » rtehtmlarea_bugfix_13791_typo3_4-4.patch

Administrator Admin, 2010-06-26 08:17

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js (copie de travail)
} else {
range.setStartBefore(startSpan);
}
var parent = startSpan.parentNode;
HTMLArea.removeFromParent(startSpan);
parent.normalize();
// If the bookmarked range was collapsed, the end span will not be available
if (endSpan) {
// If the next sibling is a text node, let the focusNode have it as parent
......
} else {
range.setEndBefore(endSpan);
}
parent = endSpan.parentNode;
HTMLArea.removeFromParent(endSpan);
parent.normalize();
} else {
range.collapse(true);
}
(3-3/3)