Zef Hemel
2025-03-23 15:58:34 +01:00
parent e003e926d2
commit 4191fa5d4b
+2 -2
View File
@@ -88,8 +88,8 @@ export const html = `<!DOCTYPE html>
});
};
globalThis.silverbullet.sendMessage = (type, obj) => {
window.parent.postMessage({ type, ...obj }, "*");
globalThis.silverbullet.sendMessage = (type, data) => {
window.parent.postMessage({ type, data }, "*");
}
</script>
</head>