View editor-style.css
/* step 1: load this in editor-style.css in the theme folder */ | |
/* step 2: activate function "Create CSS classes menu" in tinymce advanced */ | |
/* this gets shown automatically in the formats dropdown */ | |
.MY-CUSTOM-CLASS { | |
background-color:red; | |
} |