Allow extension widgets to set widget-content-classes #284
Labels
work completed
Work for this has been completed but it may not yet be merged / released
Milestone
Feature request: provide a mechanism for extensions to add additional CSS classes to
widget-content
, similar to how the built-in widgets' templates can definewidget-content-classes
.My use case is a custom video carousel. It is based on the built-in videos template, but that template adds a
widget-content-frameless
class to remove the default widget frame. To replicate that, I would have to inject a script with the extension response, so I think it would be good to provide a better method to accomplish this.The obvious way I see of doing this would be to allow extensions to return a
Widget-Content-Classes
response header. What do you think?The text was updated successfully, but these errors were encountered: