最近搜索
没有最近搜索

Mudita Dixit
已加入2021年12月15日
·
最后活动2021年12月15日
关注
0
关注者
0
活动总数
2
投票
0
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Mudita Dixit
Mudita Dixit 创建了一个帖子,
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 ?
已于 2021年12月15日 发布 · Mudita Dixit
0
关注者
2
投票
1
Comment