1. #1
    Ext User soze's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    108
    Vote Rating
    0
    soze is on a distinguished road

      0  

    Question Empty Text in an HTML Editor

    Empty Text in an HTML Editor


    Is it possible to display empty text when using the htmleditor? I've been searching for some time and I havent found anything. I've read through the docs and I can see that the focus and blur isn't inherited.

  2. #2
    Sencha User walldorff's Avatar
    Join Date
    Mar 2008
    Location
    Antwerp, Belgium
    Posts
    164
    Vote Rating
    2
    walldorff is on a distinguished road

      0  

    Default


    What is exactly your objective? Disable the submit button until the user types some text in the HTMLeditor? Or just process the fieldValue?
    I've seen several posts in the forum regarding this issue. Just do a title search on htmleditor.
    ExtJS 3.4, WAMP Apache 2.2.17, PHP 5.3.5, MySQL 5.5.8

  3. #3
    Ext User soze's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    108
    Vote Rating
    0
    soze is on a distinguished road

      0  

    Default


    I would like to display empty text in the html editor like how I do for the rest of my form. I have done a lot of searching on this particular topic but I havent found anything concrete.

  4. #4
    Ext User soze's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    108
    Vote Rating
    0
    soze is on a distinguished road

      0  

    Default


    Any ideas anyone? It would be much appreciated.

  5. #5
    Ext JS Premium Member prophet's Avatar
    Join Date
    Mar 2007
    Location
    Greenwich, CT
    Posts
    187
    Vote Rating
    0
    prophet is on a distinguished road

      0  

    Default


    It's not supported naively... and there are some browser quirks due to the iframe... I'll see what I can whip up :-)
    Brad Baumann

  6. #6
    Ext User soze's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    108
    Vote Rating
    0
    soze is on a distinguished road

      0  

    Default


    Thanks for the response prophet!

  7. #7
    Sencha User
    Join Date
    Aug 2013
    Posts
    12
    Vote Rating
    1
    bvasudevan is on a distinguished road

      0  

    Default any updates here?

    any updates here?


    I am stuck with the same problem.. using extjs 4
    need to display empty text in html editor