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

Rich Text Editor capabilities

Dear Syncfusion

I am trying out your Rich Text Editor (RTE) and after taking a look at the properties was wondering whether it supports the Rich Text Format documents that MS Word creates. For example:

1. Does it suppport embedded images?

2. I have a byte array of Rich Text Format data obtained from a database. Can I put the byte array into the RTE?

3. It seems more of an HTML/Text editor rather than a Rich Text Format editor. Is this a correct way to look at the RTE?

Thanks
Steve



1 Reply

MW Melba Winshia Syncfusion Team January 29, 2009 11:01 AM UTC

Hi Steve,

Thank you for your interest in Syncfusion Products,

1.Does it support embedded images?

You can insert images to RichTextEditor by using the Insert Image icon in the Toolbar. Please refer our online sample to get more details on this:

http://samples.syncfusion.com/ASPNET/7.1.0.21/Web/tools.web/samples/3.5/EditorsPackage/RichTextEditor/ImageUpload/CS/ImageUpload.aspx

But we do not provide support to copy and paste an image into RichTextEditor.

2. Can I put the byte array into the RTE?

Yes. You can put the byte array into RTE by using the below code:

//Byte array
byte[] data = System.Text.Encoding.ASCII.GetBytes("Syncfusion");

//Insert byte array into the RTE
this.RichTextEditor1.Html = System.Text.Encoding.ASCII.GetString(data);

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Tools.Web/7.1.0.21/F79202_RTE/Default.aspx

You can download the sample from the below link:

http://websamples.syncfusion.com/samples/Tools.Web/7.1.0.21/F79202_RTE/RTE.zip

Please try this and let me know if this helps.

Regards,
Melba





Loader.
Live Chat Icon For mobile
Up arrow icon