[TYPO3-core] FYI: Added feature #13116: htmlArea RTE: Allow to hide counting classes in style selectors

Stanislas Rolland typo3 at sjbr.ca
Mon Apr 12 20:25:49 CEST 2010


FYI: The attached SVN patch was committed.

Type:
Feature

Problem:
If you use the table row/cell-counting classes feature, you might end up 
with some fifty classes for cells and some other fifty classes for rows. 
Authors should not see these classes in the style selectors. Normally, 
in these cases, you can do something like:
RTE.classes.myClass.value = display:none;
The class will appear in the selector's current value field if the class 
is allowed and is assigned to the currently selected element (instead of 
showing "unknown blockstyle"), but the class will never appear in the 
selector's list when opened or dropped down.

Solution:
Allow to set a style value for a counting class, so that it is possible 
to configure:

RTE.classes.cell-counter-class-.value = display:none;

where "cell-counter-class-" is a value specified in the counting 
property of the counting class.

This will hide all classes with names starting with the specified string 
  and ending with a number, such as, for example, "cell-counter-class-5"

Note:
The manual is also updated.

Bugtracker references:
http://bugs.typo3.org/view.php?id=13116

Branches:
trunk (revision 7310)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_13116.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100412/d7ddaa56/attachment.asc>


More information about the TYPO3-team-core mailing list