Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: [FIXED-92][3.0.0/2.x] HtmlEditor readOnly and disabled not working

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11

    Default

    Quote Originally Posted by Nam View Post
    anyone know a workaround to make the htmleditor field readonly?

    I've been using this ReadOnly workaround, yet still haven't found a way to allow the area to be scrolled.

    Any updates on this?

  2. #12
    Ext User krzak's Avatar
    Join Date
    May 2008
    Location
    Poland
    Posts
    62

    Default

    It's still in 3.0.
    setting disable: true, still alow to edit content

  3. #13

    Default

    Yeh, HtmlEditor has caused the most pain out of ExtJS for me.

    Anyway, I managed to get around the issue by resizing the mask that is created. If there is scroll bars I simply pull it in by the scrollbar wide (hhaaackkk!) but wasn't aware of another solution.

  4. #14
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default

    [ moved to 3.x Bugs from 2.x Bugs ]

  5. #15
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996

    Default

    Quote Originally Posted by leon.i View Post
    Yeh, HtmlEditor has caused the most pain out of ExtJS for me.
    Actually I recall Jack saying in the css screencast that it was one of the most difficult to do also.

  6. #16
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    The correct way to implement read-only mode would be to set designMode to "off".

  7. #17
    Sencha User Juvs's Avatar
    Join Date
    Oct 2007
    Posts
    36

    Exclamation

    @ortizSWF

    When you use setValue() needs to handle too..

    Code:
        // docs inherit from Field
        setValue : function(v){
            Ext.form.HtmlEditor.superclass.setValue.call(this, v);
            this.pushValue();
            //This for set read only
            this.setReadOnly(this.readOnly);        
        },

  8. #18
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,248

    Default

    A fix for this has been added to the trunk.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  9. #19
    Sencha User Juvs's Avatar
    Join Date
    Oct 2007
    Posts
    36

    Question

    For which version?

    Quote Originally Posted by evant View Post
    A fix for this has been added to the trunk.

  10. #20
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    The Ext SVN trunk is the source for the next Ext minor release (Ext 3.1).

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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