EditorSerializationSettingsTagHelper

Example

Razor
<serialization/>

Attributes

AttributeTypeDescription
customStringDefine custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.
entitiesBooleanIndicates whether the characters outside the ASCII range will be encoded as HTML entities. By default, they are encoded.
optimize-tagsBooleanIndicates whether optizable tags should be removed from the DOM. Currently, optimizable tags are span and font elements with no attributes and no decoration or formatting applied (via inline styles/attributes).
scriptsBooleanIndicates whether inline scripts will be serialized and posted to the server.
semanticBooleanIndicates 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.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support