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

Fix handlePasetedText behavior #24

Merged
merged 1 commit into from May 29, 2017

Conversation

Projects
None yet
2 participants
@sugarshin
Copy link
Collaborator

sugarshin commented May 29, 2017

addEmptyBlock inserts a block at the end of line.

https://github.com/ngs/draft-js-markdown-shortcuts-plugin/compare/patch-1?expand=1#diff-2b4ca49d4bb0a774c4d4c1672d7aa781L22

Use insertEmptyBlock instead.

@ngs

This comment has been minimized.

Copy link
Owner

ngs commented May 29, 2017

lgtm!

@sugarshin

This comment has been minimized.

Copy link
Collaborator

sugarshin commented May 29, 2017

🙏

@sugarshin sugarshin merged commit ba70187 into master May 29, 2017

3 checks passed

ci/circleci Your tests passed on CircleCI!
Details
coverage/coveralls First build on patch-1 at 100.0%
Details
wiplock This pull request
Details

@sugarshin sugarshin deleted the patch-1 branch May 29, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment