Save images offline, in the snapshot (#770)
* Implemented image restore from rr_dataURL * Implement saving images in the snapshot * Fixed image saving, added a test * Rename data-src to data-rrweb-src * Updated the guide * Rename recordImages to inlineImages and try catch
This commit is contained in:
committed by
GitHub
parent
dd2cdedcd6
commit
151debad4a
@@ -326,6 +326,7 @@ exports[`integration tests [html file]: picture.html 1`] = `
|
||||
<source type=\\"image/webp\\" srcset=\\"http://localhost:3030/assets/img/characters/robot.webp\\" />
|
||||
<img src=\\"http://localhost:3030/assets/img/characters/robot.png\\" />
|
||||
</picture>
|
||||
<img src=\\"http://localhost:3030/images/robot.png\\" alt=\\"This is a robot\\" />
|
||||
</body></html>"
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user