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

allow images in markdown preview editor to be copied #184432

Conversation

MeghanKulkarni
Copy link
Contributor

When an image in a markdown file's preview editor is right clicked, there is a new "Copy" button that allows you to copy from the preview editor and paste to the markdown file. This works in all cases when the preview editor tab is highlighted and focused. If the preview editor is not clicked on before copying, no new information will be copied to the clipboard.

Copy link
Contributor

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good start. Left some feedback. let me know if you have any questions about it

Regarding:

If the preview editor is not clicked on before copying, no new information will be copied to the clipboard.

Did you figure out causes this? Is there some way we can fix it?

@mjbvz mjbvz added this to the June 2023 milestone Jun 6, 2023
Copy link
Contributor

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor feedback then let's merge this!

@mjbvz mjbvz enabled auto-merge (squash) June 7, 2023 17:52
@mjbvz mjbvz merged commit 67cc096 into microsoft:main Jun 7, 2023
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants