better-edit-in-place
better-edit-in-place copied to clipboard
Improving editable.js to include type='text'
Currently editable.js created the default input element without type='text'. Giving it a type the input can be styled using css selectors, e.g. input[type=text]
This can be easily achieved by adding the following line right after line 117:
this.editField.element.type = 'text';