<!DOCTYPE html>
<title>LDTR Demo</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="editor.css" />
<script type="module" src="editor.js"></script>
<section id="view">
</section>
<section id="edit">
  <textarea id="editor" rows="40" spellcheck="false"></textarea>
  <menu>
    <input id="url" size="48" />
    <button id="reload">🗘</button>
    <select id="typesel"></select>
  </menu>
  <div id="status"></div>
</section>
<button id="toggleedit">&nbsp;</button>

<!DOCTYPE html>
<html>
  <head>
    <title>LDTR Demo</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="editor.css" />
    <script type="module" src="editor.js"></script>
  </head>
  <body>
    <section id="view">
    </section>
    <section id="edit">
      <textarea id="editor" rows="40" spellcheck="false"></textarea>
      <menu>
        <input id="url" size="48" />
        <button id="reload">🗘</button>
        <select id="typesel"></select>
      </menu>
      <div id="status"></div>
    </section>
    <button id="toggleedit">&nbsp;</button>
  </body>
</html>

Use full HTML tree in demo page
Use full HTML tree in demo page
