web/app/themes/open-dai/lib/admin.php
// Add style formats to TineMCE styleselect
Add style formats to TineMCE styleselect
Add style formats to TineMCE styleselect
function mce_style_formats( $init_array ) {
  $init_array['style_formats'] = json_encode(array(
    array(
      'title' => 'Lead paragraph',
      'classes' => 'lead',
      'block' => 'p',
    ),
    array(
      'title' => 'Small text',
      'inline' => 'small',
    )
  ));
  return $init_array;
}
function mce_style_formats ( $ init_array ) { $ init_array [ 'style_formats' ] = json_encode ( array ( array ( 'title' => 'Lead paragraph' , 'classes' => 'lead' , 'block' => 'p' , ) , array ( 'title' => 'Small text' , 'inline' => 'small' , ) ) ) ; return $ init_array ; }
Add style formats to TineMCE styleselect
Add style formats to TineMCE styleselect