updating tinymce to 1.41

This commit is contained in:
JT Smith 2005-02-12 14:55:11 +00:00
parent dc1721d1ef
commit bd48711603
125 changed files with 5524 additions and 3444 deletions

View file

@ -30,6 +30,10 @@ body {
color: #0000FF
}
.tablerow1 {
background-color: #BBBBBB;
}
td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;

View file

@ -7,7 +7,7 @@
<script language="javascript" type="text/javascript">
tinyMCE.init({
theme : "advanced",
//language : "se",
//language : "sv",
mode : "exact",
elements : "elm1,elm2",
//insertlink_callback : "customInsertLink",
@ -15,8 +15,10 @@
save_callback : "customSave",
content_css : "example_advanced.css",
extended_valid_elements : "a[href|target|name]",
plugins : "table",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
//invalid_elements : "a",
theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3", // Theme specific setting CSS classes
theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1", // Theme specific setting CSS classes
debug : false
});

View file

@ -0,0 +1,9 @@
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There flash movies will be displayed as a dropdown in all flash dialogs if the "flash_external_list_url"
// option is defined in TinyMCE init.
var tinyMCEFlashList = new Array(
// Name, URL
["Some Flash 1", "test1.swf"],
["Some Flash 2", "test2.swf"]
);

View file

@ -41,3 +41,7 @@ pre {
font-size: 12px;
color: #FF0000
}
.tablerow1 {
background-color: #BBBBBB;
}

View file

@ -1,5 +1,6 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../docs/style.css" rel="stylesheet" type="text/css">
<!-- tinyMCE -->
@ -8,11 +9,12 @@
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print",
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print",
theme_advanced_buttons1_add_before : "save,separator",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
@ -20,8 +22,17 @@
content_css : "example_full.css",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
external_link_list_url : "example_link_list.js",
external_image_list_url : "example_image_list.js",
flash_external_list_url : "example_flash_list.js",
file_browser_callback : "fileBrowserCallBack"
});
function fileBrowserCallBack(field_name, url, type) {
// This is where you insert your custom filebrowser logic
alert("Filebrowser callback: " + field_name + "," + url + "," + type);
}
</script>
<!-- /tinyMCE -->

View file

@ -0,0 +1,9 @@
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There images will be displayed as a dropdown in all image dialogs if the "external_link_image_url"
// option is defined in TinyMCE init.
var tinyMCEImageList = new Array(
// Name, URL
["Logo 1", "logo.jpg"],
["Lgog 2", "logo_over.jpg"]
);

View file

@ -0,0 +1,10 @@
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There links will be displayed as a dropdown in all link dialogs if the "external_link_list_url"
// option is defined in TinyMCE init.
var tinyMCELinkList = new Array(
// Name, URL
["Moxiecode", "http://www.moxiecode.com"],
["Freshmeat", "http://www.freshmeat.com"],
["Sourceforge", "http://www.sourceforge.com"]
);

View file

@ -9,7 +9,9 @@
theme : "advanced",
mode : "textareas",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,formatselect,fontselect,fontsizeselect,forecolor",
extended_valid_elements : "font[face|size|color]"
extended_valid_elements : "font[face|size|color]",
plugins : "table",
theme_advanced_buttons3_add_before : "tablecontrols,separator"
});
</script>
<!-- /tinyMCE -->