Page 1 of 1

Unable to add classes to inline tags (strong, em)

PostPosted: Mon Aug 04, 2008 8:03 pm
by wam

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!


Re: Unable to add classes to inline tags (strong, em)

PostPosted: Wed Aug 13, 2008 8:39 pm
by jfh
This feature isn't supported yet. Please create a ticket on the Trac, thanks.