mattheworiordan/jquery.editable.lite.js — pull request #1 by davetayls (2013-01-16 21:22:26+00:00)
Title: position the caret in the new input

This will position the caret when clicked, or create a selection inside the input if words are selected.

The only caveat is that it relies on the window selection to be in tact which gets reset when placed inside jquery ui sortable.