wordcount.html 189 B

123456789101112
  1. <style>
  2. body {
  3. width: 50vw;
  4. }
  5. </style>
  6. <h2>Test editor</h2>
  7. <button id="destroy-editor">Destroy editor</button>
  8. <div id="editor">
  9. Hello world.
  10. </div>
  11. <div id="words-container">
  12. </div>