Last Updated: 17 Jan 2022 15:25 by ADMIN
Created on: 14 Sep 2016 15:06
Category: Editor
Type: Bug Report
MS Edge pastes table as an image in Radeditor from Excel instead of html
When part of a table from MS Excel is copied and pasted into RadEditor under Edge, the RadEditor inserts an image instead of the html for the table. It inserts <img alt="" src="data:image/png;base64, ... " /> instead of the html.

Steps to reproduce:

Open in MS Edge.On the editor select the html and delete everything.
On the editor select design
Open any Excel file copy a couple of cells
Paste in the Editor
On the editor select html
Instead if html the there is an image tag
<img alt="" src="data:image/png;base64,iVBOR ... YII=" />

With firefox, IE 11 and Chrome the html is pasted. For MS Edge the Image tag is pasted.

<telerik:RadEditor runat="server" ID="RadEditor"></telerik:RadEditor>
    Telerik.Web.UI.Editor.Utils.containsHtmlAtClipboard = function(oEvent) {
        var result = oEvent && oEvent.clipboardData && oEvent.clipboardData.getData &&
            oEvent.clipboardData.types && oEvent.clipboardData.types.length &&
            Telerik.Web.UI.Editor.Utils.containsElement(/text\//i, oEvent.clipboardData.types);
        return result;
1 comment
Posted on: 17 Jan 2022 15:25

Not happening in Edge Chromium.