Have you considered using viewof? That way you could add the iframe to the DOM (within the cell wrapper) and still return a promise as value. It would also allow you to wrap iframe modifications in a custom API.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Detecting when cells are "ready" when embedding a notebook | 6 | 1027 | November 2, 2020 | |
Canvas tainted by cross-origin requests
|
1 | 1052 | March 13, 2018 | |
Problem with awaiting a FileAttachment | 6 | 1177 | September 14, 2020 | |
Importing notebook issue, never get onload event | 1 | 401 | January 19, 2022 | |
Best practices for embedding? | 8 | 488 | April 30, 2021 |