So I have the editor working and storing/loading to/from my api. But I can't seem to figure out how to get the compiled output similar to the preview window in the pre-built grapesjs-preset-webpage.
I'm using angular and we aren't wanting to use the CMS for the entire page, just some sub-sections of a particular page. What is the command to render the final output of the CMS, NOT the editor. Just the raw html/css compiled together nicely in the iframe or whatever it's supposed to be in. Once again, just like the preview minus the little preview button still floating around.
Note* I've tried editor.getHtml(), but this is missing the styling.
So I have the editor working and storing/loading to/from my api. But I can't seem to figure out how to get the compiled output similar to the preview window in the pre-built grapesjs-preset-webpage.
I'm using angular and we aren't wanting to use the CMS for the entire page, just some sub-sections of a particular page. What is the command to render the final output of the CMS, NOT the editor. Just the raw html/css compiled together nicely in the iframe or whatever it's supposed to be in. Once again, just like the preview minus the little preview button still floating around.
Note* I've tried editor.getHtml(), but this is missing the styling.