Bug #23936 » rtehtmlarea_bugfix_16245_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (copie de travail) | ||
---|---|---|
el = HTMLArea.getElementObject(node, "a");
|
||
if (el != null && /^a$/i.test(el.nodeName)) node = el;
|
||
if (node) {
|
||
// Export trailing br that IE may include in the link
|
||
if (Ext.isIE) {
|
||
if (node.lastChild && /^br$/i.test(node.lastChild.nodeName)) {
|
||
HTMLArea.removeFromParent(node.lastChild);
|
||
node.parentNode.insertBefore(this.editor.document.createElement('br'), node.nextSibling);
|
||
}
|
||
}
|
||
if (HTMLArea.classesAnchorSetup && cur_class) {
|
||
for (var i = HTMLArea.classesAnchorSetup.length; --i >= 0;) {
|
||
anchorClass = HTMLArea.classesAnchorSetup[i];
|