restored fixes and tweaks on blog mod
[elgg.git] / _tinymce / docs / plugin_noneditable.html
blob834ec329cb63822e3ac833c97665fca5301cdff1
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>Plugin: noneditable</title>
5 <link href="css/screen.css" rel="stylesheet" type="text/css" />
6 </head>
7 <body>
9 <div class="header">
10 <h1>Plugin: noneditable</h1>
11 </div>
13 <div class="content">
14 <p>Adds non editable elements support for MSIE and Mozilla/FF. Any element with the &quot;mceItemNonEditable&quot; class will be blocked from modifications and treated as a single character. This class name is configurable using the &quot;noneditable_noneditable_class&quot;. Any elements with the MSIE specific attribute &quot;contenteditable&quot; will be converted into classes instead.</p>
15 <h3>Initialization Example</h3>
16 <p>
17 <div class="example">
18 <pre>
19 tinyMCE.init({
20 theme : &quot;advanced&quot;,
21 mode : &quot;textareas&quot;,
22 plugins : &quot;<strong>noneditable</strong>&quot;,
23 noneditable_leave_contenteditable : true
24 });</pre>
25 </div>
26 </p>
28 <p>
29 <h3>Options</h3>
30 <table border="1" cellspacing="0" cellpadding="4">
31 <tr>
32 <td>[noneditable_editable_class]</td>
33 <td>Class name to be used for editable elements, this would be the the same as contenteditable=true, forcing a element to be editable. This option defaults to: &quot;mceItemEditable&quot;. Notice that classes with the mceItem prefix is invisible within TinyMCE.</td>
34 </tr>
35 <tr>
36 <td>[noneditable_noneditable_class]</td>
37 <td>Class name to be used for non editable elements, this would be the same as contenteditable=false. This option defaults to: &quot;mceItemNonEditable&quot;. Notice that classes with the mceItem prefix is invisible within TinyMCE.</td>
38 </tr>
39 <tr>
40 <td>[noneditable_leave_contenteditable]</td>
41 <td>If the value of this option is set to true, all contenteditable attributes will be left intact. This option is set to false by default, since this attribute is not a valid W3C attribute and the class approach is better.</td>
42 </tr>
43 </table>
44 </p>
45 </div>
47 <div class="footer">
48 <div class="helpindexlink"><a href="index.html">Index</a></div>
49 <div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
50 <br style="clear: both" />
51 </div>
53 </body>
54 </html>