You must be logged in as an Administrator level user in order to access this feature
How to access the HTML Editor
To access the HTML Editor, you will need to be logged in as an administrator-level user. Once logged in, navigate to a page with an "HTML Page" type Feature Module and select the Advanced Edit option, found above the top right section of the module (example picture below).
Notice the Advanced Edit HTML button in the top right Basic Tags contains exactly that, all the basic HTML tags that you'd need to get up and running with some content on a page. Below is a breakdown of each of the Tags offered, with both label and the matching HTML tag. Selecting one of these items will insert the desired tag (both opening and closing where applicable) at the cursor's current location within the editor.
Headings
Item Name
| HTML Tag
|
Heading 1
| <h1>
|
Heading 2
| <h2>
|
Heading 3
| <h3>
|
Heading 4
| <h4>
|
Heading 5
| <h5>
|
Heading 6
| <h6>
|
Content
Item Name
| HTML Tag
|
Paragraph
| <p>
|
Strong
| <strong>
|
Small
| <small>
|
Image
| <img>
|
Breaks
Item Name
| HTML Tag
|
Line Break
| <br>
|
Horizontal Break
| <hr>
|
HTML Templates
HTML Templates are pre-configured common templates to help you create boilerplate pages with minimal effort. Selecting one of these items will insert the desired HTML Template at the cursor's current location within the editor.
General
Padded Container
- <div class="container-fluid">
- <div class="container">
- <div class="row">
- <div class="col-12">
- <h1>Lorem ipsum.</h1>
- <hr>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </div>
- </div>
- </div>
- </div>
Full-Width Container
- <div class="container-fluid p-0 mt-5">
- <div class="row">
- <div class="col-12 p-0">
- <h1>Page Title</h1>
- <hr>
- <p>Paragraph of text.</p>
- </div>
- </div>
- </div>
50-50 Container
- <div class="row">
- <div class="col-12 col-md-6 p-0">
- <p>Left paragraph of text.</p>
- </div>
- <div class="col-12 col-md-6 p-0">
- <p>Right paragraph of text.</p>
- </div>
- </div>
Brochure
Single Brochure
- <div class="container-fluid">
- <div class="container">
- <div class="row">
- <div class="col-12">
- <h1>Brochure Title</h1>
- <hr>
- <p>Text</p><br><img class="w-100 mb-3" src="/images/brochures/filename.jpg" />
- </div>
- </div>
- </div>
- </div>
Double Brochure
- <div class="container-fluid">
- <div class="container">
- <div class="row">
- <div class="col-12">
- <h1>Brochure Title</h1>
- <hr>
- <p>Text</p><br>
- <div class="row">
- <div class="col-12 col-md-6"><img class="w-100 mb-3" src="/images/brochures/filename.jpg" /></div>
- <div class="col-12 col-md-6"><img class="w-100 mb-3" src="/images/brochures/filename.jpg" /></div>
- </div>
- </div>
- </div>
- </div>
- </div>
Triple Brochure
- <div class="container-fluid">
- <div class="container">
- <div class="row">
- <div class="col-12">
- <h1>Brochure Title</h1>
- <hr>
- <p>Text</p><br>
- <div class="row">
- <div class="col-12 col-md-4"><img class="w-100 mb-3" src="/images/brochures/filename.jpg" /></div>
- <div class="col-12 col-md-4"><img class="w-100 mb-3" src="/images/brochures/filename.jpg" /></div>
- <div class="col-12 col-md-4"><img class="w-100 mb-3" src="/images/brochures/filename.jpg" /></div>
- </div>
- </div>
- </div>
- </div>
- </div>
Placeholders
Small
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Medium
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Large
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Beautify Code
Code Beautifiers are commonly used tools designed to increase the readability of code. In code terms, this relates to the indentation of lines of codes, as well as their correct termination. Clicking the Beautify Code button will trigger this process, and reformat all code currently in the editor to make it as clean as possible. Below are two examples of code editors, one that hasn't been beautified (left), and one that has (right).
Code that hasn't be beautified
| Code that has been beautified
|
Temporary Back-up
The Temporary Back-up is a feature that allows you to store a copy of the editor's contents in the local storage of your browser. The most common use for this is before making a change you're unsure about, you can save the functional and original code, attempt the modification, then immediately roll-back should things not go to plan.
The stored contents are only available to load into the module that they were saved from. This means you cannot back-up an HTML module on one page, and restore the contents into another.
There are 3 slots available by default, with which you can perform 4 basic actions; Save, Load, Preview & Erase, all of which are detailed below.
Save
Selecting this option will commit all the contents of the editor to the browsers local storage. Once saved, the Empty message under the slot will change to the date and time that slot was saved to.
As it is local storage that is being used, you can only access saved contents from the machine on which they were saved. For example, if you edit a Page's HTML in the evening on your laptop and save a back-up, you won't see that back-up when accessing the site from your machine in the office the following day.
Load
Once a slot has been saved to, you can load the stored contents directly into the window you're currently editing.
This will overwrite the contents of the edit module once selected. The cleared contents can only be accessed via the undo function, so cannot be retrieved after leaving the editor.
Erase
Selecting Erase will clear the slot and all saved contents within permanently.
Options
Toggle Dark Mode
Selecting this option will change the editor's theme between the two pre-configured themes, allowing the user to select an option that reduces eye-strain.