<wysiwygEditor> Configuration Element

This element allows you to set options relating to the EditLive! for XML editing pane.

Configuration Element Tree Structure

<editLive>
  ...
  <wysiwygEditor>
    <!--wysiwygEditor settings-->
  <wysiwygEditor/>
  ...
</editLive>

Optional Attributes

tabPlacement

This attribute defines where the Design and Code view tabs are placed on the editor pane.

Default Value: top

Possible Values:

  • top - Places the tabs at the top of the editor pane.

  • bottom - Places the tabs at the bottom of the editor pane.

  • off - Removes the tabs from the editor.

showDocumentNavigator

This boolean attribute defines whether the Document Navigator toolbar is displayed in the interface. The document navigator displays the current location in the HTML structure to the user and enables them to easily select any element in the current path and the contents of the element.

Default Value: true

Possible Values:

This attribute is a boolean and can have the value of either true or false.

brOnEnter

This boolean attribute defines whether a <br> or <p> tag is inserted when the Enter key is pressed in an XHTML section. When set to true a <br> is inserted when Enter is pressed, when the Shift + Enter key combination is used a <p> tag is inserted. When set to false this behavior is reversed.

The default behavior for EditLive! for XML is to insert a <p> on Enter and a <br> on Shift + Enter. This is the same behavior as when this setting is set to false.

Default Value: false

Possible Values:

This attriubute is a boolean and can have the value of either true or false.

Child Elements

<xmlEditor>

This structure allows for the configuration of the user interface components of EditLive! for XML.

<customTags>

This structure allows for the configuraiton of settings related to EditLive! for XML's support of custom tags (both registered and unknown) in XHTML sections.

Example

The following example would display the Design and Code tabs on the bottom of the editor pane.

<editLive>
  ...
  <wysiwygEditor tabPlacement="bottom" />
  ...
</editLive> 

Remarks

The <wysiwygEditor> element can appear only once within the <editLive> element.

If the <wysiwygEditor> element is to be left blank the element must then be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. It should appear as below:

<wysiwygEditor tabPlacement=.../>