• – changes html after inserted via html button (maybe wp default behavior)
    – html-editor indentation could be a lot better.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Marventus

    (@marventus)

    What do you mean by “it doesn’t work”? Language settings should not be affecting plugin functionality. If you mean it has not been translated to Swedish, that’s because translations are usually provided by native speakers of the languages in question, as per WP localization guidelines on the matter.

    Thread Starter oskarmothander

    (@oskarmothander)

    I mean it does nothing. After enabling it I still have the standard editor for posts and pages.

    Thread Starter oskarmothander

    (@oskarmothander)

    Sorry it does work! I assumed it would add some controls by default, which it doesn’t apparently.

    One thing I’m wondering though is about the “styles”, I assumed my own css-classes would be listed here but they are not, I’ve included them with wp_enqueue_style ? How do you get them listed? Do they have to be named [.wp_classname] ?

    Plugin Author Josh

    (@josh401)

    Hi oskarmothander,

    Would you please first go back and adjust your rating? The plugin does work. You must first go to the Ultimate Tinymce admin settings page to configure your options and buttons.

    I will be happy to help you with the styles, after you adjust your rating… and the title of your review.

    Thank you very much!

    Plugin Author Josh

    (@josh401)

    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!!

    Plugin Author Josh

    (@josh401)

    I also just noticed you are using WP 3.4.1. If you look at the plugin download page… you will see this plugin is only rated for WP 3.5.1 and above.

    I would suggest upgrading your WP installation first.. since additional problems may arise from the version incompatibility.

    Thread Starter oskarmothander

    (@oskarmothander)

    Sorry it was a mistype, I am using 3.5.1. Thanks for help.

    Plugin Author Josh

    (@josh401)

    I love helping! Thank you for your appreciation ??

    I apologize if I was assertive above.. I’m a little over-protective of my plugin here ??

    Let me know if you would like some additional help with the custom styles. I know it well, and will be happy to help.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Works’ is closed to new replies.