Skip to main content
A newer version of this page is available. .

HtmlEditorSettings.SettingsPlaceholders Property

Provides access to placeholder settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public HtmlEditorPlaceholdersSettings SettingsPlaceholders { get; }

Property Value

Type Description
HtmlEditorPlaceholdersSettings

Placeholder settings.

Remarks

The following example illustrates how to specify custom characters for placeholders (Placeholders) instead of default curly braces {}:

@Html.DevExpress().HtmlEditor(
    settings => {
        settings.Name = "HtmlEditor";
        settings.SettingsPlaceholders.StartMark = "[";
        settings.SettingsPlaceholders.EndMark = "]";
    }
).Bind(Model.TemplateDocumentHtml).GetHtml()
See Also