New answers tagged


I've fixed it by creating the following tiny plugin: <?php /* Plugin Name: Fix "Add Media" button in WordPress 4.5 Plugin URI: Description: The 4.5 update of WordPress changed to the most recent version of JQuery, which broke the Add Media button when you call wp_editor via the front end. This tiny plugin fixes it by ...


I suggest using keywords for them. so you would do something like [shortcode attr="single_quote double_quote"]test[/shortcode]. Then, while parsing the shortcode you can change them back.


After struggling with it, found the solution which works, in a callback after you add new element: tinymce.execCommand( 'mceAddEditor', true, ); Its strange that there is zero documentation inside codex.


After struggling with it, found the one line solution which works, in callback add: tinymce.execCommand( 'mceAddEditor', true, ); No idea why i couldnt find documentation inside tinymce.

Top 50 recent answers are included