bergie/hallo

textarea uneffected

mfor opened this issue · 1 comments

mfor commented

I have Hallo.js running on a textarea but the content remains unchanged after an edit.

I see in the 'Inspect element'
<textarea class="editable" contenteditable="true" style="margin: 2px; width: 282px; height: 90px;">Some text </textarea>

and after it looks the same, no changes. My css doesn't have anything for textarea... Is there a default styling we need to overwrite or disable?

@mfor Hallo is based on the HTML5 ContentEditable feature, and therefore is meant to be used with regular DOM elements, not with input fields.