Forum closed. New forum available at http://community.wymeditor.org/

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

Support forum for WYMeditor.

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

Postby wam on Mon Aug 04, 2008 8:03 pm

Hi,

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
wam
 
Posts: 1
Joined: Mon Aug 04, 2008 7:42 pm

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

Postby jfh on Wed Aug 13, 2008 8:39 pm

This feature isn't supported yet. Please create a ticket on the Trac, thanks.
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron