Project

General

Profile

Bug #22261 » rtehtmlarea_bugfix_13791_typo3_4-3.patch

Administrator Admin, 2010-06-26 08:16

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js (copie de travail)
} else {
range.setStartBefore(startSpan);
}
HTMLArea.removeFromParent(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);
}
HTMLArea.removeFromParent(endSpan);
parent = endSpan.parentNode;
HTMLArea.removeFromParent(endSpan);
parent.normalize();
} else {
range.collapse(true);
}
(2-2/3)