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

Paste Image in Editor with Support for Word

1 Answer 245 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Raymond
Top achievements
Rank 1
Raymond asked on 06 Mar 2015, 02:25 AM
I am using the Editor and some of my users are pasting images rather than using the "Insert Image" option.  The Editor saves these images using the tag;

<img height="443" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEU.../>

This data is then saved to a database and I have provided the users with a Word template that connects to the database and inserts the text.  Unfortunately Word doesn't support images using the "data:image/png;base64" encoding so the images aren't displayed.

Other than instructing the users to use "Insert Image" rather than pasting them into the Editor (and ensuring they save the images to a location where all other users have access) is there any way to convert the image so it can be viewed in Word?

Thanks in advance...

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 09 Mar 2015, 12:28 PM

Hello Raymond,

This depends on the way you convert HTML to Word documents. This is out of scope of the supported functionality, since Kendo UI does not create the Word documents -- but you can see this SO thread for suggestions how to handle it.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Editor
Asked by
Raymond
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or