Lol.. okay. So it sort of works?
What part of the plugin exactly, sort of works? We work extremely hard to make sure this plugin works 100% across all installations. If there is something that “sort of works” for you… we would need to know the exact steps you are taking so we can replicate the issue.
Please, be more specific and help the other people who may want to use this plugin. Reviews are not a pissing contest. You are lucky I’m getting ready to type out this explanation about custom styles. Changing your rating from one-star to two-stars is almost an insult to me!
Now… regarding custom styles. Adding them via enqueue script is not enough. That just makes things display correctly in your admin panel.. not the tinymce editor.
In order to use custom styles in the tinymce editor, you need to define them in a function and then hook it to the “style_formats” wordpress tinymce hook.
Something like this:
add_filter( 'tiny_mce_before_init', 'my_mce_before_init' );
function my_mce_before_init( $settings ) {
$style_formats = array(
array(
'title' => 'Button',
'selector' => 'a',
'classes' => 'button'
),
array(
'title' => 'Bold Red Text',
'inline' => 'span',
'styles' => array(
'color' => '#f00',
'fontWeight' => 'bold'
)
)
);
$settings['style_formats'] = json_encode( $style_formats );
return $settings;
}
… should do the trick.
Good Luck!!