We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Spell Checker and Export functionalities in RichTextEditor MVC application

Hi,

1. Is it possible to add custom tool bar items for Spell checker and Export functionalities in RichTextEditor MVC. 

2. Also please let me know the possibilities of changing the background color and font color in RichTextEditor MVC.

3. Can we achieve the same RichTextEditor in MVC, which you have shown in the following url : http://www.syncfusion.com/products/aspnet/rich-text-editor

4.  If possible, could you please share a sample mvc application with these functionalities.

 

Thanks,

Viji

 


1 Reply

ME Meena Syncfusion Team May 28, 2013 12:52 PM UTC

Hi Viji,

 

Thanks for contacting Syncfusion forums.

 

Query1: Is it possible to add custom tool bar items for Spell checker and Export functionalities in RichTextEditor MVC. 

 

Your requirement of adding custom tool bar items can be achieved using following code snippet,

 

<code>

@Html.Syncfusion().RichTextEditor("rich").Toolbar(tool =>

    tool.Template(

    @<div>

        <ul>

            <li id="Save" title="Save">

                @(Html.Syncfusion().Button("SaveButton").Text("SpellCheck").ClientSideOnClick("OnClick").Skin(Skins.Turquoise))

            </li>

            <li id="Li1" title="Send">

                @(Html.Syncfusion().Button("ExportButton").Text("Export").ClientSideOnClick("OnExportClick").Skin(Skins.Turquoise))

            </li>

        </ul>

    </div>

 ))

 

</code>

 

The above code will add two buttons “SpellCheck” and “Export” to the RTE toolbar and you need to add the spellcheck coding and export functionality code in the respective button click event.

 

<code>

<script type="text/javascript">

    function OnClick() {

       // code for spell check

    }

    function OnExportClick() {

       // code for exporting

    }

  

</script>

 

</code>

 

We have prepared simple sample with above solution and it is available in the below link.

 

Query2: Also please let me know the possibilities of changing the background color and font color in RichTextEditor MVC

 

Currently we do not have support for changing the fore color and back color in RTE. We have already logged a feature request report for this in our database and we will implement this feature in any of our upcoming releases.

 

Query3: Can we achieve the same RichTextEditor in MVC, which you have shown in the following url : http://www.syncfusion.com/products/aspnet/rich-text-editor

 

Currently we do not have built-in spell check support in RTE control. We have confirmed this as a feature and we have logged a feature request report for this in our database. This feature will be implemented in our upcoming releases.

 

Please let us know if you have any other concerns.

 

Regards,

Meena



RTE_AppendToCursor_dfb17ef5.zip

Loader.
Live Chat Icon For mobile
Up arrow icon