Let me try and guess your solution here:
- Go to
http://fiddle.tinmce.com/
- Enter some text,
- do the underline thing, by Ctrl+S or whatever means
- observe the status bar
This is the new default markup
//e.g #1
<p><span style="text-decoration: underline;">test</span></p>
Yours might be totally different, say, the old school
//e.g #2
<p><u>test</u></p>
(apparently <u></u> is deprecated)
From what you describe, you have not allowed either or both of these elements[plus attributes] in your
valid_elements or
valid_children
If you have the default setting in your init chunk,
e.g # 1 will never work
valid_elements: "iframe[*],object[*],audio[*],-span[!title|!class<test test2],a[href|target|class|rel|title|data-ajax|data-iframe|onclick],strong,b,-p[class<text-align-left?text-align-center?text-align-right],br,-h1[class|data-ajax|data-iframe],-h2[class|data-ajax|data-iframe],-h3[class|data-ajax|data-iframe],-img[!src|!alt|!class=round_img|data-ajax|data-iframe],em,-blockquote,pre[class],-ol,-ul,-li,-code[class],hr[*]",
The code in bold, boldly strips down any span tag that have attributes not included here.
Change to
-span[*] or delete it altogether.
This idea goes for the
u tag
If the above solution don't work nothing, look into ya
valid_children
Cheers