Bug #22261 » rtehtmlarea_bugfix_13791_typo3_4-4.patch
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);
|
||
}
|
- « Previous
- 1
- 2
- 3
- Next »