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

Option to disable HTML copy #5035

Closed
msmigiel opened this issue Mar 20, 2020 · 6 comments
Closed

Option to disable HTML copy #5035

msmigiel opened this issue Mar 20, 2020 · 6 comments
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Issue-Question For questions or discussion Product-Terminal The new Windows Terminal. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@msmigiel
Copy link

Description of the new feature/enhancement

There was a feature request to add the ability to copy text as HTML. This is very handy but I don't see a way to disable this - meaning to only copy as text. Please consider adding a flag to disable copying text as full HTML.

Proposed technical implementation details (optional)

Maybe introduce a boolean like copyTextAsHtml in the global properties section.

@msmigiel msmigiel added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Mar 20, 2020
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 20, 2020
@zadjii-msft zadjii-msft added the Issue-Task It's a feature request, but it doesn't really need a major design. label Mar 20, 2020
@zadjii-msft
Copy link
Member

Out of curiosity, what application are you pasting into that's requesting the HTML content from the clipboard when you'd like the text content? The Terminal copies both text and HTML to the clipboard, it's usually the responsibility of the receiving application to take what content they're capable of using.

See also #2690

@zadjii-msft zadjii-msft added Area-Settings Issues related to settings and customizability, for console or terminal Issue-Question For questions or discussion Product-Terminal The new Windows Terminal. and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Issue-Task It's a feature request, but it doesn't really need a major design. labels Mar 20, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Mar 20, 2020
@zadjii-msft zadjii-msft added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Tag-Fix Doesn't match tag requirements labels Mar 20, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Mar 20, 2020
@msmigiel
Copy link
Author

I'm pasting into Microsoft Word (Office 365) and the pasted text has full HTML markup. Most of the time when I am copying from a terminal I only want to plain text.

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Mar 20, 2020
@zadjii-msft
Copy link
Member

You can use this button right here:

image

To choose to paste only the text content

@msmigiel
Copy link
Author

Thank you - that suggestion does work, however it is one extra step. In Word, when I press CTRL+V it defaults to HTML and then in the tooltip I can choose plain text. This is minor, but still an extra step.

I see this also has been brought up in 2690 as you mention and also 4191. Personally, when I work with the terminal, I want all of my copied text to be pure text only with no HTML markup.

@DHowett-MSFT
Copy link
Contributor

Thanks for the use case 😄 this is a /dupe of #4191

@ghost
Copy link

ghost commented Mar 24, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Mar 24, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Attention The core contributors need to come back around and look at this ASAP. labels Mar 24, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Issue-Question For questions or discussion Product-Terminal The new Windows Terminal. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants