Edit Raw HTML

The ability to use custom HTML code is an advanced, pro-level ability of Sandvox. Because of the extent of HTML and the many ways in which HTML can be incorporated into a Sandvox site, Karelia does not attempt to provide its own HTML tutorial, nor can it provide specific troubleshooting advice related to an individual user's HTML code.

If you would like to explore the possibilities that using HTML in your Sandvox site presents and need some assistance, we encourage you to visit the following third party sites that specifically address HTML issues:

With Sandvox Pro you can edit the raw HTML of any text area.

To edit the raw HTML of a text area:

  1. Click the text to begin editing it.
  2. From the Edit menu select "Edit Raw HTML…"
  3. Edit the HTML in the window that appears. Changes are updated live in the Web View.

Restrictions

Images

Please avoid altering any <img> tags created by Sandvox.

Javascript

If your custom HTML contains only a script, you may not see the results of that script until you have loaded or reloaded the page. This is a limitation in Sandvox for now. You also may have trouble clicking on this block if there is no text to click on. A work-around is to click on a block of editable text "above" this, and then use the "tab" key to select the desired block. Then, choose "Edit Raw HTML..." from the Edit menu.

Scripting

You cannot use the "Edit Raw HTML" command to place scripting elements within the HTML. Instead, if you want to use PHP directives, etc. you should use a Raw HTML page or pagelet.

Customization

Sandvox allows you to customize the font used for HTML editing. The text is automatically colored by Sandvox from the HTML syntax.

To customize the HTML editing font:

  1. With an HTML editing window open, choose "Select All" from the Edit menu.
  2. Open the Font panel by choosing "Show Fonts" from the Format menu.
  3. Use the panel to set the typeface and size you desire.
  4. Close the Font panel.
How can we improve this page? Let us know.