This plugin shows a working demo of the MailPoet Email Editor
The main editor package library is split into two packages
JS
-> /packages/js/email-editorPHP
-> /packages/php/email-editor
Try it out at: WordPress Playground
The Integration files are located at /core
- Download this Repo as a zip
- Upload to the WordPress site
- Activate the plugin
- Visit
wp-admin/edit.php?post_type=editor_demo_mail
, edit the draft post
Note: Ensure you have npm
and composer
in your system path
- Run npm install: ->
npm install
- To run the watch server: ->
npm run dev
. Note: Please updateEMAIL_EDITOR_DEMO_USE_DEV_BUILD
totrue
to enusure the editor uses the development files. - If you update the php files, and need to update the autoloader ->
npm run dev:dump-autoload
You may pull the latests Email editor package from https://github.com/mailpoet/mailpoet/