Shift-Enter in tinyMCE (wp 3.3.1) not working

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.

wordpress qtranslate editor text is not working [closed]

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

Prevent the Editor From Moving My  

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

Localize variables with TinyMCE script

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.

Fontawesome icon vanishes in editor while switching text and visual mode

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’ );

Editor stripping out data attribute when saving

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

Can’t remove   generated by editor from database

Non-breaking spaces are often added because they are present in word processing docs and then copied into the WP editor. I find the easiest way to remove them from a single post, including any unwanted formatting that results from copying text from a Word doc, is to copy the text (in visual editor mode) where … Read more