Closed Bug 1156920 Opened 9 years ago Closed 7 years ago

Add support for saving JSFiddles back to MDN content

Categories

(developer.mozilla.org Graveyard :: Editing, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sheppy, Unassigned)

Details

(Keywords: productwanted)

After opening code stored in the wiki in JSFiddle, we need to support saving back to MDN. This will let people use JSFiddle as a testing and debugging aid for code samples.

In other words, we want a round-trip mechanism which takes JS, CSS, and HTML snippets (zero or more of each), sends them to JSFiddle, allows the user to play with them in the fiddle, then, when satisfied, click a Save button that sends all of the code back to MDN, which stores them back into the same place it game from within the wiki content.

This should happen while in the MDN editor; this way, you could just save the code by replacing the original text in the editor with the updated text passed back by JSFiddle.
JSFiddle is prepared so it will load a code and add a JavaScript supported by MDN. This script should provide a method to send back the separated HTML, CSS and JS back to MDN.
Severity: normal → enhancement
Keywords: productwanted
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Resolution: FIXED → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.