Skip to main content

Copy as plain text

Problem:
Copied text includes formatting (colors, fonts) that NEVER pastes right. Especially with dark mode, white text becomes invisible in Word, Excel, Mail, etc. I always need TextEdit or clipboard tools just to get clean text.

Solution:

Add "Always copy as plain text" toggle in settings


This is a frequently reoccurring flow. A fix would make workflows much easier.
🙏

Status: Completed9 comments

Log in to comment and vote

Comments9

  • Daniel Nguyen changed status to Completed
    Team•

    May 4

    Pinned

    I’ve added this in v2.12. Go to Settings > Appearance to set it.

    • Andrey

      •

      May 4

      I can see only rich text and markdown. What’s the process for plain text?

  • Daniel Nguyen

    Team•

    Oct 23, 2025

    Did you select the text in the chat message and paste it? Or did you use the copy button below the message? The button should only copy raw content (markdown).

    • Andrey

      •

      Oct 23, 2025

      Select and copy, habitually.

      I just noticed that ‘copy’ button actually removes formatting.

      In most cases I would strongly prefer ‘select and copy’: think of pasting a table to word or excel without the rest of the text that would break tabular structure.

      Or just the right part of the output that I need, so I don’t have to edit it afterwords in my email client.

      "Select and copy → Strip formatting” is faster and more usable than “Copy button → Paste → Edit the entire output” (what if it’s huge?)

      • Daniel Nguyen

        Team•

        Oct 23, 2025

        Hmmm this is more of a OS behavior than BoltAI. I’m not sure if I should change the default here. On the one hand, it’s probably better UX to remove the formatting, but on the other hand it would go against the OS’s default.

        Usually to paste without formatting you can useOption + Shift + Command + V

        • Andrey

          •

          Oct 23, 2025

          Should be doable just for one app (see below).

          Don’t change default behavior unless user asks for it in settings: “Always copy as plain text”.


          ROLE
          Act as a Senior Software Architect for MacOS.


          CONTEXT

          My MacOS app generates formatted text. User wants to select this text with cursor, then use CMD+C / CMD+V to paste it to another app. By OS default, text formatting is also copied to clipboard. User wants to have a feature, when CMD+C/CMD+V also removes formatting and pastes plain text. This should be overridden for my app, but work as usual for all other apps.

          QUESTION

          Is this possible to achieve? Can default copy/paste behavior be modified only for my app?


          Claud Sonnet 4.5:


          Analysis: Modifying Copy Behavior for Your MacOS App

          Short Answer

          • Yes, this is possible, but with important caveats about what you can actually control.


          What You CAN Control

          • You can modify what your app places on the pasteboard when a user copies text from your app. This affects all paste operations, regardless of the destination app.


          What You CANNOT Control

          • You cannot modify how CMD+V behaves in other applications. The destination app decides what to paste from the available pasteboard types.


          Implementation Approaches


          Option 1: Override the Copy Operation (Recommended)

          Intercept the copy command in your app and place only plain text on the pasteboard:


          SWIFT // In your NSViewController or NSTextView subclass override func copy(_ sender: Any?) { guard let selectedText = getSelectedText() else { return }

          let pasteboard = NSPasteboard.general
          pasteboard.clearContents()
          pasteboard.setString(selectedText, forType: .string)
          // Don't include .rtf, .html, or other formatted types
          

          }

          Pros:

          • Clean and reliable

          • Standard macOS behavior

          • Works system-wide

          Cons:

          • User loses formatting for all paste destinations (even apps that support it)


          Option 1 Will NOT Affect Other Apps


          Clear Answer Option 1 will only affect CMD+C when copying FROM your app. Once you switch to another app's window, that app's own copy behavior takes over completely.

        • Andrey

          •

          Oct 23, 2025

          Option + Shift + CMD + V:
          - hard to press (use 4 fingers?) for a routine task you do many times daily.
          - sometimes works differently in different apps.

    • Andrey

      •

      Oct 23, 2025

      PS.
      I know it might seem like a small and maybe questionable detail, that can be hacked with additional software.

      But it a very frequent scenario.

      1. Users write prompts to get replies – that they can use elsewhere → it’s copy-paste.

      2. Users rarely need the entire reply, just a part of it

      3. Implementing this feature (including preserving bold) would save 3-5% time spent on reformatting

      4. Saving time was part of BoltAI’s vision, right? That’s how you introduced commands, for example?

  • Andrey

    •

    Oct 22, 2025

    P.S. Preserving bold and italic formatting is often crucial.

    It would be absolutely 🤩 fantastic if you could also add "Preserve bold and italic formatting" to this feature in settings!