JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
replace del key hack with one that uses backspace code
[peach-html5-editor.git] / editor_tests_coffee.html
index 3e0a005..74a1cc8 100644 (file)
@@ -3,17 +3,25 @@
 <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>
+       <h1>Peach HTML5 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>
        </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>
+       <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - AGPLv3+</p>
 </body>
 </html>