Image drag handles in IE8

2 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    375 posts
    Member since:
    Feb 2007

    Posted 03 Jun 2010 Link to this post


    In IE8 the image drag handles are visible above the Apply Style dropdown.
    In FF this is not the case.

    Howto handle this?

  2. Rumen
    Rumen avatar
    13202 posts

    Posted 03 Jun 2010 Link to this post

    Hi Marc,

    The observed behavior and the images handlers are entirely controlled by the browser and they could not be controlled and hidden by javascript code - you can easily reproduce the same behavior in an editable IFRAME / DIV element as well as in our competitors' editors.

    You can try to avoid this browser behavior by disabling the image resize handlers by applying unselectable=on to all images in the content area.

    <script type="text/javascript"> 
    function OnClientLoad(editor, args)      
        var images = editor.get_document().getElementsByTagName("IMG"); 
        for (i=0;i<images.length;i++) 
            var image = images[i]; 
        editor.attachEventHandler("oncontrolselect", function()      
            //Check if image      
                 var selElem = editor.getSelection().getParentElement();       
                 if (selElem.tagName == "IMG")         
            }, 0);      
    <br /><br /><br /> 
    <telerik:RadEditor ID="RadEditor1"  
        OnClientLoad="OnClientLoad" ToolbarMode="showOnFocus" 
        runat="server"  Width="400" Height="400"> 
          <img src=""/> 
          <a href="">telerik</a> 
          <img src=""/> 

    Best regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top