ts-email-editor
v1.3.5
Published
Email Editor for React with SSR
Downloads
31
Maintainers
Readme
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.
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.