How can I add arbitrary data-`attributes to the` edit () `container of a block?

For example:

Before:

After: