JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
nother iframe, auto-generate css, fix typing, break scrolling
[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                 .peach_html5_editor {
13                         box-sizing: border-box;
14                         width: 300px;
15                         height: 300px;
16                         border: 0;
17                         margin: 10px 0;
18                         padding: 0;
19                 }
20         </style>
21 </head>
22 <body>
23         <h1>Peach HTML5 Editor test page (compiled version)</h1>
24         <p>This version of the editor test page requires that you've compiled all the source files. (Just run <code>make</code>).</p>
25         <form action="#" method="get">
26         <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;
27 &lt;p style="white-space: pre-wrap"&gt;this &amp;lt;p&amp;gt; has     white-space: pre-wrap&lt;/p&gt;
28
29 &lt;div&gt;
30         &lt;div&gt;I'm in a div&lt;/div&gt;
31         &lt;div&gt;I'm in a div&lt;/div&gt;
32 &lt;div&gt;
33 &lt;/div&gt;
34 &lt;/div&gt;
35         </textarea></p>
36         <p><input id="button" type="submit" value="loading..." disabled></p>
37         </form>
38         <script src="parser.js"></script>
39         <script src="editor.js"></script>
40         <script src="editor_tests.js"></script>
41         <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - AGPLv3+</p>
42 </body>
43 </html>