Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot type into contenteditable #57

Open
AlecRust opened this issue Jan 26, 2017 · 3 comments
Open

Cannot type into contenteditable #57

AlecRust opened this issue Jan 26, 2017 · 3 comments

Comments

@AlecRust
Copy link
Member

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?

@refractalize
Copy link
Member

it makes some sense to support contenteditable, but would you expect to type HTML or text?

@dereke
Copy link
Member

dereke commented Apr 3, 2017

@AlecRust what do you think? typeIn text or html? or can you be in different modes? (not sure how content editable works)

@AlecRust
Copy link
Member Author

AlecRust commented Apr 4, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants