lp-input is a custom "fake input" to search users, hashtags by ajax and to format the content by using ordinary div#editable. Works like twitter, facebook, slack inputs.
This custom element works with FF (37), Chrome* (42), Opera* (27) and Safari* (8) or browsers that supports Web API as Range, Selection.
- Partially: Users of desktops can have problem with accentuation.
See the component page.
<div id="editable" contenteditable="true"></div>
<lp-input target="editable" mentionsURL="https://example.com/users.json">
</lp-input>