Open AlecRust opened 7 years ago
it makes some sense to support contenteditable
, but would you expect to type HTML or text?
@AlecRust what do you think? typeIn text or html? or can you be in different modes? (not sure how content editable works)
I guess HTML ideally since contenteditable
doesn't change it from being HTML, it just makes the text of that HTML editable by the browser.
browser-monkey can
typeIn()
into:<input class="element"></input>
<input class="element" type="text"></input>
<input class="element" type="email"></input>
<input class="element" type="password"></input>
<input class="element" type="search"></input>
<input class="element" type="tel"></input>
<input class="element" type="url"></input>
<input class="element" type="number"></input>
<textarea class="element"></textara>
But can't
typeIn()
into:<div class="element" contenteditable="true"></div>
Which would be nice. It's not technically a form input however, so
val()
can't be used for fetching the value etc.Any thoughts on working around this? Do people think this should be added?