How do I add custom stylesheets to TinyMCE?
-
I have searched on numerous websites for a solution, but the method seems to change every WP release, and I couldn’t find one that works on the newest 2.8.4 release..
I already added the styleselect-dropdown menu to the TinyMCE editor by adding it to $mce_buttons_2 in wp-admin/includes/post.php however, I don’t know how to edit and add the styles that it offers me, which are:
alignleft
aligncenter
alignright
wp-caption
wp-caption-dd
wpgalleryHow can I edit this list to add my own class to be applied (and delete wp-caption etc.)?
- The topic ‘How do I add custom stylesheets to TinyMCE?’ is closed to new replies.