Open joekode opened 10 years ago
Have you considered changing the user of a data attribute for data-key to using var key = $this["context"].nodeName;
The plugin is initiated once for all contenteditabled fields in a container.
I'm not sure how your suggestion is going to work if you have two elements with the same tag name...
Have you considered changing the user of a data attribute for data-key to using var key = $this["context"].nodeName;