Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro appends to the last character instead of where the cursor is #205

Open
iskolares opened this issue Dec 9, 2020 · 1 comment
Open
Labels
tech Issue relates to Tech

Comments

@iskolares
Copy link

Adding a macro adds the comment to the last character typed in the text area, instead of where the cursor is.

Here's a screengrab of the behaviour.
AddingMacroBug

  1. Moved the cursor few a few blank spaces after "Regards," but it appends macro to "Regards,"
  2. Moved cursor to the intended location where I wanted to add macro, still appends after "Regards,"

Could be really cumbersome if a tech already has typed a long reply, then tries to add a macro an intended location, but it appends at the end of the reply.

@Nness Nness added the tech Issue relates to Tech label Dec 9, 2020
@Nness
Copy link
Contributor

Nness commented Dec 9, 2020

This will be on lower priority, it is good to have but not required.

Difficult:

  • Need to maintain focus by prevent default mouse down behaviour.
  • Instead of binding, we need to modify content through HTML element, by checking where the keyboard focus is then insert there.

This is such feature that require low level operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech Issue relates to Tech
Projects
None yet
Development

No branches or pull requests

2 participants