Created
July 19, 2012 08:28
-
-
Save floq-design/3141569 to your computer and use it in GitHub Desktop.
Change color options in TinyMCE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// change buttons in WYSWIG post editor, edit color palette | |
function change_mce_options( $init ) { | |
$init['theme_advanced_text_colors'] = 'bf2113,0f3a62,292929,000,FFF,d8d8d8,999'; | |
// $init['theme_advanced_more_colors'] = false; | |
return $init; | |
} | |
add_filter('tiny_mce_before_init', 'change_mce_options'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment