add support for type='contenteditable'
explicitly check type when reading value
Merge pull request #93 from chrisbutler/master

add support for type='contenteditable'