Project

General

Profile

Actions

Bug #18445

closed

hidePStyleItems does not work anymore

Added by Rafael Freuler over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-03-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

RTE.default.hidePStyleItems does not work anymore with TYPO3 4.2beta3 and rtehtmlarea 1.7.2.
RTE.default.buttons.formatblock.removeItems doesn't work either.

(issue imported from #M7857)


Files

rtehtmlarea_bugfix_7857.patch (2.47 KB) rtehtmlarea_bugfix_7857.patch Administrator Admin, 2008-03-15 16:09
rtehtmlarea_bugfix_7857_2.patch (2.56 KB) rtehtmlarea_bugfix_7857_2.patch Administrator Admin, 2008-03-15 20:08
Actions #1

Updated by Stanislas Rolland over 16 years ago

I cannot reproduce this issue. What default configuration settings are you using? What do you have in Page TSConfig?

Actions #2

Updated by Rafael Freuler over 16 years ago

My default configuration setting is "typical". Changing it to demo doesn't make a difference.
And here is my page tsconfig. The exact same configuration works with older versions of the rte and typo3:
RTE.default.buttons.formatblock.removeItems = H4,H5,H6,PRE,ADDRESS
RTE.default.hidePStyleItems = H4,H5,H6,PRE,ADDRESS
#RTE.hidePStyleItems = H4,H5,H6,PRE,ADDRESS

RTE.default.contentCSS = fileadmin/templates/styles/rte.css
RTE.default.blindImageOptions = magic,dragdrop

RTE.RTEkeyList = formatblock, bold, italic, unorderedlist, link, table, chMode, removeformat, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
RTE.default.showButtons = formatblock, bold, italic, unorderedlist, insertcharacter, link, image, table, chMode, removeformat, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge

RTE.default.buttons.link.popupSelector.disabled = 1
RTE.default.classesAnchor >
RTE.default {
hideTableOperationsInToolbar = 1
disableAlignmentFieldsetInTableOperations = 0
disableSpacingFieldsetInTableOperations = 0
disableColorFieldsetInTableOperations = 0
disableLayoutFieldsetInTableOperations = 0
disableBordersFieldsetInTableOperations = 0
}

RTE.classesAnchor {
externalLink >
externalLinkInNewWindow >
internalLink >
internalLinkInNewWindow >
download >
mail >
}

Actions #3

Updated by Stanislas Rolland over 16 years ago

Ok, it seems that the tagnames need to be in lower case.

Actions #4

Updated by Rafael Freuler over 16 years ago

yes, that was it. many thanks!
It makes much more sense for the tagnames to be in lowercase anyway.
Still, you might want to fix it for backwards compatibility, because it used to work with uppercase tags as well...

Actions #5

Updated by Stanislas Rolland over 16 years ago

Upper case tags honoured again with fix committed to SVN TYPO3core branch TYPO3_4-2 revision 3425.

Actions #6

Updated by Stanislas Rolland over 16 years ago

Use t3lib_div::strtolower for Turkish backends.

Actions #7

Updated by Stanislas Rolland over 16 years ago

Use of t3lib_div::strtolower committed to SVN TYPO3core branch TYPO3_4-2 revision 3429.

Actions

Also available in: Atom PDF