Iframe component json format #4843
Unanswered
shelendravashishtha2
asked this question in
Q&A
Replies: 1 comment 6 replies
-
iframes don't work in that way, you generally pass the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @artf ,
I'm using grapesjs json to render data on my editor using
editor.setComponents(); editor.setStyle()
functions. now when I'm trying to add these components inside div i can provide the custom json like
{ "tagName: "div", attributes: { }, components : componentArray }
but same json is not working in case of iframe. Iframe is getting rendered on the editor but components are getting rendered outside the body of the document of iframe.
Iframe Json is like
{ "tagName: "iframe", attributes: { }, components : componentArray }
Can you please help me with this ?
Beta Was this translation helpful? Give feedback.
All reactions