* Updated htmlArea RTE manual.
* Fixed bug #14662: htmlArea RTE: Should use t3lib_utility_Client::getBrowserInfo
* Fixed bug #13062: htmlArea RTE: "non-floating" float value doesn't stick on images
+ * Fixed bug #13301: htmlArea RTE: textstyle cannot be applied to full content of block element
2010-06-08 Oliver Hader <oliver@typo3.org>
* Updated htmlArea RTE manual.
* Fixed bug #14662: htmlArea RTE: Should use t3lib_utility_Client::getBrowserInfo
* Fixed bug #13062: htmlArea RTE: "non-floating" float value doesn't stick on images
+ * Fixed bug #13301: htmlArea RTE: textstyle cannot be applied to full content of block element
2010-06-06 Stanislas Rolland <typo3@sjbr.ca>
parent = statusBarSelection;
}
}
- if (!selectionEmpty && !fullNodeSelected) {
- // The selection is not empty, nor full element
+ if (!selectionEmpty && !fullNodeSelected || (!selectionEmpty && fullNodeSelected && parent && HTMLArea.isBlockElement(parent))) {
+ // The selection is not empty, nor full element, or the selection is full block element
if (className !== "none") {
// Add span element with class attribute
var newElement = editor._doc.createElement("span");