JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
chrome bugfix: cursor at end in pre-wrap
[peach-html5-editor.git] / editor_tests.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4         <meta charset="UTF-8">
5         <link rel="icon" href="data:;base64,iVBORw0KGgo=">
6         <title>html editor tester</title>
7         <style>
8                 textarea {
9                         box-sizing: border-box;
10                         width: 100%;
11                 }
12         </style>
13 </head>
14 <body>
15         <h1>Peach HTML5 Editor test page (partially compiled version)</h1>
16         <p>This version of the editor test page requires that you've compiled parser.js (to speed up page load) but it does compile editor.coffee and editor_tests.coffee in the browser so you don't have to rebuild them every time you make a change.</p>
17         <form action="#" method="get">
18         <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>
19         <p><input id="button" type="submit" value="loading..." disabled></p>
20         </form>
21         <script src="parser.js"></script>
22         <script src="editor.coffee" type="text/coffeescript"></script>
23         <script src="editor_tests.coffee" type="text/coffeescript"></script>
24         <script src="coffee-script.js"></script>
25         <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - AGPLv3+</p>
26 </body>
27 </html>