upgrading tinymce to 2.0.5.1
This commit is contained in:
parent
00d46f6148
commit
c012e8913d
35 changed files with 1224 additions and 0 deletions
38
www/extras/tinymce2/docs/option_accessibility_focus.html
Normal file
38
www/extras/tinymce2/docs/option_accessibility_focus.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: accessibility_focus</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: accessibility_focus</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If this option is set to true some accessibility focus will available to all buttons, you will be able to tab through them all. If you set this option to false, focus will be placed inside the text area when you tab through the interface.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the accessibility_focus option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>accessibility_focus : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
39
www/extras/tinymce2/docs/option_custom_shortcuts.html
Normal file
39
www/extras/tinymce2/docs/option_custom_shortcuts.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: custom_shortcuts</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: custom_shortcuts</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to disable/enable the custom keyboard shortcuts plugins and themes may register. The value of this
|
||||
option is set to true by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the custom_shortcuts option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>custom_shortcuts : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: custom_undo_redo_restore_selection</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: custom_undo_redo_restore_selection</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option gives you the possibility to turn on/off the restoration of the cursor/selection when a undo/redo event occurs. This option is enabled by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the custom_undo_redo_restore_selection option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>custom_undo_redo_restore_selection : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
69
www/extras/tinymce2/docs/option_execcommand_callback.html
Normal file
69
www/extras/tinymce2/docs/option_execcommand_callback.html
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: execcommand_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: execcommand_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option allows you to add a custom callback function for execCommand handling. This enables you to override internal
|
||||
command functions in TinyMCE. The example below shows how the mceLink and mceImage are overriden.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the execcommand_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomExecCommandHandler</strong>(editor_id, elm, command, user_interface, value) {
|
||||
var linkElm, imageElm, inst;
|
||||
|
||||
switch (command) {
|
||||
case "mceLink":
|
||||
inst = tinyMCE.getInstanceById(editor_id);
|
||||
linkElm = tinyMCE.getParentElement(inst.selection.getFocusElement(), "a");
|
||||
|
||||
if (linkElm)
|
||||
alert("Link dialog has been overriden. Found link href: " + tinyMCE.getAttrib(linkElm, "href"));
|
||||
else
|
||||
alert("Link dialog has been overriden.");
|
||||
|
||||
return true;
|
||||
|
||||
case "mceImage":
|
||||
inst = tinyMCE.getInstanceById(editor_id);
|
||||
imageElm = tinyMCE.getParentElement(inst.selection.getFocusElement(), "img");
|
||||
|
||||
if (imageElm)
|
||||
alert("Image dialog has been overriden. Found image src: " + tinyMCE.getAttrib(imageElm, "src"));
|
||||
else
|
||||
alert("Image dialog has been overriden.");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false; // Pass to next handler in chain
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>execcommand_callback : "myCustomExecCommandHandler"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
62
www/extras/tinymce2/docs/option_fix_list_elements.html
Normal file
62
www/extras/tinymce2/docs/option_fix_list_elements.html
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: fix_list_elements</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: fix_list_elements</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify that list elements UL/OL is to be converted to valid XHTML. This option is disabled by default.<br /><br />
|
||||
<div class="example">
|
||||
<pre>
|
||||
This invalid list:
|
||||
<ol>
|
||||
<li>a</li>
|
||||
<ol>
|
||||
<li>b</li>
|
||||
<li>c</li>
|
||||
</ol>
|
||||
<li>e</li>
|
||||
</ol>
|
||||
|
||||
Gets converted into this valid list:
|
||||
<ol>
|
||||
<li>a
|
||||
<ol>
|
||||
<li>b</li>
|
||||
<li>c</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>e</li>
|
||||
</ol>
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the fix_list_elements option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>fix_list_elements : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
63
www/extras/tinymce2/docs/option_fix_table_elements.html
Normal file
63
www/extras/tinymce2/docs/option_fix_table_elements.html
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: fix_table_elements</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: fix_table_elements</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify that list table elements should be moved outside paragraphs or other block elements. If you enable this option block elements will be split into two chunks when a table is found within it, see the example below for details. This option is disabled by default.<br /><br />
|
||||
<div class="example">
|
||||
<pre>
|
||||
This invalid table:
|
||||
<p>
|
||||
a
|
||||
<table>
|
||||
<tr><td>b</td></tr>
|
||||
<tr><td>c</td></tr>
|
||||
</table>
|
||||
d
|
||||
</p>
|
||||
|
||||
Gets converted into this valid XHTML:
|
||||
<p>
|
||||
a
|
||||
</p>
|
||||
<table>
|
||||
<tr><td>b</td></tr>
|
||||
<tr><td>c</td></tr>
|
||||
</table>
|
||||
<p>
|
||||
d
|
||||
</p>
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the fix_table_elements option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>fix_table_elements : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
46
www/extras/tinymce2/docs/option_handle_event_callback.html
Normal file
46
www/extras/tinymce2/docs/option_handle_event_callback.html
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: handle_event_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: handle_event_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a function name to be executed each time TinyMCE intercepts and handles a event such as keydown, mousedown and so forth. The format of this function is: handleEvent(event), where inst is the editor instance object reference. If the handle event function returns false it will terminate the internal event handling.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the handle_event_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
// Remember to enable the possibility to switch status messages in the browser before trying the example below
|
||||
|
||||
function <strong>myHandleEvent</strong>(e) {
|
||||
window.status = "event:" + e.type;
|
||||
|
||||
return true; // Continue handling
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>handle_event_callback : "myHandleEvent"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
42
www/extras/tinymce2/docs/option_onpageload.html
Normal file
42
www/extras/tinymce2/docs/option_onpageload.html
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: onpageload</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: onpageload</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify a function name to be executed when the page is loaded but before the TinyMCE instances are created.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the onpageload option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomOnPageLoad</strong>() {
|
||||
alert("We are nearly ready to rumble!!");
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>onpageload : "myCustomOnPageLoad"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
112
www/extras/tinymce2/docs/plugin_fullpage.html
Normal file
112
www/extras/tinymce2/docs/plugin_fullpage.html
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Plugin: fullpage</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Plugin: fullpage</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>This plugin adds fullpage editing support. This enables you to edit whole documents with both head and body.</p>
|
||||
|
||||
<h3>Installation Instructions</h3>
|
||||
<p>
|
||||
<ul>
|
||||
<li>Add plugin to TinyMCE plugin option list example: plugins : "fullpage".</li>
|
||||
<li>Add the fullpage button name to button list, example: theme_advanced_buttons3_add : "fullpage".</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h3>Options</h3>
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td>[fullpage_doctypes]</td>
|
||||
<td>This is a name/value list of possible document types. The value format of this option is name=value,name=value. These document types will be presented in the document type selection list. The default value of this option is: XHTML 1.0 Transitional=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,XHTML 1.0 Frameset=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">,XHTML 1.0 Strict=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">,XHTML 1.1=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">">,HTML 4.01 Transitional=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,HTML 4.01 Strict=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">,HTML 4.01 Frameset=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_fonts]</td>
|
||||
<td>This option enables you specify what font family style values that can be added to the body element. The value format of this option is name=value;name=value. The default value of this option is: Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_fontsizes]</td>
|
||||
<td>This is a comma separated list of possible font sizes for the style attribute of the body element. This option defaults to: 10px,11px,12px,13px,14px,15px,16px.</td>
|
||||
</tr>
|
||||
<!-- <tr>
|
||||
<td>[fullpage_media_types]</td>
|
||||
<td>This is a name/value list of possible media types. The default value of this option is: all=all,screen=screen,print=print,tty=tty,tv=tv,projection=projection,handheld=handheld,braille=braille,aural=aural.</td>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<td>[fullpage_encodings]</td>
|
||||
<td>This option enables you to specify what the document character encoding sets the user may select from. The default value of this option is: Western european (iso-8859-1)=iso-8859-1,Central European (iso-8859-2)=iso-8859-2,Unicode (UTF-8)=utf-8,Chinese traditional (Big5)=big5,Cyrillic (iso-8859-5)=iso-8859-5,Japanese (iso-2022-jp)=iso-2022-jp,Greek (iso-8859-7)=iso-8859-7,Korean (iso-2022-kr)=iso-2022-kr,ASCII (us-ascii)=us-ascii
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_doctype]</td>
|
||||
<td>This option enables you to specify the default doctype for the output HTML.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_encoding]</td>
|
||||
<td>This option enables you to specify the default encoding for the output HTML.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_title]</td>
|
||||
<td>This option enables you to specify the default title for the output HTML.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_font_size]</td>
|
||||
<td>This option enables you to specify the default font size for body element.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_font_family]</td>
|
||||
<td>This option enables you to specify the default font family for body element.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_text_color]</td>
|
||||
<td>This option enables you to specify the default text color for body element.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_langcode]</td>
|
||||
<td>This option enables you to specify the default langcode for the output HTML.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[fullpage_default_xml_pi]</td>
|
||||
<td>This option enables you to specify if a XML declaration should be added or not true/false option.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
<h3>Initialization Example</h3>
|
||||
</p>
|
||||
<p>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "<strong>fullpage</strong>",
|
||||
theme_advanced_buttons3_add : "<strong>fullpage</strong>",
|
||||
fullpage_fontsizes : '13px,14px,15px,18pt,xx-large',
|
||||
fullpage_default_xml_pi : false,
|
||||
fullpage_default_langcode : 'en',
|
||||
fullpage_default_title : "My document title"
|
||||
});</pre>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
64
www/extras/tinymce2/docs/plugin_spellchecker.html
Normal file
64
www/extras/tinymce2/docs/plugin_spellchecker.html
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Plugin: spellchecker</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Plugin: spellchecker</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>This plugin adds spellchecker functionality to TinyMCE by providing a new button that performs a AJAX call to a backend PHP page that uses pspell.</p>
|
||||
<h3>Installation Instructions</h3>
|
||||
<p>
|
||||
<ol>
|
||||
<li>Download the spellchecker plugin from the <a href="http://tinymce.moxiecode.com/download.php">TinyMCE website</a>.</li>
|
||||
<li>Copy the spellchecker directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).</li>
|
||||
<li>Add plugin to TinyMCE plugin option list example: plugins : "spellchecker".</li>
|
||||
<li>Add the button name to button list, example: theme_advanced_buttons3_add : "spellchecker".</li>
|
||||
</ol>
|
||||
</p>
|
||||
<h3>Initialization Example</h3>
|
||||
<p>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "spellchecker",
|
||||
theme_advanced_buttons3_add : "spellchecker",
|
||||
spellchecker_languages : "+English=en,Swedish=sv",
|
||||
spellchecker_word_separator_chars : "\\s!\"#$%&()*+,-./:;<=>?@[\]ˆ_{|}§©«®±¶·¸»¼½¾¿×÷¤\u201d\u201c"
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
<p>
|
||||
<h3>Options</h3>
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td>[spellchecker_languages]</td>
|
||||
<td>Enables you to specify what languages your pspell installation can handle. The value of this option should be a comma separated name value list in the following format name1=value1,name2=value,name3=value where name is the string to present in the menu and the value is a ISO language code like sv or en. If you add a + character infront of the name it will be the default value for the spellchecker. The default value for this option is: +English=en.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[spellchecker_word_separator_chars]</td>
|
||||
<td>This option enables you to specify the word separator characters. The default value for this option is: \\s!"#$%&()*+,-./:;<=>?@[\]^_{|}§©«®±¶·¸»¼½¾¿×÷¤\u201d\u201c.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue