Cut and Paste from Edge to Outlook Loses Formatting - outlook

At my job we have an internal web application which creates some formatted text which is inserted into an email. My preferred browser for the application is Microsoft Edge. Up to a few months ago, when I cut and pasted the screen Outlook would preserve the formatting. Now the formatting is not copied along with the text and the hyperlinks go away. What could be doing this? Maybe it isn't Outlook that is pasting it as Plain Text because I have been going over to IE and cutting and pasting from there and IE still preserves the formatting(but blows it up).

Related

Problem with TortoiseSVN drag and drop classes to textarea in Firefox

When dragging php files from the TortoiseSVN commit window into an textarea the textarea receives the files multiple times.
When dragging 1 file, the textarea receives it one time.
When dragging 2 files, the textarea receives it two times.. and so on.
Example image:
This seems to appear only in Firefox. (My Version is: 72.0.2 (64-Bit))
Any idea how to fix this?
None of the involved programs (Firefox, TortoiseSVN or Subversion itself) have the concept of "classes" but I can reproduce the issue if I drag some files from the commit dialogue. As workaround, I suggest you use the clipboard instead, which also offers a higher degree of customisation. Right click on the file list and select an appropriate item in the Copy to clipboard submenu:
Then just paste into Firefox the usual way: right click and Paste, Ctrl+V or whatever.

Paste Not Working First Time on CkEditor on Edge Browser

I'm trying to paste a text on CkEditor but it's not working. Neither CTRL+V Nor Right Click & paste works. This is happening on the very first time when application loads and once it loads and if I try again copying and pasting it then works i.e. on second attempt of copy & paste it's working fine!
Also, the right click and paste is enabled for the first time and once paste is selected then nothing happens and paste also becomes disabled also the copied text somehow disappears from clipboard and it's not there anymore so can't paste anywhere else also!
Ironically the same thing is working fine on Chrome but it's not on Edge Browser(Microsoft Edge 42.17134.1.0, Microsoft EdgeHTML 17.17134)
Tried browsing online but out of luck yet as similar issues were raised with CkEditor but fixed past 4.2 version and I'm using Version 4.9
Any leads would be appreciated!

Using highlighting and middle click for copy/paste in RStudio

In linux I frequently highlight text with the mouse to copy, and middle click somewhere else to paste. In RStudio, this does not work, forcing the use of Ctrl+C and Ctrl+V or right-click menus. I often want to quickly copy segments of text between the console, editor, and browsers. Is there a way to get highlight+middleclick working?
This problem has been noted by the RStudio developers and added to their list. Unfortunately, that was five years ago, so don't hold your breath...
There are a lot of alternatives to RStudio. I haven't tried them all but RKward supports middle clicks.

Pasting into web evernote appears double-spaced from OSX Terminal

On osx I want to copy output on terminal screen to evernote.com (the web version). I can do that, but it appears double-spaced.
However, if I take the same terminal output and instead paste into another editor, say Atom, then copy that same text from Atom and back into Evernote (the web version), the text appears normally spaced.
What's up???
Opening chrome developer tools, shows in the double-spaced case, the text is surrounded by paragraph tags, <p>, but in the normal case, the text is surrounded by line break, <br>, tags.
Is the problem some setting in Terminal, the clipboard itself, or Evernote?
It may be pasting with formatting, try right clicking and paste as plaintext or paste without formatting. FWIW the web version currently uses TinyMCE as the editor.
Didn't know about right-clicking within Evernote to paste content, as akhaku mentioned, so tried that, found no plain text option, but the "Paste and Match Style" did the trick.
Here's an image capture from the web interface to Evernote.
Notice the top half appears double-spaced. This was done with a simple copy (highlight with mouse then copy via Command-C) in the OSX terminal into Evernotes' web editor via OSX paste (Command-V).
The bottom half shows the result after right-clicking instead within Evernote, and choosing "Paste and Match Style".
Snapshot of results of pastes into Evernote

Copy-paste code from Visual Studio, but paste UNFORMATTED code

Is there any way to force Visual Studio to copy selected code to the clipboard as unformatted text?
When I am copy-pasting code into Word or more often Outlook I have to do it via Notepad to get rid of the formatting...there has to be an easier way!
This feature can be turned off by editor.copyWithSyntaxHighlighting.
Visual Studio does put unformatted text on the clipboard, but it also puts formatted text. (The clipboard supports multiple simultaneous formats, and the OS assumes that they're simply different representations of the same data, although there's no technical enforcement of that point.)
The application you're using to paste then chooses its preferred format. In Word, and maybe Outlook as well, there is a "Paste Special" command that allows you to choose which format you want to use.
My department uses PureText. Sits in the system tray; copy text, click-it - strips all formatting leaving the plain-vanilla text. I'm sure it's much like PlainTextClipboard.
"PureText is basically equivalent to
opening Notepad, doing a PASTE,
followed by a SELECT-ALL, and then a
COPY. The benefit of PureText is
performing all these actions with a
single Hot-Key and having the result
pasted into the current window
automatically."
The goad for this was flaky Lotus Notes; likes to crash when pasting HTML-marked-up-text that I innocently copied from a web-page....
If you press CTRL+Z after pasting, it will reverse to the non-formatting one, because the formatting actually counts as one step after the regular paste.
When I do it choosing the little pop-up menu option attached to the wee clipboard item "Match Destination Formatting" does the trick for me.
From this blog post I got these instructions for getting rid of the black background when copying & pasting out of VS with the 'Dark Theme' activated, but the html in it can be tweaked to alter the rest of the formatting as required (e.g. set all text to black).
If required, install Productivity Power Tools
Open Tools → Extensions and Updates
Select Online (Visual Studio Gallery) and search for Productivity Power Tools 2012/2013
Download and restart Visual Studio when prompted
Productivity Power Tools Settings
Open Tools → Options → Expand Productivity Power Tools
select HTML Copy
Change the BeforeCodeSnippet option to:
<style type="text/css">.identifier {color:black !important;}</style>
<pre style="{font-family}{font-size}{font-weight}{font-style}">
Change EmitSpanClass to: True
Check EmitSpanStyle is: True
You might find http://www.extrabit.com/plaintextclipboard/ to be a useful tool. Some applications have a paste option which strips formatting, but what you really need is a copy operation that strips formatting, which VS does not offer.
In Outlook 2007, I've changed my default paste to do text only.
Go to Editor Options | Advanced
Under the "Cut, copy, paste" heading choose Pasting from other programs: [Keep Text Only]
And if you still want to paste formatted (less often in my case), use paste special...
Search editor.copyWithSyntaxHighlighting in Settings and disable it. Whoever enabled it by default must be flogged.
This Microsoft Office site offers a workaround that involves writing a macro to replace ctrl+v functionality to paste plain text all the time, but that may not be what you want. You can alternatively remap an unused shortcut (ctrl+?) to provide you with this functionality so you don't have to keep enabling / disabling the macro.
For applications that do not have a "paste special" you could use an application like PureText
The Visual Studio Extension Copy for review may be handy for you. Actually, it does not do unformatted copying, but applies it's own simple text-based template.
It supports a "Stack Overflow" format, which just removes the leading whitespace, while keeping the indentation as much as possible, and introduces some sort of header.
Get it from the from the Visual Studio Gallery and try it out.
Disclosure: I am the author of that Extension. Please notfiy me, if I can improve it to your needs.
A trick when applies:
You don't want to install an extension
Your destination application doesn't have options such as "Paste Special"..
You can copy the code and paste it in VS Code search box (shows when you press Ctrl+F). Then copy it again from there.
Then you can paste unformatted text anywhere you want.

Resources