TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Who decided copy+paste should copy styling/formatting?

277 pointsby unbrokenabout 3 years ago
I don&#x27;t know if you have noticed that if you copy+paste into email pages&#x2F;apps like outlook and gmail they bring over all the formatting and styling of the source. That is, it pastes the text in with things like the font color and background color, and the font type itself, which then become the styling for the rest of the email if you keep typing as well.<p>Who came up with this? It makes absolutely no sense that anyone would want to transplant styling&#x2F;formatting into an email, where there is no guarantee (indeed, little chance) that it will mesh well. It&#x27;s just baffling.

71 comments

bombledmonkabout 3 years ago
In many, but not all programs on windows you can paste plain text by using ctrl+shift+v. Outlook desktop is one of the few places where this hotkey does not work.<p>Before I knew there was a native hotkey combo, I created a autohotkey script that would do that and had a mini-tutorial that showed how.<p><a href="https:&#x2F;&#x2F;forum.digikey.com&#x2F;t&#x2F;add-a-digi-key-search-hotkey-everywhere-slack-excel-outlook-kicad-and-more&#x2F;13405" rel="nofollow">https:&#x2F;&#x2F;forum.digikey.com&#x2F;t&#x2F;add-a-digi-key-search-hotkey-eve...</a>
评论 #31358235 未加载
评论 #31357859 未加载
评论 #31357780 未加载
评论 #31357433 未加载
评论 #31358579 未加载
评论 #31357922 未加载
评论 #31374088 未加载
评论 #31357955 未加载
评论 #31361571 未加载
评论 #31364798 未加载
ineedasernameabout 3 years ago
<i>&gt;It makes absolutely no sense that anyone would want to transplant styling&#x2F;formatting into an email</i><p>I do it all the time when I need to email a small table from excel instead of attaching the whole sheet, especially when it&#x27;s backed by data that should never be sent in an email. It works fine.<p>I used to not be able to do this. Content didn&#x27;t paste nicely, or recipient clients didn&#x27;t display it nicely. These days it&#x27;s no longer an issue, clients mostly seem to handle it without issue.
评论 #31358790 未加载
评论 #31357774 未加载
评论 #31357786 未加载
ghustoabout 3 years ago
This! I thought I was going insane, that nobody has mentioned this until now. &quot;When did this start happening?&quot;, I thought. But looking into it, it seemed as if it had always been like this -- only of course it hadn&#x27;t!<p>It is mind crushingly annoying, second in nerve-o-smashing only to useless mouse over popups all over a UI. &quot;Here, let me just smack a popup over what you&#x27;re reading because there&#x27;s now about 0.2cm of the screen you can place your mouse that _doesn&#x27;t_ do that. What does it say? Oh, it just repeats the name of the link it&#x27;s over&quot;.
评论 #31357884 未加载
评论 #31358915 未加载
评论 #31358737 未加载
评论 #31366016 未加载
twicabout 3 years ago
At least two people want to paste with formatting:<p><a href="https:&#x2F;&#x2F;www.alfredforum.com&#x2F;topic&#x2F;17398-clipboard-history-feature-why-no-formatted-text-rich-text&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.alfredforum.com&#x2F;topic&#x2F;17398-clipboard-history-fe...</a><p>I&#x27;ve seen this question asked again and again. Once, i saw an answer from someone who was a product manager on a big office tool, i think at Microsoft. Their answer was that according to their user research, the vast majority of users want to paste with formatting.<p>Given how often this comes up, and how irritating all programmers evidently find this, i would really love to read a detailed writeup of this feature; its history, how popular it really is, how people use it, etc. It seems likely there&#x27;s a big story here we&#x27;re all completely missing.
评论 #31359299 未加载
评论 #31357610 未加载
jstummbilligabout 3 years ago
If you have rarely worked with average people in any non-tech-producing-but-software-using sector, I can see how this might be confusing.<p>If you have, the answer becomes crystal clear, very quickly: A staggering amount of information gets passed around by people copying random websites into word documents and just needing them to make visual sense without additional effort, because if that was not the case productivity would absolutely plummet, over people fighting to format documents back into readability (or maybe they would just go right back to screenshotting or <i>gasp</i> prints).
linuxdaemonabout 3 years ago
It seems most of my posts here end up being a complaint about MS Teams. So here is another. Teams will happily take the formatting of &quot;black text&quot; from copying from Word for example. But anyone who is using a dark theme on Teams now can&#x27;t read it because it &quot;intelligently&quot; kept the formatting that didn&#x27;t even matter because it was just &quot;plain back text&quot;. Had it been copied from something that didn&#x27;t specify that formatting, it would have just worked.
评论 #31358456 未加载
评论 #31363169 未加载
评论 #31371848 未加载
评论 #31358222 未加载
eoghannabout 3 years ago
I just imagined trying to explain to my non-techy colleagues how to get the pasted &quot;stuff&quot; to look like the copied &quot;stuff&quot; and that pretty much answered the question...<p>Everything about Windows and Microsoft office is annoying to someone who knows how to use a computer properly; unfortunately, the vast majority of people using them do not. I work with people who use Excel every day and will still do the maths in their head and type into the cells because formulas are too difficult for them to master.
评论 #31358550 未加载
pupppetabout 3 years ago
It&#x27;s tough because you don&#x27;t want the formatting...until you. If I&#x27;m editing text that has a few bolded words I&#x27;d be immediately annoyed if the pasted text didn&#x27;t have the bolded instances.
评论 #31358402 未加载
xcambarabout 3 years ago
Many users, and maybe most outside HN, either:<p>* don&#x27;t care about the misformatting<p>* actually want the red font and underlining from the web page they&#x27;re copying from.
评论 #31357346 未加载
gumbyabout 3 years ago
This has been how I remember copy&#x2F;paste working on the on the Alto back in the 1970s. I believe copy&#x2F;paste was invented by Larry Tesler and it wasn&#x27;t just in the editor (Bravo&#x2F;Gypsy -- I can no longer remember) but worked this way in other programs as well.<p>PARC was a magical place back then.
Tagbertabout 3 years ago
I’m sure Win&#x2F;Mac&#x2F;Lin all support multiple formats in their clipboard that can be requested by the apps upon paste.<p>To support this should also be standard key combinations that allow the user to paste plain text or rich text as needed. I often want to paste plain text but I’m OK if I need to use an additional modifier for that. I can see reasons why most people expect a rich text result based on history so I don’t think it is worth disrupting that precedent. Those of us, to whom it matters can adapt.<p>Apps should also provide clipboard controls to chose the paste format. Sometimes there are additional paste types that would be relevant. Some apps, like the MS Office apps do this but it is not universal.
topspinabout 3 years ago
Copying anything other than the characters&#x2F;code points&#x2F;whatever <i>by default</i> is a misfeature. Should it be possible to copy formatting? Yes, of course, in those rare, specialized cases when it&#x27;s useful and likely to work in a sane manner. Otherwise it&#x27;s a bad idea.<p>I wish I could speak with the people behind text selection in Microsoft Word and other applications. The selection automatically expands to include additional characters, usually whitespace characters although other junk gets pulled in as well, and is a frustration. The behavior seems incoherent; grabbing extra characters for unfathomable reasons.<p>When the user expends effort to precisely select something this should be respected, not interpreted as an opportunity to apply whatever heuristic gymnastics someone, somewhere for some reason thought was a good idea.
FabHKabout 3 years ago
It seems to me that the general paradigm is that the copy&#x2F;paste operation copies over everything, if the receiving app supports it, and degrades gracefully, otherwise. In other words: copy over as much as possible.<p>Mail supports rich text, so that&#x27;s what&#x27;s copied.<p>Agreed though: in the scenario you describe, it&#x27;s often not what&#x27;s desired, but that&#x27;s why there&#x27;s another key combination to support this use case without breaking the consistency of the general paradigm.
pinacarlos90about 3 years ago
Plain text copy&#x2F;paste should be the default and crtl+shift+v to include formatting
wnissenabout 3 years ago
Rich text is high-entropy, plain text is strictly lower entropy. If you lose the painstakingly applied formatting, you&#x27;ll be sad, at least sadder than you were if you had to reset the formatting, which is comparatively easy.<p>I get you, my emails are plain text by default, but this is a relatively straightforward answer. Microsoft has been using rich text pasting since the 90s, I think. It was definitely considered a big feature in that era.
nendabout 3 years ago
It&#x27;s useful if you want to copy, say a bulleted list over, or keep various bold&#x2F;italicized words.<p>I would say it&#x27;s usually 50&#x2F;50 whether I want to keep the formatting or not. But either way most applications support both copy with formatting and copy without formatting.
Tomteabout 3 years ago
It gets worse: on Microsoft Edge I have to wait half a second or so after selecting text before I press Ctrl-C. If I try to copy too fast it won&#x27;t copy.<p>Yes, this &quot;cloud clipboard&quot; thing is off, verbatim copy is on. i have no idea why on earth they do this, but there is some three dots overlay popping up after selecting text.<p>I have no plugins or similar installed. It drives me crazy.
kazinatorabout 3 years ago
&gt; <i>Who decided copy+paste should copy styling&#x2F;formatting?</i><p>I would say, 1980s integrated office appllications for the Macintosh, like ClarisWorks.<p>&gt; <i>It makes absolutely no sense that anyone would want to transplant styling&#x2F;formatting into an email</i><p>It absolutely makes a ton of sense: often you want to copy text containing bullets, bolding, italics, underlining and ... oh: tables?<p>There are times when you don&#x27;t want the formatting, like for instance when you just want to quote some passage of text, without quoting its 24 point font.<p>It is essential to have a command to paste without formatting. You need it both ways.<p>In 2022, can&#x27;t you get an e-mail program whose editor has paste with and without formatting?
评论 #31359280 未加载
joeman1000about 3 years ago
I’m looking at a company… it’s name starts with Micro… I am currently <i>forced</i> to work in excel today and I can’t describe how excruciating it is to do even the simplest things. This may be a ‘spreadsheet thing’, or it may be a MS thing (probably both). Coming from a few hours in emacs into a big-ol’ spreadsheet just shocks my system. I can’t get over how many idiosyncratic and unintuitive things they can cram into one screenful. It’s a feat in mass user torture. I’m going to write a proper post on why no one should use excel, especially if they’re in a technical field.
alin23about 3 years ago
Yea it’s annoying more often than it’s useful. As always, there’s a macOS app for that: <a href="https:&#x2F;&#x2F;sindresorhus.com&#x2F;pure-paste" rel="nofollow">https:&#x2F;&#x2F;sindresorhus.com&#x2F;pure-paste</a>
knoebberabout 3 years ago
I sometimes copy paste things into the browser URL bar to strip formatting
评论 #31357502 未加载
评论 #31357311 未加载
评论 #31357681 未加载
评论 #31357460 未加载
luxeo223about 3 years ago
Ctrl-Shift-V pastes without formatting in most applications
评论 #31357261 未加载
评论 #31357080 未加载
swahabout 3 years ago
Conclusion: the majority of HN never saw how a non-technical person uses a computer.
yubioxabout 3 years ago
I keep a terminal with vim open, almost every time I copy I paste there and recopy. So stupid and annoying.
moralestapiaabout 3 years ago
Thank you for posting this, I wanted to ask HN about it sometime.<p>I have no clue why somebody thought this was a good idea.<p>In 20 years of using computers everyday, I have never, EVER, had the need to copy the source format into whatever thing I&#x27;m doing. On the contrary, every single time I open Notepad, paste it there and copy it again ... I know about ctrl+shift+v or something, but I never get it right and also I already have developed muscle memory for Notepad.<p>Also, who decided that pasting w&#x2F; format should be the default behavior, sorry but, wtf.<p>Is there any real use case for this? Anyone finds this useful? Any scenario where this is actually useful and I&#x27;m missing it because I&#x27;m not familiar with X?
评论 #31357805 未加载
评论 #31366053 未加载
paxysabout 3 years ago
The OS will actually copy both the raw text and text with formatting. It&#x27;s up to the client app to let you choose which one to paste. Most of them offer both (&quot;paste without formatting&quot;).
HanyouHottieabout 3 years ago
My go-to method to strip formatting was Win+R, Ctrl+V, Ctrl+A, Ctrl+X (or C), Esc. This opens the run box, pastes the text (without formatting, because it&#x27;s the run box), selects it, copies it, and closes the run box. It can be done quickly and entirely with the left hand.<p>Then I found this neat little program [1] that will paste without formatting for you with a single hotkey.<p>[1]: <a href="http:&#x2F;&#x2F;stevemiller.net&#x2F;PureText&#x2F;" rel="nofollow">http:&#x2F;&#x2F;stevemiller.net&#x2F;PureText&#x2F;</a>
kelnosabout 3 years ago
I think this makes perfect sense, but I agree it can be annoying. I wouldn&#x27;t want a copy-paste operation to be lossy by default. If I were copying a table or something like that, I would almost certainly want that formatting preserved at the destination.<p>To me, the real problem is that when you don&#x27;t want to bring formatting along, it&#x27;s not obvious how to do that, and it&#x27;s not implemented universally. Fix that, and I don&#x27;t think there&#x27;d be as much to complain about.
munk-aabout 3 years ago
If copy-paste didn&#x27;t copy formatting it&#x27;d be impossible to copy formatting without a special other interaction - it&#x27;s usually easy enough to get around this behavior by either using ctrl+shift+v or else paste into a plain text editor and copy out of there.<p>I almost never appreciate this feature but I can comprehend why it exist and it&#x27;d be extremely awkward for users that rely on it if it didn&#x27;t.
pavlovabout 3 years ago
Trying to literally answer your question of who came up with this:<p>I&#x27;m pretty sure Windows 95 already allowed rich text on the clipboard (using the RTF format), and at least Word and Excel both supported it. Mac OS X also had RTF support from the start.<p>Nowadays most desktop applications write HTML to the clipboard instead of RTF, I believe. And that&#x27;s how the formatting ends up in your Gmail editor inside a browser.
评论 #31358091 未加载
Ekarosabout 3 years ago
I think it kinda makes sense when you are using other Office tools. Formatting in that case might be something user wants.<p>The insane perversion comes from copying from VSCode where you get even the background colour?!?! Or the fun thing that copying formatting sometimes works from Linux running in Virtualbox...
RajT88about 3 years ago
As some have pointed out, CTRL+SHIFT+V will save you here on Windows.<p>It was annoying before I learned this trick; I had been using Notepad instead to strip formatting.<p>With the shortcut, this is fine for me for most apps.<p>What drives me barking, raving, drooling mad is the fact that it is possible for an app to lock the clipboard. Bad apps will silently cause the clipboard to fail to update, which leads to the attentive interrupting their work to go back and re-copy. The less attentive, this leads to them sending a message they did not intend to send!<p>Bad apps locking the clipboard have been around for a long time now, but seem to have been becoming more common lately. As near as I can tell the locking behavior started with Windows 7, but may have actually been Vista (I never used Vista for my day-to-day work, just test environment).
评论 #31358500 未加载
Kozmik1about 3 years ago
It&#x27;s amazing that Microsoft works so hard on this bs, but does zero to have Excel support copying newline separated (or comma separated, otherwise clearly dilineated) text pop into Excel properly on paste, something that would actually be useful!
ochristabout 3 years ago
In some programs on Windows, you can use Shift + F10 which will bring up a special menu with some options concerning copy and paste. If you can choose &#x27;Insert special ...&#x27; from this menu you can now select how you want to insert from the clipboard (works on some versions of Excel and also some browsers). This also seems to work in Linux, but I don&#x27;t know about Mac.
lostloginabout 3 years ago
Another issue with copy + paste is that history isn’t preserved. Why a clipboard manager isn’t a piece of the OS is a mystery to me.<p>Every so often I wonder how much data is lost by copying over the copy and then finding the initial copy is gone.
Hamchaabout 3 years ago
I&#x27;d wager there&#x27;s enough people, but I never looked into it so I have no data other than the people I know IRL.<p>I will add something though, I don&#x27;t think the other way lends itself too well to being &quot;discoverable&quot;. I just had my brother copy some data across documents with different formatting and he didn&#x27;t know that &quot;paste without formatting&quot; was ever an option and now I think, if it ever worked the other way around, would I ever know that &quot;Paste with formatting&quot; is an option if the app defaults to unformatted paste?
NKosmatosabout 3 years ago
Thank you for this!!! I’m sick and tired of seeing emails with 4 different fonts&#x2F;style&#x2F;formatting. I hate stupid Microsoft programs (I’m looking at you Outlook and Teams) that insist on copying all the stupid info from a message. I have no problem with copying the style, but they should use a new key or option for it. Leave copy paste as it is (yeah I know about paste special and paste text only and almost all other tricks mentioned here).
d--babout 3 years ago
At some point in history, rich text formatting was pretty uniform. Copying from word to textpad or outlook just worked.<p>You definitely wanted to keep what was in italics, bold, superscript and so on, so at least that made sense.<p>Then why not fonts and colors? From a word document to powerpoint, it makes sense to keep all the formatting.<p>What messed everything up is the web. You can’t paste anything into gmail without the formatting to be all screwed.<p>It’s annoying indeed.
ciabattabreadabout 3 years ago
It’s threads like this that remind me that this website is a niche website.<p>Computing today is meant for the general public. Remember WYSIWYG? Same principles apply here.
bob1029about 3 years ago
Maybe we just need a simple way to turn this behavior on&#x2F;off at the operating system level? Clearly, there are strong arguments for both sides.
superjanabout 3 years ago
This is mostly the office team deciding that this is useful. Probably to provide a consistent experience when copying between apps within the suite.<p>You can turn off.<p><a href="https:&#x2F;&#x2F;www.howtogeek.com&#x2F;howto&#x2F;28478&#x2F;copy-and-paste-in-outlook-without-messing-up-your-formatting&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.howtogeek.com&#x2F;howto&#x2F;28478&#x2F;copy-and-paste-in-outl...</a>
jiveturkeyabout 3 years ago
It makes perfect sense! I guess you didn&#x27;t know, Cmd-shift-V pastes the plain text only, in all or nearly all applications.
wasmitnetzenabout 3 years ago
Even in Linux, it&#x27;s surprisingly hard to make plain pasting the default. I once tried to research how to switch the Ctrl+Shift+V behaviour with Ctrl+V on KDE, and I gave up after a while. Couldn&#x27;t find a way.<p>Ctrl+Shift+V doesn&#x27;t even show up in the Shortcuts config, despite working in every program I&#x27;ve tried and Ctrl+V being in the list.
strongpigeonabout 3 years ago
Outlook used the (still uses? dunno) Wingding font to display smiley faces. To be able to copy paste that would mean copying the formatting as well. Not sure if that&#x27;s the original reason for it, but it&#x27;s definitely a use of this. Lots of users would be confused to see their smiley faces turn into &quot;J&quot;s.
nautiliusabout 3 years ago
It&#x27;s <i>amazing</i> for job applications if you&#x27;re on the receiving end: there is no faster shortcut for triaging an application to &quot;Deleted Items&quot; than mismatched formatting of my name, or &quot;I am really interested in $SOME_SNIPPET_FROM_MY_WEBSITE&quot;.
jonnycomputerabout 3 years ago
On a Mac, copying text from my terminal to Outlook, or to Excel, copies in formatting too. A little frustrating when you copy text from a dark mode theme into a non-dark mode theme and it looks like nothing was copied at all because its all just &#x27;white&#x27;.
zora_goronabout 3 years ago
This small alias can clear the formatting from whatever you have copied to your clipboard on macOS (not sure what the equivalents of `pbcopy`&#x2F;`pbpaste` are on other OS&#x27;s):<p><pre><code> alias noformat=&quot;pbpaste | pbcopy&quot;</code></pre>
mohamezabout 3 years ago
THIS!<p>I hate myself each time I&#x27;m using LibreOffice just for this reason, why the hell would that be the norm?
pengoabout 3 years ago
The clipboard data format for copying and pasting is determined by whoever wrote the software. Some software allows for format conversion of copied data at the point of pasting; again, that&#x27;s a decision made by the software provider.
ww520about 3 years ago
Yes, it&#x27;s really annoying. In the past I had resorted to copy&#x2F;paste into Emacs and then copy&#x2F;paste out into the destination app. Then I learned about the Ctrl+Shift+V trick and just rolled with that.
Vladimofabout 3 years ago
I usually paste it in an edit box that doesn&#x27;t accept formatting list Firefox&#x27;s search box and copy and paste again to get rid of stupid formating... but I agree that this shouldn&#x27;t be the default
fredsmith219about 3 years ago
I like the option. If I want the formatting stripped I paste the text into notepad++, then copy that text. Otherwise I get all the formatting and don&#x27;t need to reapply it.
kcexnabout 3 years ago
Was this a decision? I thought Copy+Paste would just have copied the data in the buffer and paste out the data in the buffer. All metadata and stuff attached.
adamrezichabout 3 years ago
Win+R notepad Enter Ctrl+V Ctrl+A Ctrl+X is just embedded in my muscle memory at this point and I wish it didn&#x27;t have to be.
hitgeekabout 3 years ago
agreed, like others I often resort to using notepad to remove all styling then copy&#x2F;paste again.
leaflets2about 3 years ago
I hit ctrl-f and paste, copy again in the app&#x27;s search field - then the formatting disappears.
renewiltordabout 3 years ago
Cmd-Shift-V and forget about things.
k__about 3 years ago
More importantly:<p>Who decided links are part of styling and should be filtered out when you past without styling?!
groffeeabout 3 years ago
Just paste it into notepad&#x2F;gedit&#x2F;plain text editor first, then recopy it from there.
评论 #31357495 未加载
评论 #31357353 未加载
评论 #31358891 未加载
kurupt213about 3 years ago
I agree that copying formatting should be the special case instead of copying the text only
caromabout 3 years ago
I just paste it into the URL bar and re-copy. Ctrl+l, ctrl+v, ctrl+a, ctrl+c.
freitasmabout 3 years ago
And recently sometimes ctrl-shift-v seems to not work in any application.
Neil44about 3 years ago
Paste into Notepad then copy again to get rid of formatting.
UI_at_80x24about 3 years ago
I agree with you 100%.
__mharrison__about 3 years ago
Obviously not an emacs user... (wink)
Vosporosabout 3 years ago
The Devil.
erellsworthabout 3 years ago
It was me. Sorry, my bad.
ledjonabout 3 years ago
1000% agreed
more_cornabout 3 years ago
Idiots
standardlyabout 3 years ago
ctrl+shift+v
lfkdevabout 3 years ago
strg+shift+v
评论 #31357714 未加载