and here's the corresponding console output in Chrome:
The code itself is exactly the one on github. Here's the crm-card.js file:
exports.main = async (context, sendResponse) => {
sendResponse({
sections: [
{
type: 'text',
text: 'Clicking the button will open a modal dialog with an iframe that displays the content at the provided URL.',
},
{
type: 'button',
text: 'Open iframe',
onClick: {
type: 'IFRAME',
// Width and height of the iframe (in pixels)
width: 1000,
height: 800,
uri: 'https://product.hubspot.com/blog',
},
},
],
});
};
I have the same issue happen when I add an iFrame button to my own project. Would anybody have any pointers? Thanks!