add support for type='contenteditable'