JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
cursor hight fits text size
[peach-html5-editor.git] / editor_tests_compiled.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4         <meta charset="UTF-8">
5         <link rel="icon" href="data:null">
6         <title>html editor tester</title>
7         <style>
8                 textarea {
9                         box-sizing: border-box;
10                         width: 100%;
11                         height: 200px
12                 }
13                 /* optional */
14                 .peach_html5_editor {
15                         width: 500px;
16                         height: 500px;
17                         margin: 0 auto;
18                 }
19         </style>
20 </head>
21 <body>
22         <h1>Peach HTML5 Editor test page (compiled version)</h1>
23         <p>This version of the editor test page requires that you've compiled all the source files. (Just run <code>make</code>).</p>
24         <form action="#" method="get">
25         <p>HTML view. Changes here propagate when you remove your cursor (press tab or click outside)<br><textarea name="in" id="in">&lt;H1>Headline!&lt;/h1>&lt;p&gt;  a b c      
26         d e f&lt;br>g   &lt;br>  h i j <a href="http://example.com">Click me!</a> o p q r&lt;/p>
27         &lt;p> y z     &lt;strong&gt;Bold &lt;em&gt; Italic + Bold&lt;/strong&gt; Italic &lt;/em&gt; Normal&lt;/p&gt;
28 &lt;p style="white-space: pre-wrap"&gt;this &amp;lt;p&amp;gt; has     white-space: pre-wrap&lt;/p&gt;
29
30 &lt;div&gt;
31         &lt;div&gt;I'm in a div&lt;/div&gt;
32         &lt;div&gt;I'm in a div&lt;/div&gt;
33 &lt;div&gt;
34 &lt;div&gt;
35 &amp;nbsp;
36 &lt;/div&gt;
37 &lt;/div&gt;
38 &lt;/div&gt;
39         </textarea></p>
40         <p><input id="button" type="submit" value="loading..." disabled></p>
41         </form>
42         <script src="parser.js"></script>
43         <script src="editor.js"></script>
44         <script src="editor_tests.js"></script>
45         <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - AGPLv3+</p>
46 </body>
47 </html>