Project

General

Profile

Bug #19418 ยป rtehtmlarea_bugfix_9490.patch

Administrator Admin, 2008-10-06 04:00

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js (copie de travail)
if (endElement) {
var parent = endElement.parentNode;
var paragraph = this.editor._doc.createElement("p");
if (HTMLArea.is_ie || HTMLArea.is_opera) {
if (HTMLArea.is_ie) {
paragraph.innerHTML = "&nbsp";
} else {
paragraph.appendChild(this.editor._doc.createElement("br"));
......
} else {
parent.insertBefore(paragraph, after ? endElement.nextSibling : endElement);
}
this.editor.selectNodeContents(paragraph, HTMLArea.is_opera ? null : true);
this.editor.selectNodeContents(paragraph, true);
}
},
    (1-1/1)