add editable element directive