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

updated url->href key typo #170

Merged
merged 2 commits into from
Feb 27, 2019
Merged

updated url->href key typo #170

merged 2 commits into from
Feb 27, 2019

Conversation

prateek3255
Copy link
Contributor

The key for URL in contentState is href instead of url. This typo was causing an empty URL while converting ContentState to markdown.
A similar issue was fixed for stateToHtml #50

This typo was causing an empty url while converting ContentState to markdown.
Added url as key also for previous verisons of draftjs
Copy link
Owner

@sstur sstur left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@sstur sstur merged commit 64fccd0 into sstur:master Feb 27, 2019
@prateek3255
Copy link
Contributor Author

Thanks, @sstur can you also please release a new version with the fix on npm also. We kind of need this fix a bit urgently now.

@prateek3255 prateek3255 deleted the patch-1 branch February 1, 2021 11:22
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