Documentation

Quick start

1) Add a textarea. 2) Include editarea-loader.js. 3) Call editAreaLoader.init.

<textarea id="code">/* your code */</textarea>
<script src="/js/editarea-loader.js"></script>
<script>
  editAreaLoader.init({
    id: "code",
    syntax: "js",
    start_highlight: true,
    toolbar: "search, replace, go_to_line, fullscreen",
    allow_resize: "both",
    min_height: 320
  });
</script>

Configuration options

Notes

This site preserves legacy URLs used by old references and backlinks. The initializer pattern editAreaLoader.init is kept for compatibility while using a modern in-browser editor underneath.