restored fixes and tweaks on blog mod
[elgg.git] / _tinymce / docs / option_convert_fonts_to_spans.html
blobd3fe95238cff4148753c2feacd06ebf6ae95c4ba
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Option: convert_fonts_to_spans</title>
5 <link href="css/screen.css" rel="stylesheet" type="text/css" />
6 </head>
7 <body>
9 <div class="header">
10 <h1>Option: convert_fonts_to_spans</h1>
11 </div>
13 <div class="content">
14 <p>If you set this option to true, all TinyMCE will convert all font elements to span elements and generate span elements instead of font elements. This option should be used inorder to get more W3C compatible code, since font elements are deprecated. How sizes gets converted can be controlled by the <a href="option_font_size_classes.html">font_size_classes</a> and <a href="option_font_size_style_values.html">font_size_style_values</a> options.</p>
15 <p>
16 More information about this subject can be found in this article: <a href="http://www.microsoft.com/typography/web/designer/face7.htm">What's wrong with FONT FACE</a>
17 </p>
18 <div class="separator"></div>
20 <h3>Example of usage of the convert_fonts_to_spans option:</h3>
21 <div class="example">
22 <pre>
23 tinyMCE.init({
24 ...
25 <strong>convert_fonts_to_spans : false</strong>
26 });
27 </pre>
28 </div>
29 </div>
31 <div class="footer">
32 <div class="helpindexlink"><a href="index.html">Index</a></div>
33 <div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
34 <br style="clear: both" />
35 </div>
37 </body>
38 </html>