Rostislav Wolny
b35e0af691
Remove old code that was handling creating emails for the new editor
...
The code is no longer needed because the new emails are created via API.
[MAILPOET-5810]
2024-01-14 19:43:26 +05:00
Rostislav Wolny
d54847ce83
Refactor construction of NewsletterEntity when creating an email in the new editor
...
When we create a new email in the new editor we ensure there is
also an associated NewsletterEntity.
This commit improves this functionality by replacing custom code with
NewsletterSaveController, which ensures that the sender name and address are set.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Rostislav Wolny
8be034822e
Add minimalistic WpPostEntity for fetching basic post data for listing
...
[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
Jan Lysý
eace314009
Use wpLocalizeScript instead of wpAddInlineScript in Email editor
...
[MAILPOET-5563]
2023-10-11 11:26:22 +02:00
Jan Lysý
5fce014a60
Fix email dataSchema in EmailApiController
...
[MAILPOET-5563]
2023-10-11 11:26:22 +02:00
Jan Lysý
e5e04e63e2
Add sending email after click on button
...
[MAILPOET-5563]
2023-10-11 11:26:22 +02:00
Jan Lysý
de66b3fea1
Add JS variables for email editor
...
[MAILPOET-5563]
2023-10-11 11:26:22 +02:00
Jan Lysý
226317f55c
Fix creating newsletter in EmailEditor
...
After removing temporary fix a hash was missing for newsletter created via EmailEditor.php
[MAILPOET-5563]
2023-10-11 11:26:22 +02:00
Jan Lysý
65b6a129ae
Add email preview URL to EmailApiController response
...
[MAILPOET-5563]
2023-10-11 11:26:22 +02:00
Jan Jakes
49dd627a76
Update references to renamed files
...
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
Jan Lysý
51223ac3c2
Add saving and getting subject and preheader to EmailApiController
...
[MAILPOET-5562]
2023-10-02 10:28:26 +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
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
d594bb4739
Add simple columns rendering
...
Add rendering of columns with fixed width computed by number of columns.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
69a87e8146
Apply editor content styles in the email renderer
...
Add proof of concept for applying additional CSS in renderer
[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
68e833f80c
Refactor email editor PHP and JS code to follow automations namespacing
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00