jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.42k stars 1.16k forks source link

Link plugin: allow passing default link target, as well as it's placeholder #527

Open bubenkoff opened 6 years ago

bubenkoff commented 6 years ago

It will be more clear for users if they see some placeholder for link target (that it needs to be full URL) also would be nice if default could be specified, or at least the default will be http:// and default placeholder will be translated string like use full URL with http:// or https://

kevinhaas commented 5 years ago

@jpuri Hey, love this library! Do you mind if I submit a PR for a placeholder prop in the link config on the editor?

jpuri commented 5 years ago

@kevinhaas : that is good idea, plz go ahead for creating this PR. Thanks 😄

kevinhaas commented 5 years ago

https://github.com/jpuri/react-draft-wysiwyg/pull/806

Thanks!