Grégory Soutadé
0d05f8346b
Add an Apache sample configuration file Update README with better installation instructions
48 lines
2.4 KiB
HTML
Executable File
48 lines
2.4 KiB
HTML
Executable File
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Simple theme example</title>
|
|
|
|
<!-- TinyMCE -->
|
|
<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
|
|
<script type="text/javascript">
|
|
tinyMCE.init({
|
|
mode : "textareas",
|
|
theme : "simple"
|
|
});
|
|
</script>
|
|
<!-- /TinyMCE -->
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
|
|
<h3>Simple theme example</h3>
|
|
|
|
<p>
|
|
This page shows you the simple theme and it's core functionality you can extend it by changing the code use the advanced theme if you need to configure/add more buttons etc.
|
|
There are more examples on how to use TinyMCE in the <a href="http://tinymce.moxiecode.com/examples/">Wiki</a>.
|
|
</p>
|
|
|
|
<!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
|
|
<textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
|
|
<p>
|
|
This is some example text that you can edit inside the <strong>TinyMCE editor</strong>.
|
|
</p>
|
|
<p>
|
|
Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
|
|
</p>
|
|
</textarea>
|
|
|
|
<br />
|
|
<input type="submit" name="save" value="Submit" />
|
|
<input type="reset" name="reset" value="Reset" />
|
|
</form>
|
|
<script type="text/javascript">
|
|
if (document.location.protocol == 'file:') {
|
|
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|