root/releases/elgg0.8rc2/_tinymce/docs/faq.html

Revision 758, 10.8 kB (checked in by sven, 2 years ago)

set svn property eol-style native on some files without it

  • Property svn:eol-style set to native
Line 
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>Frequently Asked Questions</title>
5 <link href="css/screen.css" rel="stylesheet" type="text/css" />
6 </head>
7 <body>
8
9 <div class="header">
10         <h1>Frequently Asked Questions</h1>
11 </div>
12
13 <div class="content">
14         <p>Here are some common answers to common questions. If you need more help you can always visit the <a href="http://tinymce.moxiecode.com/">TinyMCE Forum</a> on the TinyMCE web site.</p>
15         <p>
16                 <ul class="plist">
17                         <li><a href="#broken">TinyMCE is broken, what should I do?</a></li>
18                         <li><a href="#paths">Why is my paths incorrect, I want absolute/relative URLs?</a></li>
19                         <li><a href="#strip">Why does TinyMCE strip aways attributes or tags from my source?</a></li>
20                         <li><a href="#font">How do I change the default font size/face color of the editor?</a></li>
21                         <li><a href="#remove">How do I remove/add buttons/controls to TinyMCE?</a></li>
22                         <li><a href="#quotes">Why does my HTML output include lots of \&quot; like &lt;a href=\&quot;mylink.htm\&quot;&gt;link&lt;/a&gt;?</a></li>
23                         <li><a href="#load">TinyMCE takes ages to load, is there a way to make it load quicker?</a></li>
24                         <li><a href="#hidden">TinyMCE stops working when placed in tabs or hidden divs?</a></li>
25                         <li><a href="#commercial">Can I use TinyMCE in my commercial application?</a></li>
26                         <li><a href="#commercial2">Are there any restrictions to using TinyMCE in my commercial application?</a></li>
27                         <li><a href="#lgpl">I don't like LGPL, is there a commercial license available for me?</a></li>
28                         <li><a href="#support">Do you provide support?</a></li>
29                         <li><a href="#who">Who made this software?</a></li>
30                 </ul>
31         </p>
32
33         <div class="separator"></div>
34
35         <a name="broken"></a>
36         <h2>TinyMCE is broken, what should I do?</h2>
37         <div class="section">
38                 <p>There are a few things you should check before posting questions about your problem at the forum or sourceforge.</p>
39                 <p>
40                         <ul>
41                                 <li>Does TinyMCE work on the <a href="http://tinymce.moxiecode.com/example_full.php?example=true">TinyMCE website</a>. Then you know that TinyMCE works with your browser.</li>
42                                 <li>Try to disable any other JavaScripts on the page, some scripts interfere with internal functions that TinyMCE uses. Those scripts are probably poorly written.</li>
43                                 <li>Check that you havn't missed removing the last , character in your initialization code and that all the other rows have a trailing , character.</li>
44                                 <li>Verify that the path/URL to TinyMCE is correct, you can use the excellent tool <a href="http://www.fiddlertool.com/fiddler/">Fiddler</a> for this and other HTTP debugging.</li>
45                                 <li>Do not cross domain load TinyMCE or any other script unless you really really must, since this will invoke various browser security features. In other words, try placing everything on the same server.</li>
46                                 <li>Don't place textareas within paragraph elements since this is not valid HTML and it will break MSIE and TinyMCE.</li>
47                         </ul>
48                 </p>
49         </div>
50
51         <div class="separator"></div>
52
53         <a name="paths"></a>
54         <h2>Why is my paths incorrect, I want absolute/relative URLs?</h2>
55         <div class="section">
56                 <p>
57                         These are the diffrent configuration scenarios for URLs within TinyMCE:
58                         <table class="btable">
59                                 <thead>
60                                         <th>Output</th>
61                                         <th>Config</th>
62                                         <th>Description</th>
63                                 </thead>
64                                 <tbody>
65                                         <tr>
66                                                 <td><strong>http://www.site.com/path1/path2/file.htm</strong> will be converted to <strong>path2/file.htm</strong></td>
67                                                 <td nowrap="nowrap">
68 <a href="option_relative_urls.html">relative_urls</a> : true,<br />
69 <a href="option_document_base_url.html">document_base_url</a> : &quot;http://www.site.com/path1/&quot;<br />
70 </td>
71                                                 <td>This will convert all URLs within the same domain to relative URLs.<br /> <strong>The URLs will be relative from the <a href="option_document_base_url.html">document_base_url</a></strong>.</td>
72                                         </tr>
73
74                                         <tr>
75                                                 <td><strong>path2/file.htm</strong> will be converted to <strong>/path1/path2/file.htm</strong></td>
76                                                 <td nowrap="nowrap">
77 <a href="option_relative_urls.html">relative_urls</a> : false,<br />
78 <a href="option_remove_script_host.html">remove_script_host</a> : true,<br />
79 <a href="option_document_base_url.html">document_base_url</a> : &quot;http://www.site.com/path1/&quot;<br />
80 </td>
81                                                 <td>This will convert all relative URLs to absolute URLs.<br /> <strong>The URLs will be absolute based on the <a href="option_document_base_url.html">document_base_url</a></strong>.</td>
82                                         </tr>
83
84                                         <tr>
85                                                 <td><strong>path2/file.htm</strong> will be converted to <strong>http://www.site.com/path1/path2/file.htm</strong></td>
86                                                 <td nowrap="nowrap">
87 <a href="option_relative_urls.html">relative_urls</a> : false,<br />
88 <a href="option_remove_script_host.html">remove_script_host</a> : false,<br />
89 <a href="option_document_base_url.html">document_base_url</a> : &quot;http://www.site.com/path1/&quot;<br />
90 </td>
91                                                 <td>This will convert all relative URLs to absolute URLs.<br /> <strong>The URLs will be absolute based on the <a href="option_document_base_url.html">document_base_url</a></strong>.</td>
92                                         </tr>
93
94                                         <tr>
95                                                 <td><strong>path2/file.htm</strong> or <strong>http://www.site.com/path1/path2/file.htm</strong> will not be converted at all.</td>
96                                                 <td nowrap="nowrap">
97 <a href="option_convert_urls.html">convert_urls</a> : false<br />
98 </td>
99                                                 <td>This option will preserve the URLs as they are in a separate attribute while editing, <strong>since browsers tend to auto convert URLs</strong>.</td>
100                                         </tr>
101
102                                 </tbody>
103                         </table>
104                 </p>
105         </div>
106
107         <div class="separator"></div>
108
109         <a name="strip"></a>
110         <h2>Why does TinyMCE strip aways attributes or tags from my source?</h2>
111         <div class="section">
112                 <p>You need to check out the &quot;<a href="option_valid_elements.html">valid_elements</a>&quot; and &quot;<a href="option_extended_valid_elements.html">extended_valid_elements</a>&quot; option in the configuration. By default, TinyMCE only allows certain tags and attributes. TinyMCE also tries to follow the XHTML specification as much as possible (and so should you), this can cause some unexpected source changes, there are however configuration options to battle this issue, study the configuration options in details.</p>
113         </div>
114
115         <div class="separator"></div>
116
117         <a name="font"></a>
118         <h2>How do I change the default font size/face color of the editor?</h2>
119         <div class="section">
120                 <p>
121                         We recommend that you have a look at the <a href="option_content_css.html">content_css</a> option, this enables you to switch the CSS file TinyMCE uses for it's editing area with a file with your CSS rules for font size and so forth.
122                 </p>
123         </div>
124
125         <div class="separator"></div>
126
127         <a name="remove"></a>
128         <h2>How do I remove/add buttons/controls to TinyMCE?</h2>
129         <div class="section">
130                 <p>
131                         There are quite a few options for this but a reference of all available buttons/control names can be found in the <a href="reference_buttons.html">button/control reference</a>.
132                 </p>
133         </div>
134
135         <div class="separator"></div>
136
137         <a name="quotes"></a>
138         <h2>Why does my HTML output include lots of \&quot; like &lt;a href=\&quot;mylink.htm\&quot;&gt;link&lt;/a&gt;?</h2>
139         <div class="section">
140                 <p>This is probably because you are using PHP and it has a feature that's called magic quotes that is enabled by default. You can read more about this at the <a href="http://se2.php.net/magic_quotes/">PHP website</a> or use the <a href="http://www.php.net/manual/en/function.stripslashes.php">stripslashes</a> function.</p>
141         </div>
142
143         <div class="separator"></div>
144
145         <a name="load"></a>
146         <h2>TinyMCE takes ages to load, is there a way to make it load quicker?</h2>
147         <div class="section">
148                 <p>
149                         If you use PHP on your server you can use tiny_mce_gzip.php instead of tiny_mce.js in page script call. This PHP file bundles all .js files together into two HTTP requests instead of one for each plugin, language file and theme and it also GZip compresses these files.
150                 </p>
151         </div>
152
153         <div class="separator"></div>
154
155         <a name="hidden"></a>
156         <h2>TinyMCE stops working when placed in tabs or hidden divs?</h2>
157         <div class="section">
158                 <p>Since Gecko based browsers Mozilla/Firefox has a bug where it looses designMode on iframes that are hidden a special option is needed that re-enables the design mode when reappearing after being hidden. Enable this option to resolve the issue: &quot;<a href="option_auto_reset_designmode.html">auto_reset_designmode</a>&quot;.</p>
159         </div>
160
161         <div class="separator"></div>
162
163         <a name="commercial"></a>
164         <h2>Can I use TinyMCE in my commercial application?</h2>
165         <div class="section">
166                 <p>Yes you can, the LGPL license is a Free Software License. You can read the whole license <a href="license.html">here</a> or visit Free Software Foundation web site <a href="http://www.fsf.org/" target="_blank">here</a></p>
167         </div>
168
169         <div class="separator"></div>
170
171         <a name="commercial2"></a>
172         <h2>Are there any restrictions to using TinyMCE in my commercial application?</h2>
173         <div class="section">
174                 <p>
175                         Yes, all copyright notices must be intact. Moxiecode Systems are still the copyright holders of the source code, so you can not use the code for other applications. Any modifications or add-ons you make to the source has to be contributes back to the TinyMCE community.
176                 </p>
177                 <p>
178                         If you start to make a lot of revenue from using TinyMCE, please remember the time and dedication that has been put into this by other developers, respect this and give credit to those who deserve it.
179                 </p>
180         </div>
181
182         <div class="separator"></div>
183
184         <a name="lgpl"></a>
185         <h2>I don't like LGPL, is there a commercial license available for me?</h2>
186         <div class="section">
187                 <p>
188                         Yes, we can draw up a license for you that enables you to remove copyright restrictions or anything else you would like to have in this license agreement. Contact us through email, sales (at) moxiecode (dot) com.
189                 </p>
190         </div>
191
192         <div class="separator"></div>
193
194         <a name="support"></a>
195         <h2>Do you provide support?</h2>
196         <div class="section">
197                 <p>
198                         We do not provide any non-commercial support outside the forum on the <a href="http://tinymce.moxiecode.com/">TinyMCE</a> web site. If you require commercial support, contact us by email, sales (at) moxiecode (dot) com.
199                 </p>
200         </div>
201
202         <div class="separator"></div>
203
204         <a name="who"></a>
205         <h2>Who made this software?</h2>
206         <div class="section">
207                 <p>
208                         The author of TinyMCE is <a href="http://www.moxiecode.com/" target="_blank">Moxiecode Systems</a>, parts of code has also been contributed by others, <a href="credits.html">here</a> are the credits list.
209                 </p>
210         </div>
211 </div>
212
213 <div class="footer">
214         <div class="helpindexlink"><a href="index.html">Index</a></div>
215         <div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
216         <br style="clear: both" />
217 </div>
218
219 </body>
220 </html>
Note: See TracBrowser for help on using the browser.