Actions
Patch #32847
closedAbility to add custom css classes to body tag
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
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.
Files
Updated by Holger Just almost 6 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.
Updated by Go MAEDA about 1 month ago
- Status changed from New to Closed
Plugins can append additional CSS classes to the return value of the body_css_class method by overriding it with Ruby’s Module#prepend.
Actions