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
editor: allow other permissions to iframe embeds
Abdullah Atta1350784c33d8
diff --git a/packages/editor/src/extensions/embed/component.tsx b/packages/editor/src/extensions/embed/component.tsxindex c57b7abd7..848825570 100644--- a/packages/editor/src/extensions/embed/component.tsx+++ b/packages/editor/src/extensions/embed/component.tsx@@ -153,7 +153,16 @@ function getSandboxFeatures(src: string) {try {const url = new URL(src);if (url.protocol === "http:" || url.protocol === "https:")- features.push("allow-scripts", "allow-same-origin");+ features.push(+ "allow-scripts",+ "allow-same-origin",+ "allow-popups",+ "allow-popups-to-escape-sandbox",+ "allow-forms",+ "allow-modals",+ "allow-downloads",+ "allow-presentation"+ );} catch {// ignore}