This is a copy of the following idea which was closed as 'not considering' because a solution was thought to already exist but it turns out that it doesn't. Because of that, I have created this copy to "reopen" the idea.
The original text is below:…
Often times when rendering in views there is a need to know what context is the application in (XPM or not). For example, this can be to:
render additional html tags to be editable for elements which only have 1 visual representation on the page,…