bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI
http://hallojs.org/
MIT License
2.43k stars 318 forks source link

textarea uneffected #202

Closed mfor closed 11 years ago

mfor commented 11 years ago

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?

bergie commented 11 years ago

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