Understanding the JavaScript Editor module

Jun 7, 2014 8:02 pm

The JavaScript Editor makes it easier to insert, edit and manage JavaScript files on your site. With a color-coded editor that includes code validation, writing or editing JavaScript is easier than ever before.

JavaScript files managed in this module are saved to a /js folder in the root of the site.

For example, if the script file is named "page_scripts.js", you can use it in a page layout using the code:

<script src="js/page_scripts.js"></script>