5 <link rel="icon" href="data:null">
6 <title>Peach HTML5 Editor Demo</title>
7 <link rel="stylesheet" href="css.css">
10 box-sizing: border-box;
23 <h1>Peach HTML5 Editor Demo</h1>
24 <p>This color scheme is just temporary, for testing the cursor and annotations on a variaty of background colors</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 name="in" id="in">
27 <script>console.log("this code should not run in the editor")</script>
28 <!-- comments are preserved including whitespace -->
32 <H1 style="padding: 0; margin: 0 0 7px 0">Headline!</h1>
34 <div>SVG works: <svg style="display: inline-block; vertical-align: bottom"xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 55 55"><path d="M27.5 0l6.57 19.87 20.93.11-16.868 12.39 6.364 19.938L27.5 40.094 10.504 52.308l6.364-19.938L0 19.98l20.93-.11z" overflow="visible" fill-rule="evenodd"></path></svg></div>
36 <p> normal text that is hopefully long enough that it will wrap around
\rand
37 spill onto a second line.</p> <p >Text with lots of extra whitespace
41 in the original html and no closing p tag <p>normal paragraph</p>
42 <p>testing &lt;br&gt; e f<br>g <br> h i j <a href="http://example.com">Click me!</a> o p q r</p>
43 <div style="border: 2px solid #fab">
44 <p> y z <strong>Bold <em> Italic + Bold</strong> Italic </em> Normal</p>
45 <p style="white-space: pre-wrap">this &lt;p&gt; has white-space: pre-wrap</p>
47 <div style="color: black; background: white;">
48 <div>I'm in a div</div>
49 <div>I'm in another div</div>
56 <p> Above, there's a white div containing 3 divs. The third contains a div which contains just a non-breaking space (&amp;nbsp;)</p>
57 <p>final paragraph.</p>
60 <p><input id="button" type="submit" value="loading..." disabled></p>
62 <script src="parser.js"></script>
63 <script src="editor.js"></script>
64 <script src="demo.js"></script>
65 <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - <a href="https://gnu.org/licenses/agpl.html">AGPLv3+</a></p>