Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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 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).

share|improve this question
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 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 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 Lister 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 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 .