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

Copy / paste option is not workign on Browser Firefox / chrome

4 Answers 490 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Samir Patel
Top achievements
Rank 1
Samir Patel asked on 08 Aug 2011, 07:58 AM
Hello,

I have used HTML Editor , and all teh feature of this Working absolutly fine on IE Browser...But when i open the same HTML Editor on Fire Fox / Chrome , and enter some text, select that text and try to Do COPY by using Icon / Do Right click and try to Do copy ...

Its showing Unnecessary message “Use Ctrl-C” get displayed on clicking Copy Icon...

Same Problem i am facing in the Past Control...


Please help me out on this...

Regards
Samir

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Aug 2011, 04:02 PM
Hello Samir,

This is a limitation of the Mozilla based browsers.

Please, note that to protect users' private information, unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in the Mozilla, Safari / Chrome and Opera rich text editor, so the corresponding buttons will not work. You can cut and paste content in Firefox, Safari /Chrome and Opera only using the Ctrl+X and Ctrl+V shortcut or the Paste from Word dialog.
You can also paste content from the browsers menu: Edit -> Paste.
More information is available in this help article: Cleaning Word Formatting.
The Cut, Copy and Paste commands could be executed by JavaScript code only under Internet Explorer.

Kind regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Raymond
Top achievements
Rank 1
answered on 15 Jul 2014, 06:29 PM
Hi,

I'm using the latest version (2014.2.618.45.)  I understand the limitation for cut/copy/paste in Firefox and Chrome.  But when I click the cut or copy button in Firefox or Chrome, it displays an alert instructing me to use the hot key.  Why does the paste button not do the same? 

The paste text/paste from word buttons both open a dialog...so I understand those don't need the alert.  But since the standard paste button doesn't work...it seems like it should display an alert like the cut/copy buttons. 

Note...this behavior can be duplicated on your editor demo (link is in the post above).

Thanks,

Ray
0
Ianko
Telerik team
answered on 17 Jul 2014, 12:02 PM
Hello Ray,

Thank you for noticing this behavior.

I can confirm that you are correct and this is not a designed behavior. It is a side effect from a bug fix.

I logged this issue for further fixing in our database. You can follow this feedback portal item to track updates on the task.

As appreciation for your report I am updating our Telerik points.

For the time being you can incorporate the flowing line of code to workaround the problem.
<telerik:RadEditor ID="RadEditor1" runat="server">
</telerik:RadEditor>
 
 <script type="text/javascript">
    Telerik.Web.UI.Editor.CommandList["Paste"] = Telerik.Web.UI.Editor.CommandList["Cut"];
</script>


Regards,
Ianko
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.

 
0
Pulaparthi
Top achievements
Rank 1
answered on 18 May 2017, 01:58 PM
Copy / Past  of Image & Content in Kendo Editor control is not working in Chrome ? any help !
Tags
Editor
Asked by
Samir Patel
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Raymond
Top achievements
Rank 1
Ianko
Telerik team
Pulaparthi
Top achievements
Rank 1
Share this question
or