We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
frame
context
1 parent b5a0a70 commit dd9f034Copy full SHA for dd9f034
playground/next/editor.mjs
@@ -565,6 +565,10 @@ window.app = createApp({
565
gatherHash() {
566
const url = new URL(window.location);
567
const hash = new URLSearchParams(url.hash.slice(1));
568
+ this.contextDoc = JSON.parse(hash.get('context') || {});
569
+ setEditorValue(this.contextEditor, this.contextDoc);
570
+ this.frameDoc = JSON.parse(hash.get('frame') || {});
571
+ setEditorValue(this.frameEditor, this.frameDoc);
572
this.doc = JSON.parse(hash.get('json-ld') || {});
573
setEditorValue(this.mainEditor, this.doc);
574
this.outputTab = hash.get('startTab').slice(4);
0 commit comments