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

🚀 - Add deleteWordBackward & deleteWordForward support #84

Closed
nsbarsukov opened this issue Jan 30, 2023 · 2 comments · Fixed by #193
Closed

🚀 - Add deleteWordBackward & deleteWordForward support #84

nsbarsukov opened this issue Jan 30, 2023 · 2 comments · Fixed by #193
Assignees
Labels
feature New feature or request P2 This issue has medium priority scope: core Related to @maskito/core

Comments

@nsbarsukov
Copy link
Member

nsbarsukov commented Jan 30, 2023

Which package(s) are relevant/related to the feature request?

@maskito/core

Description

Delete a word directly before the caret position:

  • Ctrl + Backspace (windows)
  • Option + Backspace (mac os)

https://github.com/Tinkoff/maskito/blob/e5b40d1a05e1072ddc7735c82e276c0817526baf/projects/core/src/lib/mask.ts#L58


Delete a word directly after the caret position:

Read more: https://w3c.github.io/input-events/#interface-InputEvent-Attributes

@nsbarsukov nsbarsukov added the feature New feature or request label Jan 30, 2023
@nsbarsukov nsbarsukov added the P3 This issue has low priority label Jan 30, 2023
@waterplea
Copy link
Collaborator

I believe it's Ctrl, not Alt 🙂

@nsbarsukov
Copy link
Member Author

I believe it's Ctrl, not Alt 🙂

Thanks, I've updated the description

@nsbarsukov nsbarsukov added P2 This issue has medium priority and removed P3 This issue has low priority labels Feb 21, 2023
@nsbarsukov nsbarsukov added the scope: core Related to @maskito/core label Mar 1, 2023
@nsbarsukov nsbarsukov self-assigned this Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request P2 This issue has medium priority scope: core Related to @maskito/core
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants