This is a migrated thread and some comments may be shown as answers.

Image copy-paste functionality in RadEditor

4 Answers 226 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Savitha
Top achievements
Rank 1
Savitha asked on 20 May 2013, 10:02 AM
Hi,

We are using RadEditor to copy-paste the formatted text and it works fine.
Now the requirement is we should be able to copy-paste Image as well , How can we achieve this through RadEditor Control?
Please provide the solution at the earliest..

Thanks,
Savitha

4 Answers, 1 is accepted

Sort by
0
Boris
Top achievements
Rank 1
answered on 21 May 2013, 06:31 PM
Perhaps Telerik has a better (official) answer but in my experience, don't try.

Short version: You can actually do it, but only in Firefox, not Chrome or IE.  And there's other twitches but I forget.  It's been a few months since I tried.  I get the impression that this whole pasting images to browser controls is a work in progress.  

We're using the editor bound to LinqToSQL.  Not sure how it would behave with other data providers.

(In fact the reason I'm browsing the forums right now is trying to research problems we're having pasting Word formatted data to the editor.  Also a problem.)
0
Nikolay
Telerik team
answered on 23 May 2013, 08:12 AM
Hi guys,

Currently, it is possible to copy a single image from MS Word or from a local drive and paste it in RadEditor only in Firefox. It works by encoding the image into a base64 string format. This process is supported only when a single image is selected without additional content as shown in this videoChrome also supports the ability to copy a single image from Word in an editable iframe and we will enable it in RadEditor in the Q2 2013 release. You can also test it in the Q2 2013 beta release demo.

Unfortunately, Internet Explorer still does not support it. Once enabled by the browser developers, we will implement it in the RadEditor.

Regards,
Nikolay
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Sunny
Top achievements
Rank 1
answered on 18 Dec 2014, 12:38 PM
Hi Guys,

Is there any versions which supports multiple images now ?
Please I need to support from IE10+, chrome and firefox atleast.
0
Niko
Telerik team
answered on 22 Dec 2014, 02:13 PM
Hi,

Unfortunately browsers do not provide any API for extracting image content from Word content in the clipboard. Therefore this functionality is virtually impossible for the Editor control at the moment.

Nevertheless you can import whole Word documents from the server-side by taking advantage of our Telerik Document Processing Library. Please, check the following help article for more information on the topic - http://www.telerik.com/help/aspnet-ajax/editor-import-from-docx-and-rtf.html 

Hope this helps.

Regards,
Niko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Savitha
Top achievements
Rank 1
Answers by
Boris
Top achievements
Rank 1
Nikolay
Telerik team
Sunny
Top achievements
Rank 1
Niko
Telerik team
Share this question
or