Click or drag to resize
KaxEditorContentFilters Property
Gets or sets a value indicating which content filters will be active when the editor is loaded in the browser.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public EditorFilters ContentFilters { get; set; }

Property Value

Type: EditorFilters
The default value is EditorFilters.DefaultFilters.
Remarks

EditorFilters enum members

MemberDescription
RemoveScriptsThis filter removes script tags from the editor content. Disable the filter if you want to insert script tags in the content.
MakeUrlsAbsoluteThis filter makes all URLs in the editor content absolute (e.g. "http://server/page.html" instead of "page.html"). This filter is DISABLED by default.
FixUlBoldItalicThis filter changes the deprecated u tag to a span with CSS style.
IECleanAnchorsInternet Explorer only - This filter removes the current page url from all anchor(#) links to the same page.
FixEnclosingPThis filter removes a parent paragraph tag if the whole content is inside it.
MozEmStrongThis filter changes b to strong and i to em in Mozilla browsers.
ConvertFontToSpanThis filter changes deprecated font tags to compliant span tags.
ConvertToXhtmlThis filter converts the HTML from the editor content area to XHTML.
IndentHTMLContentThis filter indents the HTML content so it is more readable when you view the code.
OptimizeSpansThis filter tries to decrease the number of nested spans in the editor content.
ConvertCharactersToEntitiesThis filter converts reserved characters to their html entity names.
DefaultFiltersThe default editor behavior. All content filters except MakeUrlsAbsolute are activated.

See Also