A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
clipper: set full src url on image.src
Ammar Ahmedf5d73a0c8f1c
diff --git a/packages/clipper/src/clone.ts b/packages/clipper/src/clone.tsindex 8df1629af..ab87becdb 100644--- a/packages/clipper/src/clone.ts+++ b/packages/clipper/src/clone.ts@@ -26,9 +26,13 @@ type CloneNodeOptions = {export function cloneNode(node: HTMLElement, options: CloneNodeOptions) {node = node.cloneNode(true) as HTMLElement;+ const images = node.querySelectorAll("img");if (!options.images) {- const images = node.getElementsByTagName("img");for (const image of images) image.remove();+ } else {+ for (const image of images) {+ image.src = image.currentSrc;+ }}if (!options.styles) {