What is zinging my HTML commands? I don’t think I can blame TinyMCE this time…
What is zinging my HTML commands? I don’t think I can blame TinyMCE this time…
What is zinging my HTML commands? I don’t think I can blame TinyMCE this time…
How about the theme_advanced_disable option (link)? tinyMCE.init({ … theme_advanced_disable : “bold,italic” });
This is a bug between TinyMCE and WebKit based browsers. This is due to the fact that the style parameter is interpreted as a html attribute (ie img style=”float: right”). If you go to Text mode and copy and paste all will be fine. As long as you stay away of naming your shortcodes parameters … Read more
Localize tinymce in WordPress 3.9?
Edit body image after insertion in 3.9.1
Option 2 was the only one that worked correctly. function disable_mce_buttons($settings){ $settings[‘external_plugins’] = ”; $settings[‘toolbar3’] = ”; return $settings; } add_filter(‘tiny_mce_before_init’, ‘disable_mce_buttons’);
Finally I have find the answer to my question here. Seems like the WordPress Team forgot to add the TinyMCE4 ‘code’ plugin in the WordPress 3.9.1 release. Well, thanks to all!
Custom shortcode editor [BackboneJS & TinyMCE)
To ajax this function you have hook it, so your function will be like this : function write_cat_list($cat){ $cats = get_categories(‘hide_empty=0’); if($cats) : $tinyMCE_list = array(); foreach ($cats as $cat) : $tinyMCE_list[] = array( ‘text’ => $cat->name , ‘value’ => $cat->term_id ); //write_cat_list($cat->term_id); endforeach; $jscode = json_encode($tinyMCE_list); //to convert from array to opject echo $jscode; … Read more
While I can’t see any major fault in doing the way I proposed initially especially in relation to translation and localization, what I realised while researching this issue was that I was asking an ajax question. Basically what’s the most efficient method to initialize the I18n components of wordpress. Short of making a custom ajax … Read more