Unallowed classes are not removed on the way to the database
Heya Stan :-)
Even if a class is neither listed under RTE.default.proc.allowedClasses nor under buttons.blockstyle/textstyle.tags.tagname.allowedClasses it survives the way to the database. Can you reproduce this?
And a question: Would it be feasible to get rid of one of those class lists?
Could not perhaps the allowed classes be collected from buttons.blockstyle/textstyle.tags.tagname. Would save a lot of configuration stuff.
(issue imported from #M11299)
Updated by Stanislas Rolland over 11 years ago
proc.allowedClasses is used by the tranformation on the way to the database and applies only to p (or div) and span tags.
buttons.blockstyle/textstyle.tags.tagname.allowedClasses specifies to the RTE what classes may appear in the style selector box.