dragble-angular-editor

Angular email builder SDK for your SaaS

dragble-angular-editor is a standalone Angular component that puts a drag-and-drop email builder inside your application. Inputs, outputs and @ViewChild access — no manual script wiring, no event cleanup.

Angular support is where most embeddable builder vendors stop at a script tag and leave the wrapper to you. This package is a maintained first-class component with typed inputs and outputs, built for teams running long-lived Angular codebases.

Get started

Install and mount the editor

Install the package, pass an editor key, and mount the component in a container element. The editor renders inside a sandboxed iframe, so your application CSS cannot leak in and break the canvas.

Terminal

npm install dragble-angular-editor

Angular component

import { Component } from "@angular/core";
import { DragbleEditorComponent } from "dragble-angular-editor";

@Component({
  selector: "app-email-editor",
  standalone: true,
  imports: [DragbleEditorComponent],
  template: `
    <dragble-editor
      [editorKey]="'YOUR_EDITOR_KEY'"
      [editorMode]="'email'"
      [height]="600"
      (change)="onChange($event)"
      (error)="onError($event)"
    ></dragble-editor>
  `,
})
export class EmailEditorComponent {}

What you get

Built for Angular products

Standalone component, no NgModule required

Import DragbleEditorComponent directly into a standalone component's imports array. A DragbleEditorModule is also available if your application still uses NgModule-based organisation.

Inputs and outputs that behave like Angular

Configuration comes in as @Input bindings — editorKey, editorMode, height — and editor events come out as @Output emitters for ready, change and error. No manual event listener registration and no cleanup code in ngOnDestroy.

ViewChild access to the editor API

Grab the component with @ViewChild and call exportHtml(), exportJson() or loadDesign() directly. The editor instance is typed, so your IDE knows the available methods.

Sandboxed canvas, isolated from your styles

Angular's view encapsulation does not reach inside the editor, and the editor's styles do not escape into your app. Your global stylesheet and the design canvas cannot break each other.

Fits enterprise Angular stacks

Angular is common in larger organisations where TypeScript, dependency injection and long-lived codebases are the norm. A first-class wrapper means the editor is not the one dependency your team has to wrap by hand.

Three modes from one component

Set editorMode to email, page or popup. Email produces table-based HTML with inline CSS for inbox clients; page produces full-width HTML; popup produces a modal or embeddable fragment.

FAQ

Questions about the Angular email builder SDK

Straightforward answers on SDK embedding, white-labeling, MCP agent tooling, email client compatibility, and pricing.

Install dragble-angular-editor, import DragbleEditorComponent into your component's imports array, and use the <dragble-editor> element with editorKey and editorMode bindings. You can attach @ViewChild to call exportHtml() or loadDesign() from your component class.

Ship an editor this week

Free plan, no credit card. Email, page and popup builders from one Angular package.