restored fixes and tweaks on blog mod
[elgg.git] / _tinymce / docs / option_editor_deselector.html
blobbdaa498bc16f3d80b457fc9009f077dab07329b1
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: editor_deselector</title>
5 <link href="css/screen.css" rel="stylesheet" type="text/css" />
6 </head>
7 <body>
9 <div class="header">
10 <h1>Option: editor_deselector</h1>
11 </div>
13 <div class="content">
14 <p>
15 This option enables you to specify a CSS class name that will be deselect textareas from being converted into editor instances. If this option isn't set to a value this option will not have any effect and the <a href="option_mode.html">mode</a> option will choose textareas instead. The default value of this option is &quot;mceNoEditor&quot; so if mceNoEditor is added to the class attribute of a textarea it will be excluded for convertion.
16 </p>
18 <div class="separator"></div>
20 <h3>Example of usage of the editor_deselector option:</h3>
21 <div class="example">
22 <pre>
23 tinyMCE.init({
24 ...
25 <strong>editor_deselector : "mceNoEditor"</strong>
26 });
27 </pre>
28 </div>
30 <div class="separator"></div>
32 <h3>Example of usage in the HTML:</h3>
33 <div class="example">
34 <pre>
35 &lt;textarea id=&quot;myarea1&quot; class=&quot;<strong>mceNoEditor</strong>&quot;&gt;This will be a NOT be a editor.&lt;/textarea&gt;
37 &lt;textarea id=&quot;myarea2&quot;&gt;This will be a editor.&lt;/textarea&gt;
38 </pre>
39 </div>
40 </div>
42 <div class="footer">
43 <div class="helpindexlink"><a href="index.html">Index</a></div>
44 <div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
45 <br style="clear: both" />
46 </div>
48 </body>
49 </html>