vihanb / PPCG-Design

A redesign of the PPCG website
codegolf.stackexchange.com
35 stars 13 forks source link

Stack Snippets do not load in the SE editor #125

Open ETHproductions opened 7 years ago

ETHproductions commented 7 years ago

When writing/editing a question/answer while the userscript is turned on, the Stack Snippet icon does not appear in the toolbar, nor do existing Stack Snippets render as they should (they just appear as code blocks). Snippets do render properly in answers that are not being edited. Everything works fine when the userscript is turned off.

I have a hunch that this is related to #124...

Tested in Firefox 54 on Windows 7

kritixilithos commented 7 years ago

I can confirm this issue for Chrome 59.

vihanb commented 7 years ago
  1. obvious solution is to use esfiddle (cross-browser, ES7, syntax highlight, etc.) even supports array comprehension
  2. [no-repro]
ETHproductions commented 7 years ago
  1. The whole point of stack snippets is to integrate the code right into the post, though I see your point...
  2. You're on Mac, right? That might be part of the issue.
vihanb commented 7 years ago

@kritixilithos uses mac too though AFAIK

kckennylau commented 7 years ago

Windows 7 32-bit Chrome 59.0.3071.115 here:

  1. Confirmed.
  2. No repro.
kritixilithos commented 7 years ago

Yes, I also use macOS. @vihanb what browsers have you tested on?