JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
page to test editor html cleanup and serialization
[peach-html5-editor.git] / editor_tests_coffee.html
index 3e0a005..b1c00fc 100644 (file)
@@ -3,17 +3,26 @@
 <head>
        <meta charset="UTF-8">
        <link rel="icon" href="data:;base64,iVBORw0KGgo=">
-       <title>html parser tester</title>
+       <title>html editor tester</title>
+       <style>
+               textarea {
+                       box-sizing: border-box;
+                       width: 100%;
+               }
+       </style>
 </head>
 <body>
        <h1>WHEIC editor test page (CoffeeScript version)</h1>
        <p>This version of the test page compiles the CoffeeScript files in the browser. This is slower to load, but saves you having to rebuild as you work (or even install CoffeeScript).</p>
        <form action="#" method="get">
-       <p><textarea rows="9" cols="22" name="test_wysiwyg">&lt;p&gt;Normal &lt;strong&gt;Bold &lt;em&gt; Italic+Bold&lt;/strong&gt; Italic&lt;/em&gt; Normal&lt;/p&gt;</textarea></p>
+       <p>In:<br><textarea rows="9" cols="22" name="in" id="in">&lt;p&gt;Normal &lt;strong&gt;Bold &lt;em&gt; Italic+Bold&lt;/strong&gt; Italic&lt;/em&gt; Normal&lt;/p&gt;</textarea></p>
+       <p><input id="button" type="submit" value="loading..." disabled></p>
+       <p>Out:<br><textarea rows="9" cols="22" name="out" id="out" readonly></textarea></p>
                
        </form>
        <script src="parser.coffee" type="text/coffeescript"></script>
        <script src="editor.coffee" type="text/coffeescript"></script>
+       <script src="editor_tests.coffee" type="text/coffeescript"></script>
        <script src="coffee-script.js"></script>
 </body>
 </html>