Tiny_MCE custom
-
Hi,
I’m using Members to custom permissions, and I’m happy about it. But I’ve a question.
I’ve also custom tinyMCE editor in my function.php
For example with :
if( !function_exists('base_extended_editor_mce_buttons') ){ function base_extended_editor_mce_buttons($buttons) { // The settings are returned in this array. Customize to suite your needs. /*return array( 'formatselect', 'bold', 'italic', 'sub', 'sup', 'bullist', 'numlist', 'link', 'unlink', 'blockquote', 'outdent', 'indent', 'charmap', 'removeformat', 'spellchecker', 'fullscreen', 'wp_more', 'wp_help','fontsizeselect' );*/ // WordPress Default return array( 'bold', 'italic', 'underline','strikethrough','bullist', 'numlist','justifyleft', 'justifycenter', 'justifyright', 'justifyfull','link', 'unlink' ); } add_filter("mce_buttons", "base_extended_editor_mce_buttons", 0); }It works with admin account, but not with editor account. How I can modify persmission to get this part in my editor account ?
Thanks a lot.
The topic ‘Tiny_MCE custom’ is closed to new replies.