This element provides the HTML filter settings for use within Ephox EditLive! for Java.
<editLiveForJava>
<sourceEditor>
<editLiveForJava> ... <sourceEditor ... /> ... </editLiveForJava> |
Attribute | Description |
showBodyOnly | If set to true only the HTML between the body tags
will be shown in HTML View mode. HTML outside of the body (eg. style
information) will be maintained. Note: This attribute is a boolean and can only be true or false. Default Value: false |
The following example would ensure that only the content between the <BODY> tags was displayed.
<editLiveForJava>
...
<sourceEditor showBodyOnly="true"
/>
...
</editLiveForJava>
The <sourceEditor> element can appear only once within the <editLiveForJava> element.
The <sourceEditor> element must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. See the example below:
<sourceEditor showBodyOnly=... />
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.