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 1f15f6b commit 9bca133Copy full SHA for 9bca133
playground/next/editor.mjs
@@ -353,6 +353,12 @@ window.app = createApp({
353
const url = new URL(window.location);
354
const hash = new URLSearchParams();
355
hash.set('json-ld', JSON.stringify(this.doc));
356
+ if (this.contextDoc && JSON.stringify(this.contextDoc) !== '{}') {
357
+ hash.set('context', JSON.stringify(this.contextDoc));
358
+ }
359
+ if (this.frameDoc && JSON.stringify(this.frameDoc) !== '{}') {
360
+ hash.set('frame', JSON.stringify(this.frameDoc));
361
362
hash.set('startTab', `tab-${this.outputTab}`);
363
url.hash = hash.toString();
364
return url.toString();
0 commit comments