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.
Unfortunately, activation email could not send to your email. Please try again.

Spell Checker and Export functionalities in RichTextEditor MVC application

Thread ID:

Created:

Updated:

Platform:

Replies:

108850 May 15,2013 08:40 AM May 28,2013 08:52 AM ASP.NET MVC (Classic) 1
loading
Tags: Tools
viji
Asked On May 15, 2013 08:40 AM

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

 


Meena [Syncfusion]
Replied On May 28, 2013 08:52 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;