I don't think there's an easy way but making that configurable would be great. I did that for most cases but knew someone would eventually come along and request that :-P
I'll try to take a look at it later and make a configuration option. On Wed, Mar 6, 2013 at 1:37 PM, Drew Neil <andrew.jr.n...@gmail.com> wrote: > Is there an easy way to make the sass/scss filters available for regular > page parts? > > I'm bringing an old radiant 0.6.9 site up to date. Each page on the site has > it's own custom CSS, which is contained in a page part that uses a sass > filter. In the custom CSS for each page, I set the background-image using an > image that is attached to the page. If possible, I'd like to use the sass > filter, but it doesn't show up in the list of available filters for a page > part. However, the scss/sass filters do show up if I run this in the > console: > > >> TextFilter.descendants_names > => ["Coffee", "Markdown", "SCSS", "Sass", "SmartyPants", "Textile"] > > It looks as though the coffee, scss and sass filters are stripped from the > list by this bit of code in the sheets extension: > > > https://github.com/radiant/radiant-sheets-extension/blob/f8afad415d54c2ae1ff97bb53e0f476c88f40e0a/sheets_extension.rb#L33-L38 > > Is there an easy way to prevent sass/scss from being stripped from the > filter list for page parts? > > Thanks, > Drew > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Radiant CMS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to radiantcms+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Write intention revealing code #=> http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups "Radiant CMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.