annotate static/js/tinymce/examples/simple.html @ 203:075cc90f6f86

Update sizes on t-shirts.
author Brian Neal <bgneal@gmail.com>
date Mon, 15 Feb 2021 13:40:15 -0600
parents 966cde8635c0
children
rev   line source
bgneal@45 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bgneal@45 2 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@45 3 <head>
bgneal@45 4 <title>Simple theme example</title>
bgneal@45 5
bgneal@45 6 <!-- TinyMCE -->
bgneal@45 7 <script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
bgneal@45 8 <script type="text/javascript">
bgneal@45 9 tinyMCE.init({
bgneal@45 10 mode : "textareas",
bgneal@45 11 theme : "simple"
bgneal@45 12 });
bgneal@45 13 </script>
bgneal@45 14 <!-- /TinyMCE -->
bgneal@45 15
bgneal@45 16 </head>
bgneal@45 17 <body>
bgneal@45 18
bgneal@45 19 <form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
bgneal@45 20 <h3>Simple theme example</h3>
bgneal@45 21
bgneal@45 22 <p>
bgneal@45 23 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.
bgneal@45 24 There are more examples on how to use TinyMCE in the <a href="http://tinymce.moxiecode.com/examples/">Wiki</a>.
bgneal@45 25 </p>
bgneal@45 26
bgneal@45 27 <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
bgneal@45 28 <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
bgneal@45 29 &lt;p&gt;
bgneal@45 30 This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
bgneal@45 31 &lt;/p&gt;
bgneal@45 32 &lt;p&gt;
bgneal@45 33 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.
bgneal@45 34 &lt;/p&gt;
bgneal@45 35 </textarea>
bgneal@45 36
bgneal@45 37 <br />
bgneal@45 38 <input type="submit" name="save" value="Submit" />
bgneal@45 39 <input type="reset" name="reset" value="Reset" />
bgneal@45 40 </form>
bgneal@45 41 <script type="text/javascript">
bgneal@45 42 if (document.location.protocol == 'file:') {
bgneal@45 43 alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
bgneal@45 44 }
bgneal@45 45 </script>
bgneal@45 46 </body>
bgneal@45 47 </html>