impl #309 observe font face set changes

This commit is contained in:
Yanzhen Yu
2020-09-17 02:11:34 +08:00
parent 412f6ca95e
commit 2440701926
7 changed files with 121 additions and 4 deletions

View File

@@ -95,7 +95,8 @@ function getCode(): string {
window.__IS_RECORDING__ = true
rrweb.record({
emit: event => window._replLog(event),
recordCanvas: true
recordCanvas: true,
collectFonts: true
});
`);
page.on('framenavigated', async () => {
@@ -105,7 +106,8 @@ function getCode(): string {
window.__IS_RECORDING__ = true
rrweb.record({
emit: event => window._replLog(event),
recordCanvas: true
recordCanvas: true,
collectFonts: true
});
`);
}