Skip to content
effkay edited this page Oct 24, 2014 · 2 revisions

Extending the backend CSS/javascript

Qbrick installs a sass file in assets/stylesheets/qbrick/cms/customizations.css.sass and a coffeescript file in assets/javascripts/qbrick/cms/customizations.js.coffee which are loaded by the backend layout. Those files can be installed by running rails generate qbrick:assets:install.

Make sure they are in the config.assets.precompile array in environments like production where you usually precompile the assets. The generator will only add the necessary configs for the production env!

Styling the content

By default, the text editor lets you add the following tags, for which you should supply some styles in your app:

p, h1, h2, h3, h4, table, a, strong, em

Clone this wiki locally