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

Backspace should remove placeholder + preceeding char #74

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bbrooks
Copy link

@bbrooks bbrooks commented Feb 8, 2015

If your cursor is immediately following a placeholder char, hitting backspace should remove the placeholder and the char preceding it.

Fixes https://github.com/firstopinion/formatter.js/issues/75

If your cursor is immediately following a placeholder char, hitting backspace should remove the placeholder and the char preceding it.
@bbrooks
Copy link
Author

bbrooks commented Feb 8, 2015

I'm not sure what kind of behavior you want for the persistent case, so I made this change only for non-persistent situations. Interested to hear your thoughts on the desired behavior.

@croby
Copy link

croby commented Feb 9, 2015

@jaridmargolin, would love to see this merged

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

Successfully merging this pull request may close these issues.

Backspace only remove placeholder chars when immediately following them.
2 participants