You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Add a prop to force a
blur()
whenevent.key == 'Enter'
This should also either attempt to detect multi-line pastes (which I assume is fraught with cross-browser peril because
contentEditable
) anddesignDecision(chop everything but the first line | join the lines)
, or check for linebreaks in_onInput()
and updateinnerHTML
to remove them.The text was updated successfully, but these errors were encountered: