diff --git a/try-rzk/index.html b/try-rzk/index.html index 9f0b22ab2..bf97e7262 100644 --- a/try-rzk/index.html +++ b/try-rzk/index.html @@ -315,6 +315,7 @@ /* use default snippet if one is not set in the query parameters */ if (params.has("snippet")) { snippet = decodeURIComponent(params.get("snippet")); + myCodeMirror.setValue(snippet); } else if (params.has("snippet_url")) { snippet_url = decodeURIComponent(params.get("snippet_url")); fetch(snippet_url).then(function (response) {