mattDavo / Yippy

macOS open source clipboard manager

Home Page:https://yippy.mattdavo.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paste as text (leaving out any formatting)

Bartman0 opened this issue Β· comments

It would be nice to have the option to paste as text, and text only.
So leaving out any formatting, effectively paste matching target style.

There is a workaround at this moment:

  1. paste desired item (positions the paste item as the current/default item)
  2. Cmd-Z (remove formatted entry again)
  3. Shift-Option-Cmd-V (paste matching target style, or text only; using the current/default item)

But a more direct approach would be nice.

This feature would be great!

I thought that these "Shows / Pastes Rich Text" options indicated this feature, but I see no difference if I uncheck both of them (also tried restarting Yippy):

Screen Shot 2021-01-15 at 12 33 06

Sorry yes, I think it got broken. I will investigate!

I have added more pasteboard type exclusions in 2.5.0 Let me know of any cases (copy sources) that this does not work for @karlhorky.

Oh, this restricts the pasteboard types, so that rich text copies do not even show up at all in Yippy? Ah, I think this is not what I'm looking for (maybe also not what @Bartman0 is looking for).

I was looking for something that strips formatting of text:

  • copy rich text
  • paste plain text

Nah, they should show up if you have "Shows rich text" enabled but not paste rich text if "Pastes rich text" is disabled.

Oh, ok - I guess it should work then how I imagined? I'll give 2.5.0 a shot!

Formatted text:

Some bold and italic text.

I hope so πŸ˜…

Ok, disabling "Pastes rich text" works πŸŽ‰ It strips the formatting. Oh, maybe spoke too soon: #15 (comment)

Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Screen Shot 2021-01-18 at 12 08 46

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Ok, disabling "Pastes rich text" works πŸŽ‰ It strips the formatting.

Sweet!

Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Yeah, maybe this isn't very clear, but this option does not affect what items are stored, but rather how they are displayed. Having it unchecked should just achieve consistent formatting, unlike this with it checked:

Screen Shot 2021-01-18 at 10 15 19 pm

In comparison to:

Screen Shot 2021-01-18 at 10 17 59 pm

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Hmm that's very strange. Are you sure they have rich text data?

Ok, disabling "Pastes rich text" works πŸŽ‰ It strips the formatting.

Ah, maybe spoke too soon? Just tried copying / pasting multiple lines with this document and it's copying the color and formatting info:

https://docs.google.com/document/d/e/2PACX-1vSW0GMz8SVLO5vogG3sIU3yALW9q9o-k2pCt1GdrgN4namECaLRQ-9H7rsV7HahToDV_rKfVzEB_jn1/pub

Hmm that's very strange. Are you sure they have rich text data?

Not sure, it's not happening with this document. If there's another way I should test, glad to do so.

Ok cheers, will check it out today πŸ‘Œ

Hmm @karlhorky would you be able to send a video of exactly how you're doing it? I can't seem to reproduce it...

Ok, here's a video: https://www.youtube.com/watch?v=4vQ5blDUIwA

I also gave you edit access to the Google Doc via email.

Cool, looks like the formatting is gone! Thanks!