Commit Graph

5 Commits

Author SHA1 Message Date
46a481ec24 Add email renderer and template to the renderer engine
In this commit, I copied the code for processing the rendering of emails
from the current renderer.
This will allow us to use different base templates and styles.
Ideally, we should be able to add hooks and reuse the renderer from the engine namespace in
the current renderer.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
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
dcdd1c8cdb Fix checking hooks registered using a class name in assets cleaner
The code was not expecting that the filter callback could be defined with a class name as a string.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
19d1bb4146 Add description to EmailEditor::registerEmailPostTypes
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
68e833f80c Refactor email editor PHP and JS code to follow automations namespacing
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00