tinymce editor

This commit is contained in:
JT Smith 2004-10-30 16:36:18 +00:00
parent 6ddb7c49e6
commit 9cffe191ac
655 changed files with 16255 additions and 22045 deletions

View file

@ -0,0 +1,41 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Creating language packs</TITLE>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY>
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
<tr>
<td><span class="title">Creating language packs</span></td>
<td align="right"><a href="index.htm">TOC</a></td>
</tr>
</table>
<hr noshade>
<br>
Language packs are simply JavaScript name/value arrays placed in the &quot;&lt;FN Code&gt;.js&quot;
files in the &quot;lang&quot; direcotry. Remember to allways use the &quot;lang_&quot;
prefix for these value names so that they don't override other variables in the
templates. The example below shows how the cut, copy and paste texts are lang packed. Notice there are two kinds of language packs one is the general one shared by all themes these are located in the &quot;jscripts/tiny_mce/langs&quot; directory the other optional one is theme specific language packs these are contained in &quot;jscripts/tiny_mce/themes/&lt;some theme&gt;/langs&quot;.<br>
<br>
<table border="0" cellspacing="3" cellpadding="2" class="sample">
<tr>
<td class="samplecontent">tinyMCELang['<font color="#CC0000">lang</font>_cut_desc']
= 'Cut (Ctrl+X)';<br>
tinyMCELang['<font color="#CC0000">lang</font>_copy_desc'] = 'Copy (Ctrl+C)';<br>
tinyMCELang['<font color="#CC0000">lang</font>_paste_desc'] = 'Paste (Ctrl+P)';</td>
</tr>
</table>
<hr noshade>
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter">
<tr>
<td>Go to: <a href="index.htm">Table of contents</a></td>
<td align="right"><a href="#">Top</a></td>
</tr>
</table>
<br>
</BODY>
</HTML>