Commit Graph

20 Commits

Author SHA1 Message Date
Mike Jolley
118c0edb72 Create pattern for default content 2024-05-01 11:15:27 +01:00
Mike Jolley
00e158108f Assign email-general template in editor 2024-05-01 11:15:27 +01:00
Mike Jolley
67cbfe9656 Type panels fully functional, with previews 2024-04-22 12:43:17 +01:00
Mike Jolley
a8e9b167cb Work on tool panels 2024-04-22 12:43:17 +01:00
Mike Jolley
35b3cd4737 Panel Navigation 2024-04-22 12:43:17 +01:00
Jan Lysý
4dbac6ef62 Move email styles merge to engine
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
Jan Lysý
cae2ad6dc7 Move meta registration to the engine
As a part of the refactoring is making the meta field available via API.
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
Jan Lysý
be4f517d39 Add theme metadata to mailpoet_email post
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
Mike Jolley
435f638011 Apply rules on lib dir 2024-03-21 16:57:59 +01:00
Pavel Dohnal
9cf2eef721 Register send status
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Rostislav Wolny
f9a7ffc337 Allow title for the email custom post
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Rostislav Wolny
e9a5658be5 Cleanup post editor approach code
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
ca40766c2f Allow null for WP_Block_Editor_Context in email editor callbacks
There are cases when the second parameter is null.
[MAILPOET-5624]
2023-10-09 11:33:11 +02:00
Rostislav Wolny
46d8cb38a0 Apply layout styles defined in StylesController and also to editor
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
fd96b4afad Add email background and width into StylesController and apply in redering
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
77eab47357 Refactor email styles from constant to service and move to core
I envision the StylesController as the source of information about
styles settings in both the editor and renderer.

We will add email styles settings and these will be accessed in PHP via this service.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
3c7a9f0a48 Strip theme CSS from the editor and add custom basic styles
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
b70ad064c7 Refactor initialization of the email editor
This changes how the editor is initialized. The integration initialization class
doesn't get the engine class anymore, but integration is initialized via
mailpoet_email_editor_initialized action triggered from the engine.

This allows multiple integrations to hook into the engine.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
19d1bb4146 Add description to EmailEditor::registerEmailPostTypes
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
68e833f80c Refactor email editor PHP and JS code to follow automations namespacing
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00