A new feature on SO is that if you have a link to jsfiddle but no code, the system prevents you from posting, saying "Links to jsfiddle.net must be accompanied by code"

However, this error message also appears if you start editing and add the link, but then click on Cancel to opt out of your edits!

Edit: I don't always get the error message though. It seems to depend on which answer I'm trying to edit. Need more testing.

More edit: Yes, of course the error message does not appear for answers that have one or more words backticked (which count as code. Duh).

  • 1
    This got nothing to do with cancel. The validation occurs in the .blur() event of the editor so whenever you get out of it you'll see the error message. It does not block the cancel. – Shadow Wizard Wearing Mask V2 Jun 5 '13 at 12:51
  • Reproduced indeed. The popup even appears after the "Abandon this edit" message is acknowledged. – Frédéric Hamidi Jun 5 '13 at 12:51
  • @Sha, it does not block the cancel, but still displays the error popup on the main page after the edit is canceled. – Frédéric Hamidi Jun 5 '13 at 12:52
  • @FrédéricHamidi can't reproduce this, the red box disappears after I cancel. – Shadow Wizard Wearing Mask V2 Jun 5 '13 at 12:53
  • @ShaWizDowArd Ehm, you mean you have the red error box even before you cancel? For me, it only appears after I do. – Mr Reenlist'er Jun 5 '13 at 13:04
  • @MrLister yes. Add link to jsfiddle without code. Click anywhere outside the editor. The red box will probably pop up. – Shadow Wizard Wearing Mask V2 Jun 5 '13 at 13:07
  • @Sha, maybe this behavior is navigator-specific. I can reproduce it on Firefox 21.0 (Windows). – Frédéric Hamidi Jun 5 '13 at 13:10
  • For what it's worth and regarding @Sha's last comment: I reproduced this by editing an existing question and removing the code while keeping the fiddle link, which may take a different path than adding a fiddle link without code. – Frédéric Hamidi Jun 5 '13 at 20:52

You must log in to answer this question.

Browse other questions tagged .