draft-js-import-markdown icon indicating copy to clipboard operation
draft-js-import-markdown copied to clipboard

Links not imported?

Open aaronshaf opened this issue 9 years ago • 10 comments

foo [bar](https://www.domain.com/baz) baz doesn't seem to work. Link is stripped out. Is this perhaps an issue with draft-js-import-element?

aaronshaf avatar Dec 13 '16 15:12 aaronshaf

Confirm here (this uses draft-js-import-markdown) by editing the markdown:

https://react-rte.org/demo

aaronshaf avatar Dec 13 '16 15:12 aaronshaf

Any update on this?

Fleezey avatar Jan 13 '17 19:01 Fleezey

Yep this still doesn't seem to be working..

nathaneidelson avatar Feb 08 '17 23:02 nathaneidelson

+1 have any of you found a better alternative?

nuclearspike avatar Mar 10 '17 21:03 nuclearspike

This seems to be fixed in pull request #8

villuv avatar Mar 10 '17 21:03 villuv

Hmm, even after #8 being merged and released I still can't seem to convert links: https://www.webpackbin.com/bins/-KpkpAOYTxLD2Fz08UVp

@sstur any ideas?

mxstbr avatar Jul 23 '17 19:07 mxstbr

I'll try to track this down. I'm sure it is something in one of the dependencies.

sstur avatar Jul 25 '17 03:07 sstur

Any news here? I'd love for this to be fixed :blush:

mxstbr avatar Aug 07 '17 14:08 mxstbr

Oops, I forgot to post back here, but I do believe this issue has been fixed since 0.2.3. I don't know why the fix was not reflected in your webpackbin above but I added convertToRaw() to log the state and it seems correct.

https://www.webpackbin.com/bins/-Kqzb6-PFSCHEUl3c3UH

screenshot 2017-08-08 09 08 52

If you can confirm, I'll close the issue.

Thanks!

sstur avatar Aug 08 '17 02:08 sstur

I can confirm this correctly moves Markdown links, sorry for the confusion. Thanks!

mxstbr avatar Aug 14 '17 06:08 mxstbr