<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TinyMCE Forum - how to change underline function to <u> ?]]></title>
		<link>http://www.tinymce.com/forum/viewtopic.php?id=12291</link>
		<description><![CDATA[The most recent posts in how to change underline function to <u> ?.]]></description>
		<lastBuildDate>Wed, 23 Nov 2011 08:28:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96629#p96629</link>
			<description><![CDATA[<div class="quotebox"><cite>jstrat wrote:</cite><blockquote><p>My friend I can also think other approaches.</p></blockquote></div><p>I don&#039;t doubt that. But you need a working solution. I gave you one.</p><div class="quotebox"><cite>jstrat wrote:</cite><blockquote><p>It seems however that it was not good to relay on this option, although it would be great when it becomes working.</p></blockquote></div><p>True.</p><div class="quotebox"><cite>jstrat wrote:</cite><blockquote><p>but please try to answer what someone asks</p></blockquote></div><p>Often the direct answer isn&#039;t really helpful. I try to help. Sometimes helping means to tell people that in my opinion they need to abandon their original plan. And since this is a free forum people are free to ignore my opinion.</p><div class="quotebox"><cite>jstrat wrote:</cite><blockquote><p>{here <a href="http://www.tinymce.com/forum/viewtopic.php?pid=76101#p76101">http://www.tinymce.com/forum/viewtopic. &#133; 101#p76101</a> MAIN DEVELOPER suggests to use it and says it has to be documented})</p></blockquote></div><p>I&#039;ve seen this post since I did follow your link in your previous post. If I remember correctly spocke&#039;s reply is over a year(!) old. And if I also remember correctly most of the documentation is generated automagically - apparently (for what reason?) just not this option. This makes me wonder...</p><p>So I gave you a viable alternative since you obviously need a working solution.</p><p>So, all considered, was I not helpful?</p>]]></description>
			<author><![CDATA[dummy@example.com (Felix Riesterer)]]></author>
			<pubDate>Wed, 23 Nov 2011 08:28:30 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96629#p96629</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96623#p96623</link>
			<description><![CDATA[<p>My friend I can also think other approaches. But for many reasons, I find it as the most &quot;suitable&quot; in my case.<br />It seems however that it was not good to relay on this option, although it would be great when it becomes working.</p><p>I solved my problem by using an alternative (span[style&lt;text-decoration: underline;]).<br />Your solution, is also a nice one, but it needs to change the underline format in order to work as i need, and i don&#039;t know if pasting from word (or generally pasting)would auto transform it to this format (&lt;span class=&quot;underline-class&quot;&gt;). <br />So because there is no time for test, i used my first option. Thanks a lot for the help, but please try to answer what someone asks (my main question was why is valid_styles not working {here <a href="http://www.tinymce.com/forum/viewtopic.php?pid=76101#p76101">http://www.tinymce.com/forum/viewtopic. &#133; 101#p76101</a> MAIN DEVELOPER suggests to use it and says it has to be documented})</p>]]></description>
			<author><![CDATA[dummy@example.com (jstrat)]]></author>
			<pubDate>Wed, 23 Nov 2011 02:49:27 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96623#p96623</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96570#p96570</link>
			<description><![CDATA[<div class="quotebox"><cite>jstrat wrote:</cite><blockquote><p>My approach would have worked, if valid_styles worked the way expected. And this is the main goal of valid_styles. To filter styles!!!</p></blockquote></div><p>Maybe this is the reason why it still hasn&#039;t been documented...?</p><p>I strongly suggest you rethink your approach. But you don&#039;t have to heed my advice of course.</p>]]></description>
			<author><![CDATA[dummy@example.com (Felix Riesterer)]]></author>
			<pubDate>Mon, 21 Nov 2011 22:51:08 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96570#p96570</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96545#p96545</link>
			<description><![CDATA[<p>http://www.tinymce.com/forum/viewtopic.php?pid=76101#p76101</p><p>From as far as you can see from this post, this option exists a lot time, but it has stayed undocumented for an unknown reason.<br />My approach would have worked, if valid_styles worked the way expected. And this is the main goal of valid_styles. To filter styles!!!</p>]]></description>
			<author><![CDATA[dummy@example.com (jstrat)]]></author>
			<pubDate>Sun, 20 Nov 2011 23:54:06 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96545#p96545</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96544#p96544</link>
			<description><![CDATA[<div class="quotebox"><cite>jstrat wrote:</cite><blockquote><p>I am not asking how to do something but, why something is not working.</p></blockquote></div><p>Maybe this is the first obstacle to finding a solution?</p><div class="quotebox"><cite>jstrat wrote:</cite><blockquote><p>valid_styles: {&quot;*&quot; : &quot;text-decoration&quot;}</p></blockquote></div><p>I&#039;m not familiar with this configuration option. The wiki <a href="http://www.tinymce.com/wiki.php/Configuration">doesn&#039;t list it</a>. I also couldn&#039;t find any plugin to provide such an option.</p><p>So what made you think your approach could work?</p>]]></description>
			<author><![CDATA[dummy@example.com (Felix Riesterer)]]></author>
			<pubDate>Sun, 20 Nov 2011 23:46:46 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96544#p96544</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96543#p96543</link>
			<description><![CDATA[<p>I am not asking how to do something but, why something is not working. This solution does not work for me as i dont want classes(Classes MUST be filtered). <br />A repeat: valid_elements: span[style]<br />This means that i can have a span element with the style attribute<br />valid_styles: {&quot;*&quot; : &quot;text-decoration&quot;}<br />This means that accepted style is only text-decoration for all elements (*)</p><p>So why this is not working as it should? <br />Thanks a lot for the quick answer but I hope the next will be more relevant to what I ask.</p>]]></description>
			<author><![CDATA[dummy@example.com (jstrat)]]></author>
			<pubDate>Sun, 20 Nov 2011 23:35:03 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96543#p96543</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96539#p96539</link>
			<description><![CDATA[<p>So you want stuff to look underlined? That may not be a good idea since people associate underlined content with clickable hyperlinks.</p><p>A solution to purely visual issues should use CSS. You either define a certain class (let&#039;s call it &quot;marked&quot;) as in these two examples:<br /></p><div class="codebox"><pre><code>&lt;p&gt;This is &lt;span class=&quot;marked&quot;&gt;marked content&lt;/span&gt; for better readability.&lt;/p&gt;
&lt;p class=&quot;marked&quot;&gt;Sometimes everything is so important that people simply must highlight it.&lt;/p&gt;</code></pre></div><p>Your CSS could then make use of this class name:<br /></p><div class="codebox"><pre><code>.marked { text-decoration: underline; }</code></pre></div><p>But this is all basic HTML/CSS knowledge. Why wouldn&#039;t you want a solution like this?</p>]]></description>
			<author><![CDATA[dummy@example.com (Felix Riesterer)]]></author>
			<pubDate>Sun, 20 Nov 2011 23:20:14 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96539#p96539</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=96538#p96538</link>
			<description><![CDATA[<p>i am very sorry, for bumping this thread. But: while trying to keep the standards and not use the unwanted U tag i had difficult time. <br />I am using these valid elements a[href|target],br,em/i,span[style],strong/b,li,ol,p,ul,u (i have tried other combinations also) and when i set valid_styles for (example this {&quot;*&quot;:&quot;text-decoration&quot;})<br />the underline refuses to work. Only solution is to remove the valid styles tag, which is not what I want, and what you suggest to do. Maybe is this a bug?<br />Can someone provide a working example of using underline as valid element, while using the valid_styles parameter?</p>]]></description>
			<author><![CDATA[dummy@example.com (jstrat)]]></author>
			<pubDate>Sun, 20 Nov 2011 23:05:37 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=96538#p96538</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=92579#p92579</link>
			<description><![CDATA[<div class="quotebox"><cite>TimmerCA wrote:</cite><blockquote><p>I would like to force my clients to use U and S tags rather than inline styles because I don&#039;t want them to have arbitrary control over the formatting of the page.</p></blockquote></div><p>Using deprecated elements is NOT the best way to go. Why not use special class names and do the rest using CSS?</p><div class="quotebox"><cite>TimmerCA wrote:</cite><blockquote><p>So, I have a post-processing filter that I use to strip out SPAN tags and many others.</p></blockquote></div><p>Why kill the messenger when you have a problem with the message? Removing &lt;span&gt; elements just because of an unwanted attribute is a little harsh, don&#039;t you think? Why not remove style attributes instead?</p><div class="quotebox"><cite>TimmerCA wrote:</cite><blockquote><p>Deprecated HTML tags are rarely ever remove from browsers.</p></blockquote></div><p>This is a very weak argument. Browsers parse tag soup. That is one thing. Having standards-compliant code is another.</p><div class="quotebox"><cite>TimmerCA wrote:</cite><blockquote><p>There should be a nice easy switch to turn on &quot;old&quot; semantic tags rather than inline styles.</p></blockquote></div><p>The deprecated tags are deprecated because they have nothing to do with semantics! So there is no &quot;old semantic tag&quot;! The tags in question (&lt;s&gt; and &lt;u&gt;) have the sole purpose of changing the visual representation. Other than that they carry no meaning, hence no semantics!</p><div class="quotebox"><cite>TimmerCA wrote:</cite><blockquote><p>I agree that being &quot;standards compliant&quot; is important, but so it being flexible.</p></blockquote></div><p>So, be flexible then! Think of more sophisticated ways to achieve your visual goal while still producing standards-compliant code!</p>]]></description>
			<author><![CDATA[dummy@example.com (Felix Riesterer)]]></author>
			<pubDate>Fri, 15 Jul 2011 22:34:06 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=92579#p92579</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=92578#p92578</link>
			<description><![CDATA[<div class="quotebox"><cite>spocke wrote:</cite><blockquote><p>Why? Either you should use modern tags or not. The only reason why someone should use the legacyoutput plugin is if there is compatibility issues with the HTML with rendering on Flash or in old mail clients.</p></blockquote></div><p>Actually, that&#039;s not at all true.</p><p>I would like to force my clients to use U and S tags rather than inline styles because I don&#039;t want them to have arbitrary control over the formatting of the page.&nbsp; I want them to be able to underline and strike-through text, but not set the font color or the font face, for example.&nbsp; So, I have a post-processing filter that I use to strip out SPAN tags and many others.</p><p>Deprecated HTML tags are rarely ever remove from browsers.&nbsp; There should be a nice easy switch to turn on &quot;old&quot; semantic tags rather than inline styles.&nbsp; I agree that being &quot;standards compliant&quot; is important, but so it being flexible.</p>]]></description>
			<author><![CDATA[dummy@example.com (TimmerCA)]]></author>
			<pubDate>Fri, 15 Jul 2011 22:22:37 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=92578#p92578</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=83100#p83100</link>
			<description><![CDATA[<p>Why? Either you should use modern tags or not. The only reason why someone should use the legacyoutput plugin is if there is compatibility issues with the HTML with rendering on Flash or in old mail clients.</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Mon, 22 Nov 2010 15:20:41 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=83100#p83100</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=83099#p83099</link>
			<description><![CDATA[<p>The Legacy Output plugin forces align attributes and font tags. I definitely do not want these. Just the &lt;u&gt;.</p>]]></description>
			<author><![CDATA[dummy@example.com (sfarthin)]]></author>
			<pubDate>Mon, 22 Nov 2010 15:10:32 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=83099#p83099</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=82865#p82865</link>
			<description><![CDATA[<p>Use the legacyoutput plugin if you want old and deprecated HTML.</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Mon, 15 Nov 2010 19:21:04 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=82865#p82865</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=82862#p82862</link>
			<description><![CDATA[<p>This will do it:</p><p>tinyMCE.init({<br />&nbsp; &nbsp; ...<br />&nbsp; &nbsp; formats : {<br />&nbsp; &nbsp; &nbsp; &nbsp; underline : {inline : &#039;u&#039;, exact : true}<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><p>...</p>]]></description>
			<author><![CDATA[dummy@example.com (sfarthin)]]></author>
			<pubDate>Mon, 15 Nov 2010 17:41:27 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=82862#p82862</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to change underline function to <u> ?]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=42262#p42262</link>
			<description><![CDATA[<p>hi zooey thx for the explanation i will test this</p>]]></description>
			<author><![CDATA[dummy@example.com (semigo)]]></author>
			<pubDate>Sat, 13 Sep 2008 10:48:37 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=42262#p42262</guid>
		</item>
	</channel>
</rss>
