Set class on insert/edit link dialog

Permalink
Trying to figure out how to get CSS classes to show up in the insert/edit link dialog box (screenshot attached). By default nothing appears in that drop-down menu.

I can manually type in a class name on the "Advanced" tab, but it would be preferable to allow the user to select a class from a list (like with the typography styles).

Thanks for your help.

1 Attachment

platypusman
 
agedman replied on at Permalink Best Answer Reply
agedman
It should show up there if you make it a class in typography.css like this:
.big-blue-text {
font-size: larger; color: blue;
}

or this:

a.big-blue-text {
font-size: larger; color: blue;
}

It worked for me.
platypusman replied on at Permalink Reply 2 Attachments
platypusman
Thanks, I guess you're right -- thing is, in Firefox it doesn't work for some reason. Tried Safari and the classes show up in the menu as they should, Chrome works also.

I'm still using version 3.5 of Firefox (had problems with 3.6), maybe that has something to do with it -- I will see...
agedman replied on at Permalink Reply
agedman
Weird... I've only tried it using Firefox 3.6.8, but I wouldn't have thought there would be a problem with 3.5.
superwire replied on at Permalink Reply
superwire
Did anyone come across a solution to this anomoly? I have found that Firefox 5.3 doesnt show the classes either - but weirdly they do come up in Safari and other browsers..