this happens when editing a title in a listing.
This doesn't work well. The field appears but the save/close toolbar disapear and the overlay can't be closed anymore. no JS errors are triggered.
<h2 data-edit-id="node/1/title/und/teaser" class="edit-allowed edit-field edit-type-form" data-edit-field-label="Title" aria-label="Entity node 1, field Title">
<a href="/node/1"><span data-edit-id="node/1/title/und/teaser" class="edit-allowed edit-field edit-type-form edit-animate-fast" data-edit-field-label="Title" aria-label="Entity node 1, field Title" aria-disabled="false"><span class="field-item">Titre trois2f qdd</span></span></a>
</h2>
Comments
Comment #1
nod_Had two data-edit-id attributes and that messed things up.
Comment #2
wim leersOne set by the server side, one added by the JS?
Comment #3
nod_Both on the server side and in the same preprocess too -_-"
Comment #4
wim leersHehe :P
Comment #5
webchickComment #7
caseyb commentedHi
I'm having a similar issue with duplicated data-edit-id attribute for the node title when creating teaser items.
Steps to produce issue:
1. Created featured content field for homepage that is an entity reference field type with format set to teaser.
2. Set this as a block using the 'Field to block' module selection option.
3. Added the block to the homepage with the result that the title is displayed normally and then followed by a duplicated link.
It looks to be a syntax error ( as there is a ' "> ' in front of the duplicated link) but not sure how to test this.
Thanks for any help to resolve this.
Here is the code if it helps:
<h2 property="dc:title" datatype="" class="node-title"><a href="/?q=node/262" title="<div data-edit-id="node/262/title/und/teaser"><div class="field-item">Title here</div></div>"><div data-edit-id="node/262/title/und/teaser"><div class="field-item">Title here</div></div></a></h2>Comment #8
wim leers#7: please create a new issue.