How does WordPress remember which editor is being used?
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
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/
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.
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
Go to Settings -> TinyMCE Advanced, and simply enable Advanced List Options.
It’s a simple solution/workaround, but a Shortcode could be used. As birgire noted, the whole anchor can be the Shortcode. And for ease of use, this article has a solution: adding a shortcode button in TinyMCE. You could have a dropdown with a selection of anchors, turning the fight in your favor 😉 WP editor … Read more
Looks as though Tiny MCE is not enqueued. Looks like it is loaded through the _WP_Editors class in class-wp-editor.php. There is a action hook in there called before_wp_tiny_mce where you can output a script with some localised variables… This is what I am going to do.
I think you should first enable i tags.Then you should enable class id or span whatever you like.To do so add this code. function add_mce_markup( $initArray ) { $ext=”i[id|name|class|style]”; if ( isset( $initArray[‘extended_valid_elements’] ) ) { $initArray[‘extended_valid_elements’] .= ‘,’ . $ext; } else { $initArray[‘extended_valid_elements’] = $ext; } return $initArray; } add_filter( ‘tiny_mce_before_init’, ‘add_mce_markup’ );
The “Text” editor is not an HTML editor. If you want to be able to edit raw HTML you will need to use some other editor, but that will probably limit your ability to use the visual editor for the content edited with it. The plugin you mentioned seems like good compromise. The other alternative … Read more