<!DOCTYPE html>
<html>
  <body>
    <a href="">test</a>
    <div id="editor" contenteditable="true">abc</div>
    <div style="height: 20000px;"></div>
  </body>
</html>