Imgur images can't be easily reproduced and make it harder to answer questions, this shouldn't be a feature by default.
-
@yivi I'm on linux, copy paste from libreoffice or excel and stackoverflow will bring up imgur.– pyCthonMay 27, 2019 at 15:54
-
2Then why you bring up Excel? There is no Excel on Linux. But still an OS/Application thing.– yiviMay 27, 2019 at 15:55
-
1I 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.– Heretic MonkeyMay 27, 2019 at 15:55
-
3See meta.stackoverflow.com/questions/381951/… and meta.stackexchange.com/questions/320162/…– Robert LongsonMay 27, 2019 at 16:01
-
1@pyCthon cross-site duplication is not supported though.– Robert LongsonMay 27, 2019 at 16:26
-
I voted to close it, this is a bug the SO devs probably won't fix.– pyCthonMay 27, 2019 at 16:29
-
3It 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.– yiviMay 27, 2019 at 16:35
-
@yivi Downvote me all you want it's still a bug– pyCthonMay 27, 2019 at 16:37
-
6@pyCthon if it's intended behavior, it's by definition not a bug.– TheWandererMay 27, 2019 at 16:56
1 Answer
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:
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
-
Nice solution but I have to disable my adblock to get
ctrl+shift+v
to work on firefox... not happening.– pyCthonMay 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