JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
test/show-off how smart whitespace checking is
[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                 }
12                 iframe {
13                         width: 300px;
14                         height: 300px;
15                 }
16                 /* iframe { width: 400px; } */
17         </style>
18 </head>
19 <body>
20         <h1>Peach HTML5 Editor test page (compiled version)</h1>
21         <p>This version of the editor test page requires that you've compiled all the source files. (Just run <code>make</code>).</p>
22         <form action="#" method="get">
23         <p>HTML view. Changes here propagate when you remove your cursor (press tab or click outside)<br><textarea rows="9" cols="22" name="in" id="in">&lt;p&gt;  a b c d e f g h i j k l m n o p q r s t u v w x y z  a b c d e f g h i j k l m n o p q r s t u v w x y z                                                                a b c d e f g h i j k l m n o p q r s t u v w x y z  &lt;strong&gt;Bold &lt;em&gt; Italic + Bold&lt;/strong&gt; Italic &lt;/em&gt; Normal&lt;/p&gt;
24 &lt;p style="white-space: pre"&gt;    this  &amp;lt;p&amp;gt;  has    white-space: pre   &lt;/p&gt;
25
26 &lt;div&gt;
27         &lt;div&gt;I'm in a div&lt;/div&gt;
28         &lt;div&gt;I'm in a div&lt;/div&gt;
29 &lt;div&gt;
30 &lt;/div&gt;
31 &lt;/div&gt;
32         </textarea></p>
33         <p><input id="button" type="submit" value="loading..." disabled></p>
34         </form>
35         <script src="parser.js"></script>
36         <script src="editor.js"></script>
37         <script src="editor_tests.js"></script>
38         <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - AGPLv3+</p>
39 </body>
40 </html>