Patch #32847
Ability to add custom css classes to body tag
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Plugin API | |||
Target version: | - |
Description
This ability is important for plugin developers to avoid unnecessary use of deface gem.
If it's going to be implemented, also wiki page for plugin developers should
be updated, accordingly.
History
#1
Updated by Holger Just over 2 years ago
The changed body_css_classes
method is unfortunately not idempotent. Each call of the changed method will add the "normal" classes to the @css
instance variable. Thus, if you call the method two times, the list of classes be doubled.