Setting text apply is different position.
example : http://ichord.github.io/At.js/ -> ContentEditable mode
test :
- first line last position : typing the :s and cancel (ESC key)
- second line : typing the :s .
- apply the first line last position.
I want to second line apply the :s but apply the first line last position.
Thankyou.
Any solutions?
Any solutions?
Hi,
Im having the same problem when pressing Enter.
I think the problem is in App.prototype.onKeyup
By having placeholder $.noop(), case KEY_CODE.ENTER does not call this.dispatch(e); and so never calls catchQuery
I replaced line 298 to:
case KEY_CODE.DOWN:
case KEY_CODE.UP:
case KEY_CODE.CTRL:
break;
case KEY_CODE.ENTER:
this.dispatch(e);
break;
and it works so far.
@andreas-vvv I stumbled across your comment while debugging the same issue.
I know it was a while ago, but have you continued to have success with this?