Defines the fluent API for configuring the EditorSerializationSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorSerializationSettingsBuilder
Inheritance: objectEditorSerializationSettingsBuilder
Inherited Members
Constructors
public EditorSerializationSettingsBuilder(EditorSerializationSettings settings)
Methods
Defines custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.
Defines custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.
public EditorSerializationSettingsBuilder Custom(string handler)
The value that configures the custom action.
Returns:Indicates whether the characters outside the ASCII range will be encoded as HTML entities. By default, they are encoded.
public EditorSerializationSettingsBuilder Entities(bool value)
The value that configures the entities.
Returns:Indicates whether optizable tags (e.g. span and font elements with no attributes) should be removed from the DOM.
public EditorSerializationSettingsBuilder OptimizeTags(bool value)
The value that configures the optimizeTags.
Returns:Indicates whether inline scripts will be serialized and posted to the server.
public EditorSerializationSettingsBuilder Scripts(bool value)
The value that configures the scripts.
Returns: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. Default: true.
public EditorSerializationSettingsBuilder Semantic(bool value)
The value that configures the semantic.
Returns: