Results 1 to 3 of 3

Thread: Ext.form.field.HtmlEditor img resize in Chrome

    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
    77
    Vote Rating
    0
      0  

    Default 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
    10,376
    Vote Rating
    263
      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

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,600
    Vote Rating
    874
      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
    Twitter - @evantrimboli

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •