New to Telerik UI for ASP.NET Core? Download free 30-day trial

EditorSerializationSettingsBuilder

Defines the fluent API for configuring EditorSerializationSettings

Methods

Custom(System.String)

Define custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Custom(System.Func)

Define custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Entities(System.Boolean)

Indicates whether the characters outside the ASCII range will be encoded as HTML entities. By default, they are encoded.

Parameters

value - System.Boolean

The value for Entities

OptimizeTags(System.Boolean)

Indicates whether optizable tags (e.g. span and font elements with no attributes) should be removed from the DOM.

Parameters

value - System.Boolean

The value that configures the optimizeTags.

Scripts(System.Boolean)

Indicates whether inline scripts will be serialized and posted to the server.

Parameters

value - System.Boolean

The value for Scripts

Scripts()

Indicates whether inline scripts will be serialized and posted to the server.

Semantic(System.Boolean)

Indicates whether the font styles will be saved as semantic (strong / em / span) tags, or as presentational (b / i / u / font) tags. Used for outputting content for legacy systems.

Parameters

value - System.Boolean

The value for Semantic

In this article
Not finding the help you need?