I am utilising the basic page content type. When viewing my basic page the layout consists of:
- A view that outputs a block in the form of a header. Using the basic page fields "title" and "short description"
- A block that outputs the body of the page.
When I view my page, the node/articles markup is rendered as follows:
<article data-history-node-id="2058" data-quickedit-entity-id="node/2058" role="article" class="contextual-region clearfix" about="/node/2058" data-quickedit-entity-instance-id="0">...</article>
<article data-history-node-id="2058" data-quickedit-entity-id="node/2058" role="article" class="contextual-region clearfix" about="/node/2058" data-quickedit-entity-instance-id="1">...</article>
Analysing the markup we can gather that:
- They both have the same node id
- The latter can be differentiated by the data-quickedit-entity-instance-id="1" tag
- Only the 'quick-edit' button appears for the first article
- On quick-edit click, both of the articles are trying to be manipulated by some form of js - there could be conflict here.
So the question is. How come the quick edit feature does not work for a node that is rendered twice on one page?
Has anyone got any reason why it is not working or can provide a solution for this?
Thanks in advance