upgrading tinymce to 2.0.5.1
This commit is contained in:
parent
cb2a8d025e
commit
00d46f6148
342 changed files with 13043 additions and 11487 deletions
|
|
@ -12,9 +12,27 @@
|
|||
|
||||
<div class="content">
|
||||
<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>
|
||||
<p>
|
||||
<ul class="plist">
|
||||
<li><a href="#broken">TinyMCE is broken, what should I do?</a></li>
|
||||
<li><a href="#paths">Why is my paths incorrect, I want absolute/relative URLs?</a></li>
|
||||
<li><a href="#strip">Why does TinyMCE strip aways attributes or tags from my source?</a></li>
|
||||
<li><a href="#font">How do I change the default font size/face color of the editor?</a></li>
|
||||
<li><a href="#remove">How do I remove/add buttons/controls to TinyMCE?</a></li>
|
||||
<li><a href="#quotes">Why does my HTML output include lots of \" like <a href=\"mylink.htm\">link</a>?</a></li>
|
||||
<li><a href="#load">TinyMCE takes ages to load, is there a way to make it load quicker?</a></li>
|
||||
<li><a href="#hidden">TinyMCE stops working when placed in tabs or hidden divs?</a></li>
|
||||
<li><a href="#commercial">Can I use TinyMCE in my commercial application?</a></li>
|
||||
<li><a href="#commercial2">Are there any restrictions to using TinyMCE in my commercial application?</a></li>
|
||||
<li><a href="#lgpl">I don't like LGPL, is there a commercial license available for me?</a></li>
|
||||
<li><a href="#support">Do you provide support?</a></li>
|
||||
<li><a href="#who">Who made this software?</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="broken"></a>
|
||||
<h2>TinyMCE is broken, what should I do?</h2>
|
||||
<div class="section">
|
||||
<p>There are a few things you should check before posting questions about your problem at the forum or sourceforge.</p>
|
||||
|
|
@ -32,6 +50,63 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="paths"></a>
|
||||
<h2>Why is my paths incorrect, I want absolute/relative URLs?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
These are the diffrent configuration scenarios for URLs within TinyMCE:
|
||||
<table class="btable">
|
||||
<thead>
|
||||
<th>Output</th>
|
||||
<th>Config</th>
|
||||
<th>Description</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>http://www.site.com/path1/path2/file.htm</strong> will be converted to <strong>path2/file.htm</strong></td>
|
||||
<td nowrap="nowrap">
|
||||
<a href="option_relative_urls.html">relative_urls</a> : true,<br />
|
||||
<a href="option_document_base_url.html">document_base_url</a> : "http://www.site.com/path1/"<br />
|
||||
</td>
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>path2/file.htm</strong> will be converted to <strong>/path1/path2/file.htm</strong></td>
|
||||
<td nowrap="nowrap">
|
||||
<a href="option_relative_urls.html">relative_urls</a> : false,<br />
|
||||
<a href="option_remove_script_host.html">remove_script_host</a> : true,<br />
|
||||
<a href="option_document_base_url.html">document_base_url</a> : "http://www.site.com/path1/"<br />
|
||||
</td>
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>path2/file.htm</strong> will be converted to <strong>http://www.site.com/path1/path2/file.htm</strong></td>
|
||||
<td nowrap="nowrap">
|
||||
<a href="option_relative_urls.html">relative_urls</a> : false,<br />
|
||||
<a href="option_remove_script_host.html">remove_script_host</a> : false,<br />
|
||||
<a href="option_document_base_url.html">document_base_url</a> : "http://www.site.com/path1/"<br />
|
||||
</td>
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>path2/file.htm</strong> or <strong>http://www.site.com/path1/path2/file.htm</strong> will not be converted at all.</td>
|
||||
<td nowrap="nowrap">
|
||||
<a href="option_convert_urls.html">convert_urls</a> : false<br />
|
||||
</td>
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="strip"></a>
|
||||
<h2>Why does TinyMCE strip aways attributes or tags from my source?</h2>
|
||||
<div class="section">
|
||||
<p>You need to check out the "<a href="option_valid_elements.html">valid_elements</a>" and "<a href="option_extended_valid_elements.html">extended_valid_elements</a>" 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>
|
||||
|
|
@ -39,6 +114,7 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="font"></a>
|
||||
<h2>How do I change the default font size/face color of the editor?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
|
|
@ -48,6 +124,7 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="remove"></a>
|
||||
<h2>How do I remove/add buttons/controls to TinyMCE?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
|
|
@ -57,15 +134,7 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>TinyMCE changes the path of my images, why?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
Different browsers handles images differently, TinyMCE tries to compensate for this and has its own convert URL functions. You can control the behavior through the configuration, check out the URL section in the <a href="reference_configuration.html">configuration</a> options.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="quotes"></a>
|
||||
<h2>Why does my HTML output include lots of \" like <a href=\"mylink.htm\">link</a>?</h2>
|
||||
<div class="section">
|
||||
<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>
|
||||
|
|
@ -73,6 +142,7 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="load"></a>
|
||||
<h2>TinyMCE takes ages to load, is there a way to make it load quicker?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
|
|
@ -82,13 +152,7 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Can I use TinyMCE in my commercial application?</h2>
|
||||
<div class="section">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="hidden"></a>
|
||||
<h2>TinyMCE stops working when placed in tabs or hidden divs?</h2>
|
||||
<div class="section">
|
||||
<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: "<a href="option_auto_reset_designmode.html">auto_reset_designmode</a>".</p>
|
||||
|
|
@ -96,18 +160,28 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="commercial"></a>
|
||||
<h2>Can I use TinyMCE in my commercial application?</h2>
|
||||
<div class="section">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="commercial2"></a>
|
||||
<h2>Are there any restrictions to using TinyMCE in my commercial application?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
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. We also accept donations.
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="lgpl"></a>
|
||||
<h2>I don't like LGPL, is there a commercial license available for me?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
|
|
@ -117,6 +191,7 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="support"></a>
|
||||
<h2>Do you provide support?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
|
|
@ -126,6 +201,7 @@
|
|||
|
||||
<div class="separator"></div>
|
||||
|
||||
<a name="who"></a>
|
||||
<h2>Who made this software?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
|
|
@ -136,7 +212,7 @@
|
|||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue