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

4 posts, 0 answers
  1. Samir Patel
    Samir Patel avatar
    54 posts
    Member since:
    Jul 2009

    Posted 08 Aug 2011 Link to this post

    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
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 10 Aug 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Raymond
    Raymond avatar
    18 posts
    Member since:
    Dec 2012

    Posted 15 Jul 2014 Link to this post

    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
  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 17 Jul 2014 Link to this post

    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.

     
Back to Top