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

Underlining text?

Support forum for WYMeditor.

Underlining text?

Postby btaylordesign on Wed Jun 10, 2009 2:24 am

Hi everyone,

I'm new to WYM Editor from TinyMCE, and using it in conjunction with Django-CMS v2. I would like to provide users with a way to underline text. It could be a span tag with an inline style of 'text-decoration: underline' that wraps the selected text, or a span tag with a css class where I can define the underline style.

Either way, I just need a way to do this, and I'd appreciate some pointers.

TIA,
Brandon
btaylordesign
 
Posts: 1
Joined: Wed Jun 10, 2009 2:21 am

Re: Underlining text?

Postby mr_lundis on Wed Jun 10, 2009 10:27 pm

Hi Brandon, and welcome to the WYMeditor forum!
Underlining text is generally a bad idea unless you're inserting a link. But if you really need to underline some content (to emphasize it) I'd suggest you to simply add an underline to em's instead of inserting a span (as they have no semantic value at all.)

Cheers!
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests