I'm integrating wymeditor into a CMS, and having trouble getting classes to apply to the inline tags strong and em. I have added the following styles to the stylesheet, and the class shows up in the "classes" list.
- Code: Select all
/* Author Name */
.name strong /* strong */ {
font-weight: bold;
/* background-color: green; */
}
/* Author Location */
.location em /* em */ {
font-style: italic; font-weight: bold;
/* background-color: yellow; */
}
When I position the cursor within a strong or em tag and click the appropriate class, nothing happens. I have checked the html view and the code is not being modified. I understand from reading the forums that this should be possible, but I haven't been able to get to work. I've tried on both 0.4 and 0.5pre1. I've been through the documentation but I didn't see an explicit example of classes applied to these tags, so I'm not sure whether I'm getting something wrong. Any pointers, either to an answer or to documentation I may have missed, would be helpful.
Thank you!
Will