tinymce editor
This commit is contained in:
parent
6ddb7c49e6
commit
9cffe191ac
655 changed files with 16255 additions and 22045 deletions
39
www/extras/tinymce/examples/example_simple.htm
Normal file
39
www/extras/tinymce/examples/example_simple.htm
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<html>
|
||||
<head>
|
||||
<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"
|
||||
});
|
||||
</script>
|
||||
<!-- /tinyMCE -->
|
||||
|
||||
</head>
|
||||
<body>
|
||||
[Simple example] <a href="example_advanced.htm">[Advanced example]</a> <a href="example_mail.htm">[Mail example]</a>
|
||||
|
||||
<form>
|
||||
<h3>Simple example</h3>
|
||||
This page shows how to use TinyMCE on a HTML page in the most common and simple way. On this page each TEXTAREA
|
||||
element gets converted to a editor instance on page load. Notice how TinyMCE tries to match the width and height of the old text area elements. Read more about the features and settings of TinyMCE in the <a href="../docs/index.htm">manual</a>.<br><br>
|
||||
|
||||
<textarea id="elm1" name="elm1" rows="10" cols="40">
|
||||
Some <b>element</b>, this is to be editor 1.
|
||||
<p>Some paragraph. <a href="http://www.sourceforge.net">Some link</a></p>
|
||||
<img src="logo.jpg">
|
||||
</textarea>
|
||||
|
||||
<br><br>
|
||||
|
||||
<textarea id="elm2" name="elm2" rows="15" cols="32">
|
||||
Some <b>element</b>, this is to be editor 1.
|
||||
<p>Some paragraph. <a href="http://www.sourceforge.net">Some link</a></p>
|
||||
<img src="logo.jpg">
|
||||
</textarea>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue