New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Disable browser spellcheck and curly red underlines in RadEditor content area

Environment

Product Version2019.3.917
ProductRadEditor for ASP.NET AJAX

Description

The misspelled words in the editor's content area get automatically highlighted with curly red underlines.

Solution

The curly red underline is a result of the browser spellchecker that can be disabled by using the spellcheck attribute.

We need to set the spellcheck attribute with a false value to the content area of RadEditor:

JavaScript
<telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad"></telerik:RadEditor>
<script>
    function OnClientLoad(sender, args) {
        sender.get_contentArea().setAttribute("spellcheck", "false");
    }
</script>
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support