Closed prateek3255 closed 5 years ago
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
href
url
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.
The key for URL in contentState is
href
instead ofurl
. This typo was causing an empty URL while converting ContentState to markdown. A similar issue was fixed for stateToHtml #50