Search code examples
aemrichtext

What does editElementQuery do?


I've came across some examples of a richtext field that has a property called editElementQuery but nobody says what it does. I couldn't find any documentation on it either. One of the examples is in the stackoverflow question bellow: AEM/CQ5 html5smartimage filename lost on image upload

Does anybody know what this is suppose to do?


Solution

  • this field is here for storing the selector of the element that should be opened / edited in case of inline edition of that property. If not fed, the first block element will be taken.