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

Editor: Automatically create links on paste (if you have a URL copied on your clipboard and some text highlighted) #17719

Open
Tracked by #14807
aitchiss opened this issue May 18, 2022 · 5 comments
Labels
area: publishing experience issues related to an authors experience publishing. Tags, series, etc.

Comments

@aitchiss
Copy link
Contributor

aitchiss commented May 18, 2022

  • Given you have a URL on you clipboard (having copied it from somewhere)
  • And you highlight some text in the editor
  • Pressing ctrl/cmd + V (paste) results in [the text you had highlighted](the-url-you just pasted)

If you did not have a URL on your clipboard, or you didn't have any text highlighted in the editor, then the text just pastes as it normally would with no intervention.

@github-actions
Copy link
Contributor

Thanks for the issue, we will take it into consideration! Our team of engineers is busy working on many types of features, please give us time to get back to you.

Feature requests that require more discussion may be closed. Read more about our feature request process on forem.dev.

To our amazing contributors: issues labeled bug are always up for grabs, but for feature requests, please wait until we add a ready for dev before starting to work on it.

To claim an issue to work on, please leave a comment. If you've claimed the issue and need help, please ping @forem-team. The OSS Community Manager or the engineers on OSS rotation will follow up.

For full info on how to contribute, please check out our contributors guide.

@aitchiss aitchiss changed the title Automatically create links when you hit <code class="notranslate">CMD+V` (assuming you have URL in your clipboard) and have piece of text highlighted. Automatically create links on paste (if you have a URL copied on your clipboard and some text highlighted) May 18, 2022
@aitchiss aitchiss changed the title Automatically create links on paste (if you have a URL copied on your clipboard and some text highlighted) Editor: Automatically create links on paste (if you have a URL copied on your clipboard and some text highlighted) May 18, 2022
@aitchiss aitchiss added the area: publishing experience issues related to an authors experience publishing. Tags, series, etc. label May 18, 2022
@MdSahil-oss
Copy link
Contributor

MdSahil-oss commented May 18, 2022

@aitchiss I'd like to work on this feature if you assign it to me

@Link2Twenty
Copy link
Contributor

@MdSahil-oss I think it's a feature request as opposed to a bug

@MdSahil-oss
Copy link
Contributor

@Link2Twenty thanks to make it clear and I think this is the time to edit my earlier comment

@Link2Twenty
Copy link
Contributor

I did a quick POC if that's helpful for anyone.

https://codesandbox.io/s/dark-water-7ince8?file=/src/App.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: publishing experience issues related to an authors experience publishing. Tags, series, etc.
Projects
None yet
Development

No branches or pull requests

3 participants