No HTML exported yet. Click "Export HTML". No design saved yet. Click "Save JSON". No plain text exported yet. Scriptable API: window.playground. Try playground.help(), await playground.init({ displayMode: 'web' }), await playground.call('exportHtml'), or any unlayer.* method.
Automation API
This playground can be scripted from JavaScript. The live Unlayer editor is window.unlayer. A promise-based helper is available at window.playground; calling playground.help() returns its usage guide.
await playground.init(options)re-initializes the editor with rawunlayer.initoptions merged over the sidebar config.await playground.call('exportHtml')calls any callback-style SDK method and resolves with its result.await playground.run(code)evaluates JavaScript withunlayerandplaygroundin scope.await playground.ready(),playground.waitForEvent(name),playground.getInitOptions(), andplayground.reset()are also available.
Without script access, the same is possible through the "Console" tab in the bottom panel and the "SDK Overrides (JS)" section at the bottom of the sidebar.