Project

General

Profile

Bug #18245 ยป rtehtmlarea_bugfix_7583.patch

Administrator Admin, 2008-02-19 05:32

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js (working copy)
/*
* Inline Elements Plugin for TYPO3 htmlArea RTE
*
* TYPO3 SVN ID: $Id$
* TYPO3 SVN ID: $Id: inline-elements.js $
*/
/*
* Creation of the class of InlineElements plugins
......
} else {
var parent = this.editor.getParentElement(selection);
var endBlocks = this.editor.getEndBlocks(selection);
return (endBlocks.start === endBlocks.end && !/^(body|table|thead|tbody|tfoot|tr)$/i.test(parent.nodeName));
return (endBlocks.start === endBlocks.end && !/^(table|thead|tbody|tfoot|tr)$/i.test(parent.nodeName));
}
},
    (1-1/1)