mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-11 09:11:05 +01:00
55 lines
1.4 KiB
HTML
55 lines
1.4 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Option: mode</title>
|
||
|
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<div class="header">
|
||
|
<h1>Option: mode</h1>
|
||
|
</div>
|
||
|
|
||
|
<div class="content">
|
||
|
<p>
|
||
|
This option specifies how elements is to be converted into TinyMCE WYSIWYG editor instances. This option can be set to any of the values below.
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
<h3>textareas</h3>
|
||
|
Converts all textarea elements to editors when the page loads.
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
<h3>specific_textareas</h3>
|
||
|
Converts all textarea elements with the a <a href="option_textarea_trigger.html">textarea_trigger</a> attribute set to "true".
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
<h3>exact</h3>
|
||
|
exact - Converts only explicit elements, these are listed in the <a href="option_elements.html">elements</a> option. These elements can be any kind for example textareas or divs.
|
||
|
</p>
|
||
|
|
||
|
<div class="separator"></div>
|
||
|
|
||
|
<h3>Example of usage of the mode option:</h3>
|
||
|
<div class="example">
|
||
|
<pre>
|
||
|
tinyMCE.init({
|
||
|
...
|
||
|
<strong>mode : "exact",</strong>
|
||
|
elements : "elm1,elm2"
|
||
|
});
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="footer">
|
||
|
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||
|
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||
|
<br style="clear: both" />
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|