Sitefinity / feather

mvc
Other
97 stars 68 forks source link

Option to disable re-sending of bootstrap css on designer load #1487

Open sitefinitysteve opened 9 years ago

sitefinitysteve commented 9 years ago

When I edit a feather widget my bootstrap theme settings effective disappear, I assume the widget designer is reloading the bootstrap css and overriding all my settings.

Example: http://screencast.com/t/FXSsJejBuiYu

Can we just either not load it assuming it's already loaded, OR give me a config option to disable it from coming down again?

manev commented 9 years ago

Hi Steve, We are aware of this limitation. The problem comes from the fact that all of the styles are in the same context and currently we can’t think of any good approach to overcome this limitation. I will create a bug in our backlog list.

sitefinitysteve commented 9 years ago

IMO don't detect it, give me a backend bool property to enable\disable it :) ...then just check that in the code before you send\add it.

sitefinitysteve commented 9 years ago

Can we please implement this, also the ability to disable the sending of Kendo's css on load as well? We have kendo flat loaded in our theme, but when we edit a widget everything just pops to whatever theme you guys are using (Material?)