editor-style.css
Given that Bootstrap offers a number of different formatting options I think it would be feasible to add an editor-style.css file to the base theme.
This file can be easily generated using Bootstrap Customize - simply check the Base Style settings and download.
Adding the following into the functions.php will load this editor-style.
// functions.php
add_action( 'admin_init', 'add_my_editor_style' );
function add_my_editor_style() {
add_editor_style();
}
we've had an editor-style.css based off bootstrap in the repo for a while, although it's pretty outdated
https://github.com/retlehs/roots/blob/master/assets/css/editor-style.css https://github.com/retlehs/roots/blob/master/functions.php#L39
Guys if you can wait a few days i would be happy to tackle / update this and contribute to "Roots".. I am just a little busy for the next few days putting together a few projects for a client.
Regards, Darren
I doubt we were going to get to this any time soon, so feel free to take your time.
went ahead and knocked this out (626b8ca6d952676f23953420dc716f15eb8db66f) for future reference if anyone wants to update after bootstrap updates:
- go to http://twitter.github.com/bootstrap/customize.html
- un-toggle everything
- check 'body types and links' under scaffolding & 'headings, body, etc' + 'code and pre' from base CSS
i really don't think that the rest is necessary for a base installation
:heart: darren
Schwing.