How to enable pasting image from clipboard

4 posts, 0 answers
  1. Jan
    Jan avatar
    2 posts
    Member since:
    Sep 2013

    Posted 11 Sep 2013 Link to this post

    Hi,

    I would like to ask what I have to do to enable pasting image from clipboard as it works in the editor demo: (http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx). I have to use it in my web app and your editor is the main reason for buying Telerik components.

    Thank you for help,

    Honza
  2. Rumen
    Admin
    Rumen avatar
    14351 posts

    Posted 12 Sep 2013 Link to this post

    Hello Honza,

    The requested functionality of pasting images in RadEditor is supported in Firefox and Chrome only and it required the latest version of RadControls for ASP.NET AJAX (Telerik.Web.UI.dll).

    If you install Q2 2013 SP1 (version 2013.2.717) it will be automatically enabled and you and your users will be able to paste images in Chrome and Firefox in RadEditor.

    Internet Explorer still does not offer this functionality, but if the IE developers enable it in a future version of the browser, we will do our best to implement it shortly in RadEditor too.

    Kind regards,
    Rumen
    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 the blog feed now.
  3. Jan
    Jan avatar
    2 posts
    Member since:
    Sep 2013

    Posted 12 Sep 2013 Link to this post

    Hello Rumen,

     

    Thank you for your advice. May I ask another question?

    Is it possible to edit this pasted image with image editor or image manager? For example to crop it?

     

    Honza

  4. Rumen
    Admin
    Rumen avatar
    14351 posts

    Posted 12 Sep 2013 Link to this post

    Hello Honza,

    Since the pasted image from Word is a base64 string, but not a physical file available on the server, it is not possible to directly load it in the Image Manager and edit it with the Image Editor.

    What you can do is to create a custom dialog, in which you could convert the base64 string to a EditableImage and load it in the Image Editor. Once you edit the file, convert it back to a base64 string and insert it in the content area.

    If you would like to see such functionality available built-in in the Image Editor control, you can request it in the Ajax Ideas and Feedback portal.

    Best regards,
    Rumen
    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 the blog feed now.
Back to Top