Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding button to inject window.json value #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IzzleNizzle
Copy link

This PR add's a button to the option bar that adds the value of the JSON to the global variable window.json as per the docs approach:

json = JSON.parse(document.getElementById("jsonFormatterRaw").querySelector("pre").innerText)

Attempted resolve of #231

Related unresolved PR:
#242

Inspiration
#231 (comment)

image

@c4ldas
Copy link

c4ldas commented Oct 20, 2023

I have just tried and it worked nice, thanks! Hope that is available in the official version!

@JohnRDOrazio
Copy link

👍 to pulling this into a new release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants