Skip to content
프로젝트

zalify/easy-email-editor

GitHub에서 보기

소개

Easy Email Editor는 React와 MJML을 기반으로 하는 기능이 풍부한 최고의 오픈 소스 SaaS 이메일 편집기입니다.

웹 및 앱

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+5
in 7 days
+3
in 15 days
+4
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Easy email


The most developer-friendly email editor based on MJML


Using TypeScript


💼 Looking for more features? Check out Easy Email Pro with cross-browser support, responsive design, and premium components.


Introduction

Easy email is developed based on the MJML and has very good compatibility. At the same time, it can generate code through drag-and-drop editing.

Video Overview
Overview

🎮 Live Demo

📧 Free Email Templates

Looking for ready-to-use templates? Check out our free collection of MJML and HTML email templates.

🚀 Getting Started

$ npm install --save easy-email-core easy-email-editor easy-email-extensions react-final-form
import React from 'react';
import { BlockManager, BasicType, AdvancedType } from 'easy-email-core';
import { EmailEditor, EmailEditorProvider } from 'easy-email-editor';
import { ExtensionProps, SimpleLayout } from 'easy-email-extensions';

import 'easy-email-editor/lib/style.css';
import 'easy-email-extensions/lib/style.css';
import '@arco-themes/react-easy-email-theme/css/arco.css';

const initialValues = {
  subject: 'Welcome to Easy-email',
  subTitle: 'Nice to meet you!',
  content: BlockManager.getBlockByType(BasicType.PAGE)!.create({}),
};

export default function App() {

  return (
    <EmailEditorProvider
      data={initialValues}
      height={'calc(100vh - 72px)'}
      autoComplete
      dashed={false}
    >
      {({ values }) => {
        return (
          <SimpleLayout>
            <EmailEditor />
          </SimpleLayout>
        );
      }}
    </EmailEditorProvider>
  );
}


⚙️ Configuration

property Type Description
height string / number Set the height of the container
data interface IEmailTemplate { content: IPage; subject: string; subTitle: string; } Source data
children ( props: FormState,helper: FormApi<IEmailTemplate, Partial>) => React.ReactNode ReactNode
onSubmit Config<IEmailTemplate, Partial>['onSubmit']; Called when the commit is triggered manually
fontList { value: string; label: string; }[]; Default font list.
onUploadImage (data: Blob) => Promise; Triggered when an image is pasted or uploaded

📊 Open Source vs Pro Version

Feature Open Source Version Pro Version
Browser Compatibility Only supports Chrome Compatible with various browsers (uses iframe)
React 19 Support ❌ Not supported ✅ Supported
Responsive Design ❌ Not available ✅ Supports different UI for desktop and mobile
AMP block ❌ Not available ✅ Accordion, Carousel, Form, Product, Reviews, Lucky Wheel
Migration ❌ Not available ✅ Seamless migration from Unlayer templates
Advanced Features Basic features only Unsplash library, File Manager, Block Studio, and many more custom blocks
Technical Support Community support Professional technical support with faster response times

Learn more about Easy Email Pro.

📄 License

The MIT License

관련 프로젝트 살펴보기

불러오는 중…