Project

General

Profile

Bug #21992 » rtehtmlarea_bugfix_13301_trunk.patch

Administrator Admin, 2010-06-09 02:55

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");
(1-1/2)