egroupware/phpgwapi/js/tinymce/examples/zh_cn/example_full.htm
Pim Snel 17710c20ab Add TineMCE, the future htmlArea Replacement. A clean WYSIWYG editor
see tinymce.moxiecode.com/ for more info
2005-06-21 13:02:36 +00:00

57 lines
2.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../docs/style.css" rel="stylesheet" type="text/css">
<!-- tinyMCE -->
<script language="javascript" type="text/javascript" src="../../jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
language : "zh_cn",
content_css : "example_full.css",
popups_css : "editor_popup.css",
editor_css : "editor_ui.css",
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",
theme_advanced_path_location : "bottom",
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]"
});
</script>
<!-- /tinyMCE -->
<title>全功能示例</title></head>
<body>
<a href="example_simple.htm">[简单示例]</a> <a href="example_advanced.htm">[高级示例]</a> <a href="example_mail.htm">[邮件示例]</a> [全功能示例]
<form method="post" action="http://tinymce.moxiecode.com/examples/zh_cn/dump.php">
<h3>全功能示例</h3>
此页面包含了TinyMCE发行版中所有可用插件。其中一些由于在FireFox中缺少支持而只能在MSIE中可见。欲了解TinyMCE各种选项的更多细节请查看 <a href="../../docs/zh_cn/index.htm">手册</a>。对于第三方插件,请查看 <a href="../../docs/zh_cn/themes.htm">插件</a> 章节。<br>
<br>
<textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 100%">
Some <strong>element</strong>, this is to be editor 1.
<p>Some paragraph. <a title="Some popup link title" href="#" target="http://tinymce.moxiecode.com" onclick="window.open('http://www.sourceforge.net/','popup','left='+(screen.availWidth/2-320)+',top='+(screen.availHeight/2-240)+',width=640,height=480,resizable=yes');return false;">Some popup link</a></p>
<img width="250" height="48" border="0" onmouseover="this.src='../logo_over.jpg';" onmouseout="this.src='../logo.jpg';" src="../logo.jpg" />
</textarea>
<br />
<input type="submit" name="save" value="提交" />
<input type="reset" name="reset" value="重置" />
</form>
</body>
</html>