Project

General

Profile

Actions

Feature #21893

closed

htmlArea RTE: Allow to hide counting classes

Added by Uschi Renziehausen over 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-12-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hi Stan :-)

Problem:
If you use the nice row/cell-counting feature you might end up with some fifty classes for cells and some other fifty classes for rows. Now authors should not see these classes in the styleselector. Normally in these cases you do something like:
RTE.classes.myClass.noShow = 1

Unfortunately this does not work for my counter classes. If I say
RTE.classes.cellcounter-1.noShow = 1 the item is still shown in the selectlist for blockstyles, at least as long as I say:
buttons.blockstyle.tags.td.allowedClasses = cellcounter-*
If I do not add the cellcounter-* there (which I tried as a workaround) the feature still works, but now my authors are confronted with 'unknown blockstyle' in the styleselector.

Something like this would be comfortable:
RTE.classes.cellcount-*.noShow = 1

Uschi

(issue imported from #M13116)


Files

rtehtmlarea_feature_13116.patch (1.15 KB) rtehtmlarea_feature_13116.patch Administrator Admin, 2010-04-12 19:28
Actions #1

Updated by Stanislas Rolland about 14 years ago

Hey Uschi!!

This is not really the meaning of this property. It is intended to mean that the style specified in the value property will not be applied in the dropdown. (I guess this is historical, as it does not seem to make much sense in the current RTE).

So in order to hide a class, you can set

RTE.classes.class-name.value = display: none;

Well, I just tested it in trunk. Don't know if it really works in 4.3.

Then, I suppose we would need:

RTE.classes.counting-class-name-.value = display: none;

Stan

Actions #2

Updated by Stanislas Rolland about 14 years ago

Committed to SVN TYPO3core trunk (revision 7310).

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF