Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Single-line editing prop #2

Closed
insin opened this issue Feb 20, 2015 · 1 comment
Closed

Single-line editing prop #2

insin opened this issue Feb 20, 2015 · 1 comment
Labels

Comments

@insin
Copy link
Owner

insin commented Feb 20, 2015

Add a prop to force a blur() when event.key == 'Enter'

This should also either attempt to detect multi-line pastes (which I assume is fraught with cross-browser peril because contentEditable) and designDecision(chop everything but the first line | join the lines), or check for linebreaks in _onInput() and update innerHTML to remove them.

@insin insin added the feature label Feb 20, 2015
@insin
Copy link
Owner Author

insin commented Feb 23, 2015

This is also potentially breaking if we default to single line and add a multi line boolean prop instead of vice-versa.

@insin insin closed this as completed in 3f86c6d Feb 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant