HtmlEditorSettings.SettingsPlaceholders Property
Provides access to placeholder settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
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