WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate TinyMCE
Works (9 posts)

2 stars
  1. oskarmothander
    Member
    Posted 1 year ago #

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

  2. Marventus
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. oskarmothander
    Member
    Posted 1 year ago #

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

  4. oskarmothander
    Member
    Posted 1 year ago #

    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] ?

  5. Josh (WP Edit)
    Moderator and Editor Customizer
    Plugin Author

    Posted 1 year ago #

    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!

  6. Josh (WP Edit)
    Moderator and Editor Customizer
    Plugin Author

    Posted 1 year ago #

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

  7. Josh (WP Edit)
    Moderator and Editor Customizer
    Plugin Author

    Posted 1 year ago #

    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.

  8. oskarmothander
    Member
    Posted 1 year ago #

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

  9. Josh (WP Edit)
    Moderator and Editor Customizer
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.