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

HtmlEditorHtmlEditingSettings.AllowObjectAndEmbedElements Property

Gets or sets a value that specifies whether the editor’s HTML markup can contain the ‘object’ and ‘embed’ elements.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool AllowObjectAndEmbedElements { get; set; }

Property Value

Type Default Description
Boolean **false**

true if the ‘object’ and ‘embed’ elements are allowed in the editor’s content; false if the elements are automatically removed from the editor’s HTML markup.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowObjectAndEmbedElements
ASP.NET Controls and MVC Extensions ASPxHtmlEditor
.SettingsHtmlEditing .AllowObjectAndEmbedElements
ASP.NET MVC Extensions HtmlEditorBinderSettings
.HtmlEditingSettings .AllowObjectAndEmbedElements
HtmlEditorSettings
.SettingsHtmlEditing .AllowObjectAndEmbedElements
MVCxHtmlEditor
.SettingsHtmlEditing .AllowObjectAndEmbedElements
See Also