TinyMCE Plugin Parameter

The first few you listed are not WordPress specific, and information about them can be found as follows: inlinepopups tabfocus paste media fullscreen As for the WordPress specific plugins, their source code is here (trac). There are no comments, but here’s my take based on a very cursory read through: wordpress: seems to setup the … Read more

Change TinyMCE Block Format Labels

I would use the hook tiny_mce_before_init : function wpse_106063_tinymce($arr){ $arr[‘theme_advanced_blockformats’] = ‘h1,h2,h3,h4’; $style_formats = array( array(‘title’ => ‘title’, ‘block’ => ‘h1’)), // etc ); $arr[‘style_formats’] = json_encode( $style_formats ); return $arr; } add_filter(‘tiny_mce_before_init’, ‘wpse_106063_tinymce’); Hope it helps. EDIT: add something that should work, not tested. source

Hide TinyMCE controls in TinyMCE 4 (WordPress 3.9)

I’m not sure if there is an official way to do this in TinyMCE 4.0 or not, I can’t find any references in their docs or on WordPress – below is a PHP method you could use to do this: function myformatTinyMCE($in) { $del_buttons = array(‘bold’, ‘italic’, ‘strikethrough’); $temp = explode(‘,’, $in[‘toolbar1’]); foreach($del_buttons as $del){ … Read more

Using main style.css with add_editor_style

The simplest answer is: you can use whatever stylesheet you want for the editor. editor-style.css is just the default stylesheet loaded if none is passed to add_editor_style(). This will load the specified stylesheet: add_editor_style( ‘some-stylsheet.css’ ); This will load editor-style.css: add_editor_style(); Use whatever better fits your needs. By the way, it is better practice to … Read more

TinyMCE is broken

Solved it by adding this to wp-config.php, which kills the js combining. define( ‘CONCATENATE_SCRIPTS’, false );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)