egroupware/phpgwapi/js/tinymce/examples/zh_cn/example_simple.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

45 lines
1.4 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",
language : "zh_cn",
content_css : "editor_content.css",
popups_css : "editor_popup.css",
editor_css : "editor_ui.css"
});
</script>
<!-- /tinyMCE -->
<title>简单示例</title></head>
<body>
[简单示例] <a href="example_advanced.htm">[高级示例]</a> <a href="example_mail.htm">[邮件示例]</a> <a href="example_full.htm">[全功能示例]</a>
<form>
<h3>简单示例</h3>
本页展示了在一个HTML页面中如何用最常用和最简单的方法来使用TinyMCE。在页面加载时所有TEXTAREA组件都被转换成编辑器的实例。<br>
注意TinyMCE是如何尽量匹配原文本域的宽度和高度的。欲了解TinyMCE更多的特征和设置请查看 <a href="../../docs/zh_cn/index.htm">手册</a><br>
<br>
<textarea id="elm1" name="elm1" rows="10" cols="40">
一些 <b>组件</b>, 这是1号编辑器。
<p>一些段落。 <a href="http://www.sourceforge.net">一些链接</a></p>
<img src="../logo.jpg">
</textarea>
<br><br>
<textarea id="elm2" name="elm2" rows="15" cols="32">
一些 <b>组件</b>, 这是2号编辑器。
<p>一些段落。 <a href="http://www.sourceforge.net">一些链接</a></p>
<img src="../logo.jpg">
</textarea>
</form>
</body>
</html>