Feature #21893
closedhtmlArea RTE: Allow to hide counting classes
0%
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