Quantcast
Channel: WordPress 3.9 - Trouble Editing TinyMCE 4.0 - WordPress Development Stack Exchange
Viewing all articles
Browse latest Browse all 3

WordPress 3.9 - Trouble Editing TinyMCE 4.0

$
0
0

With WordPress 3.9 coming soon it's bringing along TinyMCE 4.0. I'm running my plugins and functions through some testing and found that one of my functions seems broken / not working with the new TinyMCE

function myformatTinyMCE( $in ){    $in['theme_advanced_buttons1'] = 'bold';    $in['theme_advanced_buttons2'] = 'formatselect';    $in['wordpress_adv_hidden'] = false;    return $in; }add_filter( 'tiny_mce_before_init', 'myformatTinyMCE' );

The above function used to limit the buttons in the tinyMCE to specific buttons, I've simplified it a bit to make it easier for testing. If I print out $in it shows the correct values in the correct spots, but when I actually load up a page it just defaults to the normal buttons.

I've also tried to use the example in the TinyMCE Codex which also didn't seem to have any effect.

I'm using the WordPress Beta Tester Plugin and I do have TinyMCE Advanced installed but disabled.

With the new TinyMCE how can I continue using / customizing, and are there any 'Gotchas' that have changed from the previous TinyMCE Version?

EDIT

Looks like $in['wordpress_adv_hidden'] = false; is not longer being used - No idea how to unhide the Kitchen Sink.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images