Mountain Project Logo

Strikeout option in text editor

Original Post
Brent Kelly · · Boulder, CO · Joined Jul 2010 · Points: 171

How hard would it be to add the “Strikeout” text style feature alongside “Bold” and “Italic”.

Always fun to pretend to say the wrong thing and then strike it out. 

also, nice to be able to omit text from concern, but still keep an easy record of it.

Low priority ask, given that it’s just a font style, but is it possible? How hard to implement?

Cesar Cardenas · · San Diego, CA · Joined Dec 2016 · Points: 30

I̶m̶p̶o̶s̶s̶i̶b̶l̶e̶ good idea

Brent Kelly · · Boulder, CO · Joined Jul 2010 · Points: 171
Cesar Cardenas wrote:

I̶m̶p̶o̶s̶s̶i̶b̶l̶e̶ good idea

HOW DID YOU DO THAT?!?

Marc801 C · · Sandy, Utah · Joined Feb 2014 · Points: 65

I don't know how Cesar did it, but I've used this one: https://www.piliapp.com/cool-text/strikethrough-text/

Ron Birk · · Boston, MA · Joined Sep 2009 · Points: 6,008

Interesting is pressing ctrl-s in the editor marks the text as strikeout, but it's not displayed as such. ctrl-b and ctrl-i does work for bold and italic. Even when pressing edit, the strikeout comes back but is not shown in normal display. Strange. Try it out, press quote and you see the strikeout!

(the words strikeout, bold and italic have all been marked)

Seems the editor correctly adds <s>xxx</s> correctly but not the normal text display.

Ron Birk · · Boston, MA · Joined Sep 2009 · Points: 6,008
Brent Kelly wrote:

HOW DID YOU DO THAT?!?

It was done by using different letters in the unicode alphabet that renders with strikeout look. It's not "true" strikeout (depending how you look at it). Meaning you cannot just turn it on/off with flag.

Marc801 C · · Sandy, Utah · Joined Feb 2014 · Points: 65
Ron Birk wrote:

It was done by using different letters in the unicode alphabet that renders with strikeout look. It's not "true" strikeout (depending how you look at it). Meaning you cannot just turn it on/off with flag.

In the generator I posted above (which I got from another MPer), you can click copy and then just paste it into a post  ̶l̶i̶k̶e̶ ̶t̶h̶i̶s̶.

Nick Wilder · · Boulder, CO · Joined Jan 2005 · Points: 4,098

The StrikeThrough button has been added!

Marc801 C · · Sandy, Utah · Joined Feb 2014 · Points: 65
Nick Wilder wrote:

The StrikeThrough button has been added!

w00t!!!

Brent Kelly · · Boulder, CO · Joined Jul 2010 · Points: 171

Inconceivable!

Amazing!

Awesome! Thanks!

Really looking forward to being able to quickly strikethrough items sold in the Buy/Sell forums! Much obliged.

Ron Birk · · Boston, MA · Joined Sep 2009 · Points: 6,008
Marc801 C wrote:

In the generator I posted above (which I got from another MPer), you can click copy and then just paste it into a post  ̶l̶i̶k̶e̶ ̶t̶h̶i̶s̶.

What I tried explaining above is that the generator generates new unicode characters out of the ones you entered. These look like strikeout characters. That's why it works anywhere you can enter unicode characters. But it's not true strikeout, meaning you cannot just turn it on/off. Its a different alphabet that looks like the latin letters with a strikeout.

Either way, now we have real support which is nice.

Brent Kelly · · Boulder, CO · Joined Jul 2010 · Points: 171


Latin letters, huh?  

(I mean to be friendly and cheeky, even if I’m being an asshole. Gunga la gunga.)

Thanks for the unicode “entirely separate characters” explanation. Fascinating!

Thanks to the MP dev team, we certainly have a lot going for us.  

Guideline #1: Don't be a jerk.

Discuss MountainProject.com
Post a Reply to "Strikeout option in text editor"

Log In to Reply
Welcome

Join the Community! It's FREE

Already have an account? Login to close this notice.