See also: Text Editor

Overview

The HTML Editor is a dedicated window for editing HTML in a WYSIWYG environment. It makes it easier to edit HTML text. You can use the HTML Editor with any text property that allows HTML content.

The most convenient way to open the HTML Editor is to press [F7] when the text cursor is in a textbox.

When you are done editing, you can save the changes and close the HTML Editor by clicking the [OK] button.

Pasting from Word

The HTML Editor's Edit > Paste command (or [Ctrl]-V) removes unnecessary HTML elements that Microsoft Word adds to the text and this will usually produce much better results than copying the HTML some other way.

Editing the HTML

WYSIWYG editors for HTML are not as well-developed as similar editors for general word-processing use. For that reason, you may find it difficult to get the specific results you want in some circumstances. In those cases, you have two choices:

  • Use the Text Editor by pressing [Shift]+[F7] rather than [F7] to open the editor.
  • Use the HTML Editor, but adjust the HTML using the <> (View source) button in the HTML Editor.

If you use Second Site scripting statements, and you also use the <> (View source) button from within the HTML Editor, you may notice that the scripting statements have been changed from "<%= ... %>" to "&lt;%= ... %&gt;". This is deliberate; Second Site has to hide its script statements from the HTML Editor because the script statements are not valid HTML. Leave the script statements as they appear in the second example above.

Default to Text Editor

If you would prefer to always use the Text Editor, you can change the default editor for properties that can contain HTML using the File > Preferences > Set Default Editor command.

Limitations

Styles

Due to technical limitations, Second Site does not attempt to use the styles that accompany the site's chosen Theme, and so the content as shown in the HTML Editor will not match the actual output. The HTML will show the general structure of the content, including headings, paragraphs, bold and italic text, lists, tables, etc.

HTML Errors

If the source HTML contains errors, the HTML Editor may fail to show the content properly. In that case, you should use the Text Editor and correct the error.

On This Page