Project

General

Profile

Bug #18234 ยป rtehtmlarea_bugfix_7564.patch

Administrator Admin, 2008-02-17 21:36

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js (working copy)
var selection = editor._getSelection();
var range = editor._createRange(selection);
var parentElement = this.editor._statusBarTree.selected ? this.editor._statusBarTree.selected : this.editor.getParentElement(selection, range);
if (typeof(target) !== "undefined") {
if (target) {
parentElement = target;
}
while (parentElement && (!HTMLArea.isBlockElement(parentElement) || /^li$/i.test(parentElement.nodeName))) {
    (1-1/1)