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

Handle checkbox removal by backspace #1154

Merged
merged 7 commits into from
Jan 18, 2019
Merged

Handle checkbox removal by backspace #1154

merged 7 commits into from
Jan 18, 2019

Conversation

mirka
Copy link
Member

@mirka mirka commented Jan 14, 2019

Based on #1145

backspace

);
}

const firstHyphen = get(currentBlockText.match('-'), 'index', 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: how about naming this firstHyphenOffset or firstHyphenLocation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree 💯 Thanks!

Copy link
Contributor

@roundhill roundhill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested really well for me.

@mirka mirka added this to the Feature: Tasklists milestone Jan 16, 2019
@mirka mirka force-pushed the enhance/checkbox-removal branch from 3d0bf16 to ee62ef9 Compare January 18, 2019 08:45
@mirka mirka changed the base branch from feature/checkbox-decorator to master January 18, 2019 08:45
@mirka mirka merged commit 6e3c437 into master Jan 18, 2019
@mirka mirka deleted the enhance/checkbox-removal branch January 18, 2019 09:10
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.

2 participants