Skip to main content

Email & Template Editor Integration

Email and template editor integrations provide the ability to embed an application as a popup when the user is authoring an email or template. Integrations should handle every different type of editor, such as single email, template creation, and email signature. Different editors will receive different pieces of information based on the available context.

Once enabled, integrations will appear in the Salesloft email toolbar. Clicking the entry will expose the integration:

Email Editor Integration

When you are ready to insert your HTML into the template, you can postMessage the insertHtml event. This event accepts a single element html. If you are needing to insert multiple elements, you can wrap them in a single element like span or div.

window.parent.postMessage({event: "insertHtml", html: 'html', nonce: nonce}, origin)

The iframe size will be 798px x 450px (w x h). Sizing may vary in the future.