The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,835 other subscribers

Anyone who knows where to find the actual source code of the Stack Overflow / Stack Exchange WYSIWYG editor? (it has a strikethrough bug)

Posted by jpluimers on 2026/08/27

I edited an answer to [Wayback/Archive] git – View rendered output of a gist? – Stack Overflow¹ and it appears that Stack Overflow / Stack Exchange have introduced a WYSIWYG editor of which the help still points to the old Markdown editor.

[Wayback/Archive] Markdown Editing Help – Stack Overflow

The problem is that the new WYSIWYG editor generates Markdown that in part cannot be properly rendered by the Markdown question / answer viewer (for instance, strikethrough is emitted as by the WYSIWYG editor in Markdown as ˜˜strikethrough˜˜ but the viewer can only render <s>strikethrough</s>.

Since their meta sites are toxic as hell:

is there anyone that knows where to find the source code of the Stack Overflow / Stack Exchange  WYSIWYG editor?

Thanks!

From the links below, I doubt the StackExchange pagedown repository is the one as it has been unmaintained since 2012 and the WYSIWYG editor is still in beta: I would have expected bug fixes over time, but there aren’t. Or maybe that all is caused by the toxicity on their platform?

This was my queste for information and some of the links I found:

  1. [Wayback/Archive] script – Stack Exchange WYSIWYG Editor – Stack Apps
  2. [Wayback/Archive] jquery – What is the WYSIWYG editor used by Stackoverflow? – Stack Overflow
  3. [Wayback/Archive] What WYSIWYG editor is Stack Overflow using? – Meta Stack Exchange
  4. [Wayback/Archive] Reverse Engineering the WMD Editor – Stack Overflow
  5. [Wayback/Archive] Newest ‘wysiwyg’ Questions – Stack Overflow
  6. Unmaintained since 20150904 [Wayback/Archive] GitHub – shu8/SE-WYSIWYG-Editor: A WYSIWYG Editor for the Stack Exchange sites! · GitHub
  7. Unmaintained since 20081203 [Wayback/Archive] GitHub – cky/wmd: Stack Overflow branch of WMD (not maintained any more, please use PageDown instead) · GitHub
  8. Unmaintained since 20220117 [Wayback/Archive] GitHub – galeo/pagedown-editor-only: Use Stack Overflow’s “PageDown” markdown editor in web browsers(the client side), and implement the content preview with python on the server side. · GitHub
  9. [Wayback/Archive] Stack Overflow’s Markdown Editor Adapted | Arve Knudsen’s Blog
  10. Last commit on 20231220 [Wayback/Archive] GitHub – aknuds1/pagedown: Markdown to HTML converter and editor, rewritten · GitHub
  11. Unmaintained since 20150622 [Wayback/Archive] GitHub – ujifgc/pagedown: Markdown to HTML converter and editor (hg-git clone) · GitHub
  12. Unmaintained since 20150622 [Wayback/Archive] Google Code Archive – Long-term storage for Google Code Project Hosting.
  13. Unmaintained since 20180108: [Wayback/Archive] GitHub – StackExchange/pagedown: The Markdown editor and converter used on Stack Overflow and the other Stack Exchange sites · GitHub
  14. Last commit on 20230327 [Wayback/Archive] GitHub – benweet/stackedit: In-browser Markdown editor · GitHub
  15. [Wayback/Archive] Opinion-Based questions don’t respect “Enable new editor” setting nor remember the preferred editor – Meta Stack Overflow

    It appears that when posting on Opinion-based questions, we are now forced to use the WYSIWY(D)G (don’t) editor; the posts don’t respect the Enable new editor preference.

    In addition to this, it appears that the WYSIWY(D)G editor will always default to the rich-text editor. If you change to Markdown (with preview) mode, and then post a new reply, or edit the one you just posted, it will return to rich-text editor.

    A animated image, showing that the preference is lost after edits to a post is saved and then the editor is reopened.

    This is not limited to opinions based questions, as it behaves the same for my answer and for:

  16. [Wayback/Archive] Why do “Best Practices” question NOT default to my normal Markdown Mode? (I lost 1/2 an answer) – Meta Stack Exchange (which should have been moved to Meta Stack Overflow, but hey – why commenting under the question that it belongs there without moving it there?)
  17. [Wayback/Archive] I just lost an hour’s worth of writing on an open-ended post reply because the Markdown editor lost my text on submission – Meta Stack Overflow
  18. [Wayback/Archive] Editor ignores changes after switching from WYSIWYG to markdown + preview for responses to opinion-based content – Meta Stack Overflow

    Hopefully you have resolved Why do “Best Practices” question NOT default to my normal Markdown Mode? (I lost 1/2 an answer) as well. Losing answers is no okay.

Queries as part of the queste:

  1. [Wayback/Archive] pagedown stack overflow switch back to markdown editor at DuckDuckGo
  2. [Wayback/Archive] stack overflow edit switch wsysisyg to markdown editor at DuckDuckGo
  3. [Wayback/Archive] stackoverflow wysiwyg editor at DuckDuckGo
  4. [Wayback/Archive] stack overflow edit switch wsysiwyg to markdown editor at DuckDuckGo

Note that the day after editing the answer in the first link at the top of the post, something at Stack Overflow / Stack Exchange changed so now the WYSIWYG editor suddenly did have a button to switch back to the Markdown editor and I could manually fix the strikethrough problems. See the [Wayback/Archive] Revisions to View rendered output of a gist? – Stack Overflow

[Wayback/Archive] 570463378-282320af-e732-4292-b505-62f5ff972b8c.png (643×47)

Oh, when bumping into the issue, I didn’t even have the WYSIWYG feature turned on as I was not aware the feature had been introduced – it also shows how infrequently I add/edit data there (and how wrong it is from Stack Overflow / Stack Exchange to enable the WYSIWYG editor on their sites even if it is turned off in your profile):

[Wayback/Archive] 570457963-f92b0155-5dfb-4b48-b0e5-ab61c8777fe4.png (533×183)

Preferences

Interface

Enable new editor

Beta

When enabled, you will be opting into a beta test for our new text editor.

--jeroen

¹ as a result I posted a table of tests of how github renderers fail/succeed with gists in my earlier blog post Sweep the Strait: Minesweeper, but in the Straitt of Hormuz (plus some tests with RawGit alternatives).

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.