clean up contenteditable directive