ASPxRichEditFieldsSettings.AllowedHyperlinkUriSchemes Property
In This Article
Specifies allowed URI schemes.
Namespace: DevExpress.Web.ASPxRichEdit
Assembly: DevExpress.Web.ASPxRichEdit.v24.2.dll
NuGet Package: DevExpress.Web.Office
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String[] | null | An array of allowed URI schemes. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Allowed |
---|---|
ASPx |
|
#Remarks
The Rich Edit component uses a list of allowed URI schemes to prohibit hyperlink URLs that may contain malicious code. This list checks a hyperlink’s URL when it is clicked. The link is opened if the URI scheme appears in the list. The default list contains the following schemes: http
, https
, mailto
, and tel
.
Assign the list of allowed URI schemes to the AllowedHyperlinkUriSchemes
property to change the default list:
html
<dx:ASPxRichEdit ID="DemoRichEdit" runat="server" Width="100%" Height="700px">
<Settings>
<Fields AllowedHyperlinkUriSchemes="http, https" />
</Settings>
</dx:ASPxRichEdit>
See Also