How to detect if you are in the Editor view in XPM (serverside)

While working on an Experience Manager implementation, you often find yourself (at least I do) in the position where you want to change/update the HTML that is generated to be able to edit the content nicely in Experience Manager. XPM uses HTML-comments to ‘mark’ fields as being editable. The XPM JavaScript draws a border aroundContinue reading “How to detect if you are in the Editor view in XPM (serverside)”