In the new editor, we've recently discovered lists are now getting the tag data-list-item-id for example <li data-list-item-id="e2ff5718d5e4b95bd4953d3d5ba603e6a"> If we clear the data-list-item and then save, it will be regenerated. Why is this being added? It is cluttering up the HTML view.
Why is the new editor adding data-list-item-id to lists?
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
The
data-list-item-idattribute you’re seeing on list items in the new editor is automatically added to uniquely identify each list element, supporting features like reordering and content tracking. Because it’s essential to the editor’s internal functionality, it regenerates if removed and cannot currently be disabled.