better-edit-in-place icon indicating copy to clipboard operation
better-edit-in-place copied to clipboard

Improving editable.js to include type='text'

Open kirichkov opened this issue 15 years ago • 0 comments

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';

kirichkov avatar Feb 23 '10 16:02 kirichkov