Get current Blog ID in Tinymce Plugin Dialog Window in WPMU
Try this: global $current_blog; $blog = get_blog_details($current_blog->blog_id);
Try this: global $current_blog; $blog = get_blog_details($current_blog->blog_id);
I’m not 100% sure, but this problem seems related to the unfiltered_html capability restriction. unfiltered_html Since 2.0 Allows user to post HTML markup or even JavaScript code in pages, posts, and comments. Note: Enabling this option for untrusted users may result in their posting malicious or poorly formatted code. An easy fix (and probably a … Read more
wp-settings cookie screenshot its stored in the cookie wp-settings-USERID, replace USERID with the id of the logged in user. the two values are editor=tinymce or editor=html
Problem solved: In 2.9.2 under “New Blog Defaults”, the field “Encoding for pages and feeds” was blank and should have been UTF-8. When I updated this field on all blogs, the problem went away. In 3.2.1 you can edit this value on a blog by blog basis on the reading settings page: /wp-admin/options-reading.php. I’m not … Read more
If plugin is okay with you than you can try WP Quick Post Widget. It has Editor you are looking for and also supporting all Custom Meta Boxes. So you can use that too for front end. Check this. http://wordpress.org/extend/plugins/quick-post-widget/
That ‘global flag’ is called a cookie 🙂 I struggled with the same issue a couple of weeks back, looking for AJAX calls, site options and user preferences until I figured it out. If you check WP’s source code for generating the first line of the JS function you’re having trouble with, you’ll see that … Read more
It’s working for me — have you checked your source code on the published post to see if <br> tags are being inserted? If so, you may want to check your CSS to make sure nothing is over-riding the tags. One of the biggest culprits can be float: left being applied to the line breaks.
You’ll need to use add_meta_box() to setup the field and wp_editor() to make a new instance of TinyMCE.
Try this Force html edit plug-in.
I have found a great post which solves this issue, http://wordpress.org/support/topic/plugin-qtranslate-problems-displaying-in-the-edit?replies=21#post-3160564 The issue is on qtranslate_javascript.php line 225 Replace var waitForTinyMCE = window.setInterval(function() { if(typeof(tinyMCE) !== ‘undefined’ && typeof(tinyMCE.get2) == ‘function’ && tinyMCE.get2(‘content’)!=undefined) { content=jQuery(‘#content’).val(); tinyMCE.get2(‘content’).remove(); jQuery(‘#content’).val(content); window.clearInterval(waitForTinyMCE); } }, 250); WITH: Only change the 250 to 500 🙂 this should solve the problem… var … Read more