Wordpress Admin: Adding css styles to Rich text editor drop down -


hey know how add own custom css classes wordpress admin rich text editor drop downs?

when editing post see drop downs format selected text paragraph, address or h3 tag. proper way add option "highlight" change selected text from:

selected text

to:

<span class="highlight">selected text</span> 

thanks!

if you're using wp3, try using following function in theme's functions.php file: http://codex.wordpress.org/function_reference/add_editor_style

more detailed instructions:

http://wordpress.org/support/topic/how-to-use-new-add_editor_style-function

related question: how use new add_editor_style() function in wordpress?


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -