Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 24875

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL. TinyMCE has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.

14
votes
We start by adding the custom TinyMCE Button: function add_mce_button_custom_em() { // check user permissions if ( !current_user_can( 'edit_posts' ) && !current_user_can( 'edit_pages … found at Content Formatting) we want to display. Obviously, if you have UX in mind, you would only display a few of them, example: // TinyMCE: TinyMCE choose which buttons you want to display function …
answered Jul 22 '16 by Christine Cooper
1
vote
Solved it. So, in order to move the default buttons from first row to second row, we will need to hook into the mce_buttons filter: function move_mce_buttons_to_top($buttons) { $buttons[] …
answered Dec 3 '13 by Christine Cooper
1
vote
One solution is to hook into wp_insert_post_data and do some regex magic to replace all instances of & with &: // when saving posts, replace & with & function cc_wpse_264548_unamp( $data ) { …
answered Apr 26 '17 by Christine Cooper
192
votes
TinyMCE emojis add_filter( 'tiny_mce_plugins', 'disable_emojicons_tinymce' ); } add_action( 'init', 'disable_wp_emojicons' ); We will need the following filter function to disable TinyMCE emojicons …
answered Apr 27 '15 by Christine Cooper
7
votes
Figured it out, hooking into content_save_pre: function remove_empty_lines( $content ){ // replace empty lines $content = preg_replace("/ /", "", $content); return $content; } add_action …
answered Mar 12 '14 by Christine Cooper
5
votes
Best solution for what you want to accomplish which is essentially to make the next page feature more user friendly for your authors is to add a TinyMCE button that will do this for you. This may be … ')); add_filter( 'tiny_mce_version', array(&$this,'refresh_mce_version')); } /* * create the buttons only if the user has editing privs. * If so we create the button and add it to the tinymce button …
answered Dec 22 '12 by Christine Cooper