0 Replies Latest reply on Jun 18, 2012 2:05 PM by Mr_JCSG

    How to add cq:emptyText property to text component

    Mr_JCSG

      I have been trying adding an emptyText property to my text component without any success. All I get is the paragraph symbol ¶. I want to replace the ¶ symbol with some intructions like "Enter text here."

       

      Here is what I did:

      -On CRXDE navegate to [mycomponet]/cq:editConfig node.

      -Added the property "cq:emptyText" type String, value "Enter Text Here"

      -Saved and tested

       

      It didn't work. For those who don't know, the cq:emptyText property defines text that is displayed when no visual component is present. Once the user type something, the text disappears.

       

      How can I accomplish this?