The Scrapbook team are currently taking a break from the site to work on a number of other exciting projects. Apologies in advance for the lack of posts. Keep an eye on our Twitter for further updates in due course.
add_filter( 'mce_buttons_2', 'my_mce_buttons_2' ); function my_mce_buttons_2( $buttons ) { array_unshift( $buttons, 'styleselect' ); return $buttons; } add_filter( 'tiny_mce_before_init', 'my_mce_before_init' ); function my_mce_before_init( $settings ) { $style_formats = array( array( 'title' => 'Quote smaller', 'block' => 'blockquote', 'classes' => 'ps-quote-smaller' ), array( 'title' => 'Quote standard', 'block' => 'blockquote', 'classes' => 'ps-quote-standard' ), array( 'title' => 'Quote bigger', 'block' => 'blockquote', 'classes' => 'ps-quote-bigger' ) ); $settings['style_formats'] = json_encode( $style_formats ); return $settings; } //http://www.tinymce.com/tryit/custom_formats.php add_editor_style('./includes/tinymce.css'); ?>
The Scrapbook team are currently taking a break from the site to work on a number of other exciting projects. Apologies in advance for the lack of posts. Keep an eye on our Twitter for further updates in due course.