Embed the Topol email editor in Svelte

@topol.io/editor-svelte is the official Svelte wrapper for Topol Plugin, the drag-and-drop email editor you run inside your own app.

What you can do.

  • Render the full Topol email editor inside your Svelte app
  • Pass your API key and a user ID to authorize each editor session
  • Get the template JSON and production-ready HTML back when users save
  • White-label the editor so it reads as part of your product

How to set it up.

  1. 1Install @topol.io/editor-svelte from npm.
  2. 2Add the TopolEditor component to the page where users design emails.
  3. 3Pass your options, including your API key and a user ID.
  4. 4Store the JSON and HTML the editor hands back when a user saves.
Install
npm install @topol.io/editor-svelte

Requirements.

  • A Topol Plugin plan with an API key
  • A Svelte app