This element provides the HTML filter settings for use within Ephox EditLive! for Java.
<editLiveForJava>
<htmlFilter>
<editLiveForJava> ... <htmlFilter ... /> ... </editLiveForJava> |
Attribute | Description |
wrapLength | Specifies the number of characters for each line. |
Attribute | Description |
characterEncoding | This Attribute has been Deprecated This option specifies the character encoding for EditLive! for Java. If left blank the default value will be used. Note: This attribute has two possible values; ascii or latin. Default Value: ascii This Attribute has been Deprecated |
indentContent | This option specifies that EditLive! for Java will indent
the content of appropriate tags, thus creating well formatted HTML source
code. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
logicalEmphasis | If set to true <B> tags will be replaced by
<STRONG> tags and <I> tags will be replaced by <EM>
tags. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
outputXHTML | If set to true output is created as XHTML. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
outputXML | If set to true output is created as XML. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
removeFontTags | If set to true EditLive! for Java will discard all
font tags. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
uppercaseAttributes | If set to true attributes will be in uppercase within the
source. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
uppercaseTags | If set to true tags will be in uppercase within the
source. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
quoteMarks | If set to true quotation marks (") will be
escaped and therefore appear as """. If left blank the default value will be used. Note: This attribute is a boolean and can only be true or false. Default Value: true |
The following example demonstrates how to set the various attributes of the <htmlFilter> element.
<editLiveForJava>
...
<htmlFilter wrapLength="68"
characterEncoding="ascii" indentContent="true"
logicalEmphasis="true" />
...
</editLiveForJava>
The <htmlFilter> element can appear only once within the <editLiveForJava> element.
The <htmlFilter> 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:
<htmlFilter wrapLength=... />
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.