Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext Premium Member
    Join Date
    Sep 2009
    Posts
    76
    Vote Rating
    0
    ddanny is on a distinguished road

      0  

    Default Ext.form.field.HtmlEditor img resize in Chrome

    Ext.form.field.HtmlEditor img resize in Chrome


    It seems like Ext.form.field.HtmlEditor has different behavior across browsers. For instance, in Firefox I can do the following operation: click on an image inside the html editor and a nice bounding box is displayed. The image can be resized. Please see the attached screenshot on the bottom of this report. The operation is not possible in Chrome 31 or IE 10.

    Stand-alone test case: https://fiddle.sencha.com/#fiddle/1mq


    Ext version tested:
    • Ext 4.2.1 rev 883
    Browser versions tested against:
    • Firefox 25 - works perfectly
    • IE10 - doesn't work
    • Chrome 31 - doesn't work
    Description:
    • Open the attached jsfiddle in Firefox, click the image and resize it. It works. Try the same in Chrome. It doesn't work.
    Steps to reproduce the problem:
    • Open the attached jsfiddle in Firefox, click the image and resize it. It works.
    • Try the same in Chrome. It doesn't work.
    The result that was expected:
    • Similar behavior in Chrome like in Firefox.
    The result that occurs instead:
    • I cannot resize the image in Chrome or IE.



    Attachment 46885

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    4,081
    Vote Rating
    69
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      1  

    Default


    I believe webkit browsers (like Chrome) lack support for image resizing. This thread describes one user's workaround:
    http://www.sencha.com/forum/showthread.php?160774


    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager:
    sheryl@sencha.com

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,160
    Vote Rating
    674
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      1  

    Default


    With our editor we don't make any attempt to normalize differences between browsers (except for the lowest hanging fruits), rather we just wrap the native browser control & add the field interface to it.

    If you're looking for something a bit more fully featured, you can check out some other editors, such as tinyMCE, CKEditor etc.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 2