npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ngx-wysiwyg-editor

v1.0.18

Published

A powerful and customizable WYSIWYG HTML editor for Angular applications

Readme

NgxWysiwygEditor

A powerful, feature-rich Angular email template editor component that provides a drag-and-drop visual interface for creating responsive email templates. Built with modern Angular and designed for seamless integration into any Angular application.

Features

Visual Email Builder

  • Drag-and-drop block-based editor
  • Real-time preview with device responsiveness (Mobile, Tablet, Desktop)
  • Intuitive block management with move, duplicate, and delete operations

🧩 Rich Content Blocks

  • Header Block: Company branding with customizable name and tagline
  • Text Block: Rich text content with formatting options
  • Image Block: Image insertion with alt text and linking capabilities
  • Button Block: Call-to-action buttons with custom styling
  • Column Block: Multi-column layouts (2, 3, or 4 columns)
  • Social Block: Social media links with icon support
  • Video Block: Video embedding with custom thumbnails
  • Divider Block: Visual separators with styling options
  • Spacer Block: Adjustable spacing elements
  • HTML Block: Custom HTML code insertion

🎨 Advanced Styling

  • Comprehensive style customization for each block
  • Color pickers for backgrounds, text, and accents
  • Font family and size controls
  • Alignment and padding options
  • Border radius and margin controls

Professional Features

  • Import/Export email templates
  • HTML code export for email campaigns
  • Responsive design with mobile-first approach
  • Properties panel with Content, Style, and Advanced tabs
  • CSS class and custom attribute support
  • Animation effects and visibility controls
  • Debug mode for development

🔧 Developer Friendly

  • TypeScript support with full type definitions
  • Configurable component with flexible API
  • Clean, maintainable codebase
  • Comprehensive documentation

Compatibility

NgxWysiwygEditor supports a wide range of Angular versions:

| NgxWysiwygEditor Version | Angular Version | Support Status | |--------------------------|-----------------|----------------| | 1.0.6+ | 14.0 - 20.x | ✅ Full Support | | 1.0.0 - 1.0.5 | 13.0 - 20.x | ⚠️ Legacy |

Angular Version Compatibility

| Angular Version | Library Version | Status | |-----------------|-----------------|--------| | 14.x | 1.0.6+ | ✅ Fully Supported | | 15.x | 1.0.6+ | ✅ Fully Supported | | 16.x | 1.0.6+ | ✅ Fully Supported | | 17.x | 1.0.6+ | ✅ Fully Supported | | 18.x | 1.0.6+ | ✅ Fully Supported | | 19.x | 1.0.6+ | ✅ Fully Supported | | 20.x | 1.0.6+ | ✅ Fully Supported | | < 14.x | - | ❌ Not Supported |

Required Dependencies

The library requires the following Angular packages:

  • @angular/common: >=14.0.0 <21.0.0
  • @angular/core: >=14.0.0 <21.0.0
  • @angular/cdk: >=14.0.0 <21.0.0 (for drag-and-drop functionality)
  • @angular/forms: >=14.0.0 <21.0.0
  • @angular/platform-browser: >=14.0.0 <21.0.0

TypeScript and RxJS Requirements

  • TypeScript: 4.7.0 or higher
  • RxJS: 7.5.0 or higher
  • Zone.js: 0.11.4 or higher

Installation

Install the library using npm:

npm install ngx-wysiwyg-editor

Or using yarn:

yarn add ngx-wysiwyg-editor

Make sure you have Angular CDK installed (required for drag-and-drop functionality):

npm install @angular/cdk

Usage

Import in Module (Angular 14+)

import { NgModule } from '@angular/core';
import { NgxWysiwygEditorModule } from 'ngx-wysiwyg-editor';

@NgModule({
  imports: [
    NgxWysiwygEditorModule
  ]
})
export class AppModule { }

Import as Standalone Component (Angular 14.1+)

import { Component } from '@angular/core';
import { WysiwygEditorComponent } from 'ngx-wysiwyg-editor';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [WysiwygEditorComponent],
  template: `<wysiwyg-editor [(ngModel)]="content"></wysiwyg-editor>`
})
export class AppComponent {
  content = '';
}

Additional Resources

License

MIT License - see the LICENSE file for details.

Support

For issues, questions, or feature requests, please create an issue on GitHub.