Skip to content

Pasting a path creates a file attachment. No option to turn off #4987

Description

@knyri

Describe the bug

Pasting text that resolves to a valid file path to an existing file attaches that file and converts the pasted text into something that cannot be turned back into the pasted text. This is not ideal when feeding the AI with a real example of a path that breaks or fails some process. I needed the path and not the file contents.

Affected version

1.0.88

Steps to reproduce the behavior

  1. Paste text that resolves to a valid path to an existing file
  2. Seethe in anger that your 37 character path is now a 5MB attachment with no way to revert it

Expected behavior

Text is pasted as is.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions