Project

General

Profile

Bug #21992 » rtehtmlarea_bugfix_13301_typo3_4-3.patch

Administrator Admin, 2010-06-09 02:56

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js (copie de travail)
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");
(2-2/2)