Project

General

Profile

Bug #23936 » rtehtmlarea_bugfix_16245_trunk.patch

Administrator Admin, 2010-11-07 17:17

View differences:

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];
(1-1/2)