5.0.1 • Published 7 months ago

@plugilo/easy-email-editor v5.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Easy-email-editor

Introduction

Email render and preview container.

usage

$ npm install --save easy-email-editor

or

$ yarn add easy-email-editor
import React from 'react';
import { BlockManager } from '@plugilo/easy-email-core';
import { EmailEditor, EmailEditorProvider } from '@plugilo/easy-email-editor';
import 'easy-email-editor/lib/style.css';

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

export function App() {
  return (
    <EmailEditorProvider
      data={initialValues}
      height={'calc(100vh - 72px)'}
    >
      {({ values }) => {
        return <EmailEditor />;
      }}
    </EmailEditorProvider>
  );
}
5.0.1

7 months ago

5.0.0

7 months ago

4.15.27

2 years ago

4.15.26

2 years ago

4.15.23

2 years ago

4.15.25

2 years ago

4.15.24

2 years ago

4.15.22

2 years ago

4.15.21

2 years ago

4.15.20

2 years ago

4.15.18

2 years ago

4.15.12

2 years ago

4.15.11

2 years ago

4.15.13

2 years ago

4.15.16

2 years ago

4.15.15

2 years ago

4.15.17

2 years ago

4.15.9

2 years ago

4.15.10

2 years ago

4.15.8

2 years ago

4.15.7

2 years ago

4.15.6

2 years ago

4.15.5

2 years ago

4.15.4

2 years ago

4.15.3

2 years ago

4.15.2

2 years ago

4.15.1

2 years ago

4.15.0

2 years ago

4.11.2

2 years ago

4.11.0

2 years ago