Results 1 to 3 of 3

Thread: How to correctly test if HtmlEditor is empty?

  1. #1

    Default How to correctly test if HtmlEditor is empty?

    The getValue of the HtmlEditor seems a little quirky. It seems that upon initial load, before typing anything in, HtmlEditor.getValue() == '' return true. But after typing something in, and then deleting everything, HtmlEditor.getValue == '' is no longer true, even though there is no text in there. Can someone please shed some light on this? I even tried looking at getValue() in a MessageBox, and it seems like it is '', but testing for that returns false.


  2. #2
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Haan, Germany


    what is result of Ext.isEmpty(HtmlEditor.getValue()) ?
    vg Steffen
    Release Manager of TYPO3 4.5

  3. #3


    The result is '' no matter what.

Posting Permissions

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