Embed Mockup Editor
Last updated
Last updated
You don't need to implement our API to add a great editor feature to your application.
For a quick solution, try using our editor iFrame.
You can easily embed it with just a few lines of JavaScript code.
Embed the iFrame in your app at the location where you want to display the editor:
To power the embedded editor, you'll need to include the necessary JavaScript code from the following CDN:
Lastly, use the initDynamicMockupsIframe function from the SDK with the following script:
Embed the iFrame in your app at the location where you want to display the editor.:
Install package via npm registry:
Include package in your project and init iFrame:
You'll notice the x-website-key
field, contact us here to get it for you.
Our Mockup Editor SDK lets you configure the iFrame and control its behavior within your application by providing data to the initDynamicMockupsIframe function. For complete configuration details, visit the Editor Configuration page.