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

Sanitizing links before they get saved to state #483

Open
parris opened this issue Oct 5, 2017 · 2 comments
Open

Sanitizing links before they get saved to state #483

parris opened this issue Oct 5, 2017 · 2 comments

Comments

@parris
Copy link

parris commented Oct 5, 2017

Hi, this library is great. Much easier to use and more straight forward than the others.

I have a request to add "http(s)://" in front of links. Many people get confused that their links take them to the wrong page. I have some logic that I want to add. I read through the source code a bit, and I don't think react-draft-wysiwyg has an option like this for links. I can submit a PR, I see where I could add this.

Is this something you would accept? Otherwise I may need to fork that component.

Best,
Parris

@CamWalker
Copy link
Contributor

I think there is an open PR for this: #355

@jpuri
Copy link
Owner

jpuri commented Oct 6, 2017

Yep the PR helps this issue, hopefully soon fix will be there.

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

No branches or pull requests

3 participants