How Pexelize Works
Pexelize gives you a full drag-and-drop editor inside your web application. You install a lightweight SDK, point it at a container element, and the editor renders automatically. The SDK provides a clean JavaScript API to control the editor, load designs, and export content.
Integration flow
- Install the SDK (
@pexelize/editor-sdk) or a framework wrapper (@pexelize/react-editor,@pexelize/vue-editor,@pexelize/angular-editor). - Initialize with your
editorKeyfrom the Pexelize Dashboard. - The editor renders inside a container element you provide. Users get a full drag-and-drop visual editor with content tools, styling panels, and a live canvas.
- Save designs as JSON to your database. Load them back anytime to resume editing.
- Export the finished design as HTML, PDF, PNG, or ZIP.
What you control
The SDK gives you full control over the editor through a simple API:
| What | How |
|---|---|
| Load a saved design | editor.loadDesign(json) |
| Export HTML | editor.exportHtml() |
| Change the theme | editor.setAppearance({ theme: 'dark' }) |
| Enable/disable tools | editor.setToolsConfig({ video: { enabled: false } }) |
| Listen to changes | editor.addEventListener('design:updated', callback) |
| Add dynamic content | editor.setMergeTags([{ name: 'First Name', value: '{{first_name}}' }]) |
All methods return promises and work with TypeScript out of the box.
Key benefits
- No CSS conflicts -- The editor is fully sandboxed. Your app's styles won't break the editor, and the editor's styles won't leak into your page.
- Automatic updates -- The editor stays up to date with new features and fixes without you changing any code.
- Lightweight -- The SDK package is small. The full editor loads asynchronously and does not block your page.
- Framework support -- First-class wrappers for React, Vue, Angular, and vanilla JavaScript.
info
The SDK authenticates using your editorKey. All configuration (appearance, tools, features) is applied through the SDK API after initialization.
Next steps
- Design JSON -- Understand the data format the editor uses
- Editor Modes -- Choose between email, web, and popup editors
- Edit Mode vs Live Mode -- Control what users can do in the editor