Paste and Match Style

In Bear 1.0, Edit>Paste From>Rich Text actually implemented the more common Paste and Match Style. Here are the results of pasting two different things–some formatted text from TextEdit and a URL–using both Paste and Paste From Rich Text:

Paste: plain and **bold** and *italics*
PFRT: plain and bold and italics

Paste: [Google](https://www.google.com/)
PFRT: https://www.google.com/

In Bear 2.0, this changed. And I think it changed for the worse:

Paste: plain and bold and italics
PFRT: plain and **bold** and *italics*

Paste: [Google](https://www.google.com/)
PFRT: ``

There are three problems here:

  1. I don’t think it is desirable to have the default operation (Command-V) strip formatting! Everyone’s fingers are trained to expect the opposite, because that is what every other app does, including Bear 1.

  2. I relied heavily on the old behavior to insert raw URLs. As you can see from the example above, Paste From Rich Text is now a no-op when the clipboard contains a URL. As far as I can tell, there now no way to paste a raw URL. Yes, I know that I can turn off “Auto fill title…” in Preferences. But most of the time, I want the title. It’s just a few websites and use-cases where this is the wrong thing.

  3. The keybinding for PFRT is Opt-Shift-Cmd-V. In most other apps–Outlook, Safari, TextEdit–this is Paste and Match Style. In Bear 1, that was fine, because that was essentially what it did even though it was misnamed, so my fingers where happy. In Bear 2, Opt-Shift-Cmd-V does the opposite of what my fingers expect.

Recommendations:

  1. Get rid of Edit>Paste From>Rich Text. Move that functionality to Edit>Paste. That way, Bear 2 will behave like Bear 1 (as well as just about every other app).

  2. Implement Edit>Paste and Match Style, and bind it to Opt-Shift-Cmd-V. That will make Bear 2 behave like most other apps, and will also preserve the behavior of keybindings from Bear 1.

1 Like

Hello,

The URL empty paste result is a bug and will be fixed with the next update, thanks for reporting this.

Yes, the normal paste behaves differently in B2 beta but we are not sure about keeping this in the final release. We introduced the current behavior with Panda and seems appreciated but we want to hear from Bear users before taking a decision.

I think both versions have their pro and cons but I might prefer the version you suggest. However, this is not the case for iOS where the RTF pasteboard is not used by the vast majority of the apps.

It makes sense to paste the formatting by default. Personally, I write notes in Bear with Markdown in mind, so I would expect copying and pasting to work in a Markdown-first approach.

2 Likes