more asset manager stuff

This commit is contained in:
JT Smith 2004-12-16 17:34:32 +00:00
parent 7ab8d9e43f
commit 4bc4974ecc
117 changed files with 2236 additions and 982 deletions

View file

@ -1,11 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Using/Integrating TinyMCE</TITLE>
<html>
<head>
<title>Using/Integrating TinyMCE</title>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>
</head>
<BODY>
<body>
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader">
<tr>
@ -162,7 +162,9 @@ optional and is not a requierd setting.<br>
table[border=0|cellspacing|cellpadding|width|height|class|align],tr[rowspan],<br>
td[colspan|rowspan|width|height],div[class|align],span[class|align],pre[class|align],<br>
address[class|align],h1[class|align],h2[class|align],h3[class|align],<br>
h4[class|align],h5[class|align],h6[class|align],hr&quot;</td>
h4[class|align],h5[class|align],h6[class|align],hr&quot;.<br>
<br>
Use *[*] to include all elements and all attributes this can be very useful when used with the invalid_elements option. </td>
</tr>
<tr>
<td><strong>[extended_valid_elements]</strong></td>
@ -207,7 +209,7 @@ optional and is not a requierd setting.<br>
This function gets the selected link url and target and should return a
array with &quot;href&quot;, &quot;target&quot; and &quot;title&quot; as collection names or
call the tinyMCE.insertLink on window.opener for compatiblity with Mozilla
if a new window was used. Function format: linkcallback(href, target, title).</td>
if a new window was used. Function format: linkcallback(href, target, title, action).</td>
</tr>
<tr>
<td><strong>[insertimage_callback]</strong></td>
@ -215,7 +217,8 @@ optional and is not a requierd setting.<br>
This function gets the selected image url and should return a array with
a collection names src and alt or call the tinyMCE.insertImage on window.opener
for compatiblity with Mozilla if a new window was used. Function format:
insertimage(src, alt).</td>
insertimage(src, alt, border, hspace, vspace, width, height, align, title,
onmouseover, onmouseout, action).</td>
</tr>
<tr>
<td><strong>[setupcontent_callback]</strong></td>
@ -325,6 +328,10 @@ optional and is not a requierd setting.<br>
<td><strong>[custom_undo_redo_levels]</strong></td>
<td>This option sets the maximum number of undo levels, there is no limit by default.</td>
</tr>
<tr>
<td><strong>[custom_undo_redo_keyboard_shortcuts]</strong></td>
<td>If enabled keyboard shortcuts for Ctrl+Z and Ctrl+Y is added to the editor. This option is enabled by default. </td>
</tr>
<tr>
<td><strong>[fix_content_duplication]</strong></td>
<td>This option enables a fix for the content duplication bug that appears in MSIE. This fix is enabled by default but can be disabled for compatiblity reasons. True/False option. </td>
@ -341,10 +348,26 @@ optional and is not a requierd setting.<br>
<td><strong>[cleanup_on_startup]</strong></td>
<td>If enabled contents of textareas and elements will be cleaned upon editor initialization. The default value for this option is false.</td>
</tr>
<tr>
<tr>
<td><strong>[inline_styles]</strong></td>
<td>If enabled attributes like width, height, vspace, hspace and align gets placed within the style attribute instead. The default value for this option is false. Remeber to enable the style attribute in valid elements when using this one. </td>
</tr>
<tr>
<td><strong>[convert_newlines_to_brs]</strong></td>
<td>If enabled all \n (new lines) will be converted to &lt;br /&gt; elements on loading, this option defaults to false. </td>
</tr>
<tr>
<td><strong>[auto_reset_designmode]</strong></td>
<td>Becurse there are bugs when showing/hiding a TinyMCE editor by using the style.display none/block method the designmode needs to be resetted, this option enabled this value to be auto resetted each time a area is focused, this option is disabled by default. </td>
</tr>
<tr>
<td><strong>[entities]</strong></td>
<td>Comma separated list of the entitiy lookup table used to convert char codes into names such as &amp;oring;. This list is in a odd, even format where odd values are the numbers to be converted and the even is the entity name that represents that number. For example: &quot;8205,zwj,8206,lrm,8207,rlm,173,shy&quot;.</td>
</tr>
<tr>
<td><strong>[cleanup_callback]</strong></td>
<td>Custom cleanup callback function, this enabled users to add custom cleanup logic to extend the build in one. This callback is called separatly from the default one, it doesn't replace the old one it just extends it. Check the <a href="themes.htm#cleanup">plugin cleanup</a> function for more details.</td>
</tr>
<tr bgcolor="#CCCCCC">
<td colspan="2"><strong>Advanced theme specific settings </strong></td>
</tr>
@ -368,7 +391,7 @@ optional and is not a requierd setting.<br>
justifyfull, styleselect, bullist, numlist, outdent, indent, undo,redo,
link, unlink, image, cleanup, help, code, table, row_before, row_after,
delete_row, separator, rowseparator, col_before, col_after, delete_col, hr, removeformat,
sub, sup, formatselect, fontselect, fontsizeselect, forecolor,charmap,visualaid</td>
sub, sup, formatselect, fontselect, fontsizeselect, forecolor,charmap,visualaid,spacer,cut,copy,paste</td>
</tr>
<tr>
<td><strong>[theme_advanced_buttons2]</strong></td>
@ -382,6 +405,10 @@ optional and is not a requierd setting.<br>
<td><strong>[theme_advanced_buttons&lt;N&gt;_add]</strong></td>
<td>Adds extra controls/buttons to the specified row (N). For example: theme_advaned_buttons3_add : &quot;iespell&quot;.</td>
</tr>
<tr>
<td><strong>[theme_advanced_buttons&lt;N&gt;_add_before]</strong></td>
<td>Adds extra controls/buttons to the specified row (N) before the default ones. For example: theme_advaned_buttons3_add_before : &quot;iespell&quot;.</td>
</tr>
<tr>
<td><strong>[theme_advanced_disable]</strong></td>
<td>Comma separated list of buttons/elements to be disabled for example &quot;formatselect&quot;.</td>
@ -422,13 +449,14 @@ Heres a example of a more complex initialization:<br>
TinyMCE has a global instance with some public functions that can be called from
the page.<br>
<hr noshade>
<strong>Syntax:</strong> tinyMCE.triggerSave();<br>
<strong>Syntax:</strong> tinyMCE.triggerSave([skip_cleanup]);<br>
<br>
<strong>Description: </strong>Makes a cleanup and moves the contents from the
editor to the form field. This method is automaticly called by tinyMCE by adding
a trigger on the forms submit method.<br>
<br>
<strong>Parameters:</strong> None<br>
<strong>Parameters:</strong><br>
[skip_cleanup] - Disables the cleanup process of trigger save. Defaults to false. (Optional)<br>
<br>
<strong>Returns:</strong> Nothing<br>
<hr noshade>
@ -549,9 +577,13 @@ Mozilla Midas spec.</a> But there are a some tinyMCE specific commands. <br>
<td><strong>mceToggleVisualAid</strong></td>
<td><p>Toggles visual aid/guidelines mode on/off.</p></td>
</tr>
<tr>
<tr>
<td><strong>mceAnchor</strong></td>
<td><p>Inserts a named anchor element, the value is the name of the anchor. </p>
<td><p>Inserts a named anchor element, the value is the name of the anchor. </p></td>
</tr>
<tr>
<td><strong>mceResetDesignMode</strong></td>
<td><p>Resets the designMode state of all editor instances, this command is useful on Firefox if the editor is placed in tabs or shown/hidden with style.display=&quot;none/block&quot;. Call this command after the editor displayed again. </p>
</td>
</tr>
</table>
@ -585,7 +617,7 @@ target - Target of the link.<br>
<strong>Returns:</strong> Nothing
<hr noshade>
<strong>Syntax:</strong> tinyMCE.insertImage(src, alt, border, hspace, vspace,
width, height, align);<br>
width, height, align, title, onmouseover, onmouseout);<br>
<br>
<strong>Description: </strong>This method inserts a image a the cursor position
of the selected editor instance or updates the selected image with new data. This
@ -601,6 +633,9 @@ vspace - Vertical spacing of image element.<br>
width - Width f image element.<br>
height - height f image element.<br>
align - Alignt of image element.<br>
title - Link title of image element.<br>
onmouseover - On mouse over event handler of image element.<br>
onmouseout - On mouse out event handler of image element.<br>
<br>
<strong>Returns:</strong> Nothing
<hr noshade>
@ -698,5 +733,5 @@ name - Name of window argument to get. <br>
</tr>
</table>
<br>
</BODY>
</HTML>
</body>
</html>