* Fixed bug #7851: htmlArea RTE causes memory leaks in IE
* Fixed bug #7852: JS error raised in IE7 when closing htmlArea RTE
+ * Fixed bug #7853: htmlArea RTE formatblock does not allow removing p or hx format in FF
2008-03-12 Stanislas Rolland <typo3@sjbr.ca>
* Fixed bug #7851: htmlArea RTE causes memory leaks in IE
* Fixed bug #7852: JS error raised in IE7 when closing htmlArea RTE
+ * Fixed bug #7853: htmlArea RTE formatblock does not allow removing p or hx format in FF
2008-03-12 Stanislas Rolland <typo3@sjbr.ca>
options[0].text = this.localize("No block");
if (deepestBlockAncestor) {
- if (!/^(body|div|address|blockquote)$/i.test(deepestBlockAncestor.nodeName) && deepestBlockAncestor.parentNode && !/^(li|td|th)$/i.test(deepestBlockAncestor.parentNode.nodeName)) {
- options[0].style.display = "none";
- }
var nodeName = deepestBlockAncestor.nodeName.toLowerCase();
for (i = options.length; --i >= 0;) {
if (nodeName === options[i].value.toLowerCase()) {