New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ts-email-editor

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-email-editor

Email Editor for React with SSR

latest
Source
npmnpm
Version
1.3.5
Version published
Weekly downloads
30
36.36%
Maintainers
1
Weekly downloads
 
Created
Source

TS Email Editor

TS Email Editor is a robust, versatile, and user-friendly React library for building beautiful, interactive emails. Built with TypeScript and based on ravenappdev/email-editor, it leverages the Craft.js framework to offer an intuitive drag-and-drop interface for email design.

The unique feature of Custom Email Editor is its seamless integration with a server for converting JSX email structures into reusable HTML templates. This provides developers and designers with the power to create visually compelling emails with minimal effort, and ensures compatibility across various email clients.

Optional Text

Features

  • Intuitive Drag-and-Drop Interface: Construct your email designs by dragging and dropping components onto the canvas.
  • Craft.js Foundation: Leverage the powerful Craft.js framework for maximum flexibility and scalability.

Getting Started

Installation

  • Install the library using npm or yarn:
npm install --save ts-email-editor
yarn add ts-email-editor
  • Import it into your project:
import EmailEditor from 'custom-email-editor';
  • Use it
import React from 'react';
import { TSEmailEditor } from 'ts-email-editor';

import './App.css';

function App() {
  return (
    <div className="App">
      <EmailEditorComponent editorSsrUrl="url of a ssr server" />
    </div>
  );
}

export default App;

The server code can be found here.

Keywords

React

FAQs

Package last updated on 17 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts