Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Mudita Dixit
Beigetreten 15. Dez. 2021
·
Letzte Aktivität 15. Dez. 2021
Folge ich
0
Follower
0
Gesamtaktivitäten
2
Stimmen
0
Abonnement
1
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Mudita Dixit
Mudita Dixit hat einen Post erstellt
I using the instances.create action, something like this:
client.invoke('instances.create', { location: 'modal',
url: 'https://en.m.wikipedia.org/wiki/Main_Page',
size: { // optional
width: '450px',
height: '300px'
}
However rather than passing in a url, I would like to pass html, coz I generate a template using a schema that comes to me via an api call.
I tried converting my html to a blob and then generate a url using URL.createObjectURL()
method on that blob, however when my modal opens, I am hit by an error 'tried to show an iframe with a location that is neither absolute nor asset'
Is there a way I can get around this ?
Gepostet 15. Dez. 2021 · Mudita Dixit
0
Follower
2
Stimmen
1
Kommentar