A function that makes DOM elements editable.