mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
clipper: fix build error
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -42,7 +42,7 @@ async function getInlinedNode(node: HTMLElement, options: Options) {
|
||||
|
||||
let clone = cloneNode(node, {
|
||||
images,
|
||||
styles: options.styles
|
||||
styles: stylesheets
|
||||
});
|
||||
|
||||
if (!clone || clone instanceof Text) return;
|
||||
|
||||
@@ -477,7 +477,6 @@ async function getPage(
|
||||
images: config?.images,
|
||||
stylesheets: config?.styles
|
||||
},
|
||||
styles: config?.styles,
|
||||
filter: (node) => {
|
||||
return !onlyVisible || isElementInViewport(node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user