Basically I want to
strike through some text; how can I do this?
Ok, I have discovered a simple way. Copy
this text and paste into your e-mail. Edit the text. Voila!
This may not be for everyone (I work in web development), and it's slow, but if you use Chrome or Chromium you can edit the HTML directly and it works fine.
- Right-click on the text you want to strike out
- Choose 'inspect element'
- The inspector will bring up that text - right click on it and choose 'edit html'
- Wrap the text you want to strike out with
While this is a very old query, I have found a nifty way to work on it, thus posting it as a solution.
There is a shortcut Alt+Shift+5 to toggle the strike-through. Select the text to strike through, click once Alt+Shift+5 the text is stroked, click once more the text is back to normal.
For Mac: Cmd+Shift+x
Personally, I type emails that need more formatting options in the CKeditor demo. Then, I copy the final text into Gmail - the formatting is retained.
There is no native way to do it, so you either do it in Word (or any other text editor that supports it) and then copy/paste the text in the compose window or you install a browser add-on.
On Mac in Google Chrome, select the text, and hit Cmd-Shift-x.
This extension works in Firefox!!!
Unfortunately, I couldn't get that to work, but if you're familiar with the console, you can paste this line into it to strikethrough any selected text:
window.getSelection().anchorNode.parentNode.style.textDecoration = "line-through"
To get to the console, you can right click anywhere in the HTML document of the Chrome Browser and choose "Inspect Element," or you can press "option / command / J" at the same time on a Mac machine.
F12 or "control - shift - J" opens up the console on PCs.
Once you've done this, the console will remember your command, and you can press the up arrow to cycle through past console commands. When you return to this particular one, just press enter again to apply it.
January 22nd 2019, Google announced:
We're adding three new features to Gmail:
- Shortcut to undo/redo in the compose window
- Shortcut to strikethrough text
- Ability to download messages as .EML files in rfc822 format from Gmail on the web
from New Gmail compose formatting and download options in the official G Suite Updates blog.
Command (or Ctrl) + Shift + X.
protected by Community♦ May 13 at 16:27
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?