question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

i am trying to make a “Save to Netlify” feature but am a bit lost about how to hack this together. i edit using visbug and the dom changes in the dev tools, but when i run document.documentElement.outerHTML or document.body.innerHTML i still see the old (original) DOM printed out. is there somewhere i can just “download” all the post edited HTML/CSS?

thanks Shawn

_Originally posted by @sw-yx in https://github.com/GoogleChromeLabs/ProjectVisBug/issues/141#issuecomment-447288902_

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
argyleinkcommented, Jan 22, 2020

if visbug chooses the serialize/deserialize route, there’s a few ways to attack it. and yep, in another branch i’m hacking on a pub/sub visbug api (which includes a serialization of changes) so other tools can either receive the changes visbug made, or visbug can consume them from an external caller and apply them.

it’s an interesting problem, lots of ways to solve it, not enough time to pick any lol.

1reaction
sw-yxcommented, Jan 1, 2020

100% lets do it! i’ll try to make a standalone demo of how to upload files to netlify without using the netlify ui without authentication. once i have that, we can lean on your visbug knowledge to connect the dots.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to save server-side data - Netlify Support Forums
@sirjubjubbird No, it is not possible to save anything server-side on Netlify because Netlify doesn't send files from a server. All files are ......
Read more >
Get started with Netlify
Select Save & Deploy. As well as creating a new site on Netlify, this process clones the demo project repository to your GitHub...
Read more >
Saving data to Supabase and getting it back again - Netlify
Executing this code will save content into our database table. Let's invoke it in a serverless function after connecting to the database using ......
Read more >
How to Include Files in Netlify Serverless Functions
One option is to tell our build system the paths of any additional files that should be included in the function deployment. This...
Read more >
Saving with Serverless - Netlify
I give the app some love every new baseball season, so I eventually rebuilt it to use the JAMstack, separating the API from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found