Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Option: editor_deselector</title>
<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="header">
<h1>Option: editor_deselector</h1>
</div>
<div class="content">
<p>
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 "mceNoEditor" so if mceNoEditor is added to the class attribute of a textarea it will be excluded for convertion.
</p>
<div class="separator"></div>
<h3>Example of usage of the editor_deselector option:</h3>
<div class="example">
<pre>
tinyMCE.init({
...
<strong>editor_deselector : "mceNoEditor"</strong>
});
</pre>
</div>
<div class="separator"></div>
<h3>Example of usage in the HTML:</h3>
<div class="example">
<pre>
<textarea id="myarea1" class="<strong>mceNoEditor</strong>">This will be a NOT be a editor.</textarea>
<textarea id="myarea2">This will be a editor.</textarea>
</pre>
</div>
</div>
<div class="footer">
<div class="helpindexlink"><a href="index.html">Index</a></div>
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
<br style="clear: both" />
</div>
</body>
</html>