-24

Imgur images can't be easily reproduced and make it harder to answer questions, this shouldn't be a feature by default.

9
  • @yivi I'm on linux, copy paste from libreoffice or excel and stackoverflow will bring up imgur.
    – pyCthon
    May 27, 2019 at 15:54
  • 2
    Then why you bring up Excel? There is no Excel on Linux. But still an OS/Application thing.
    – yivi
    May 27, 2019 at 15:55
  • 1
    I believe the clipboard contains several different representations of the Excel data. Since one of those representations is an image, it uses that representation when pasting to Stack Overflow. If you just want the text, paste it into Notepad (or text editor that only allows text) first, then copy it from there. May 27, 2019 at 15:55
  • 3
  • 1
    @pyCthon cross-site duplication is not supported though. May 27, 2019 at 16:26
  • I voted to close it, this is a bug the SO devs probably won't fix.
    – pyCthon
    May 27, 2019 at 16:29
  • 3
    It seems you do not understand what either dupe or the answer on this question are telling you. It is not a bug. It's a feature. And this time for real.
    – yivi
    May 27, 2019 at 16:35
  • @yivi Downvote me all you want it's still a bug
    – pyCthon
    May 27, 2019 at 16:37
  • 6
    @pyCthon if it's intended behavior, it's by definition not a bug. May 27, 2019 at 16:56

1 Answer 1

10

Excel sends various representation of the copied content into the clipboard; the client decides which one it wants to use when pasting - here the client is a textbox in your browser, and it's apparently happy to treat the content as an image:

Simple Excel table pasted as an image

Copy your Excel source and instead of Ctrl+V to paste as an image, right-click and select Paste as plain text (or Ctrl+Shift+V if your browser supports it) - then format as code (select all, Ctrl+K):

A   B   C
1   2   3
2
  • Nice solution but I have to disable my adblock to get ctrl+shift+v to work on firefox... not happening.
    – pyCthon
    May 27, 2019 at 16:05
  • 16
    @pyCthon then first paste it somewhere that you can copy it back in plain text format, like Notepad. I'm failing to see the connection between adblock and "paste as plain text" though. May 27, 2019 at 16:09

Not the answer you're looking for? Browse other questions tagged .