c321eb282e
Refactor renderers to use template JSON
2024-05-01 11:15:27 +01:00
73ba5923ef
Allow saving background.coloro to mailpoet_email_theme
...
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
e8352d3dc8
Save template styles to mailpoet_email_theme
...
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
f2333cddf5
Fix fetching styles for template previews
...
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
abc9e58c68
Pass template style settings to the client in the template response
...
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
118c0edb72
Create pattern for default content
2024-05-01 11:15:27 +01:00
efafa95ef7
Set the selected template to the post
...
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
3a3ee4504a
Fetch templates data for select template modal via API
...
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
8bc52a29b9
Inline styles using emogrifier
2024-05-01 11:15:27 +01:00
4b411af1ca
Update general template to enforce content width
2024-05-01 11:15:27 +01:00
21ae45acb6
Enqueue special block styles and inject using emogrifier
2024-05-01 11:15:27 +01:00
7874b12bf6
Remove invalid bg property from json
2024-05-01 11:15:27 +01:00
4a0f46e3d4
Hide templates from site editor
2024-05-01 11:15:27 +01:00
76f6e7cdbd
Render using custom template on preview
2024-05-01 11:15:27 +01:00
07c974e7c7
Added the ability to edit the general-email template in site editor
2024-05-01 11:15:27 +01:00
00e158108f
Assign email-general template in editor
2024-05-01 11:15:27 +01:00
d90e4dc962
Fix element styles and scrollbars
2024-04-22 12:43:17 +01:00
1220641417
Adjust font size tests
2024-04-22 12:43:17 +01:00
af92fd9af3
Fix styles in preview
2024-04-22 12:43:17 +01:00
67cbfe9656
Type panels fully functional, with previews
2024-04-22 12:43:17 +01:00
a8e9b167cb
Work on tool panels
2024-04-22 12:43:17 +01:00
35b3cd4737
Panel Navigation
2024-04-22 12:43:17 +01:00
47a4871600
Remove unused SettingsController::convertStylesToString method
...
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
15e0c3fa4d
Use WP's style engine for formatting style arrays to string
...
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
3f2b96f3a6
Introduce block to handle email content
2024-04-10 11:42:50 +02:00
37e901c809
Restore content renderer styles to fix remaining tests
2024-04-10 11:42:50 +02:00
fa73d97ae9
Mock getEmailStyles
2024-04-10 11:42:50 +02:00
26246cd202
Return Meta robots + subject
2024-04-10 11:42:50 +02:00
ab893062ae
Default colors
2024-04-10 11:42:50 +02:00
3ec36064ab
Fix undefined spacing warning
2024-04-10 11:42:50 +02:00
2060b68583
Handle spacing using consistent spacing element
2024-04-10 11:42:50 +02:00
1e499a0ce7
Fix trailing comma
2024-04-10 11:42:50 +02:00
a697b32e0e
Exclude from phpstan
2024-04-10 11:42:50 +02:00
e0d27db790
Remove top level processor in favour of wrapping column in template, fix column padding
2024-04-10 11:42:50 +02:00
b4acac7c52
Refactor renderers to use templates
2024-04-10 11:42:50 +02:00
888be622e2
Add main template canvas and consolodate styles
2024-04-10 11:42:50 +02:00
0cd85dc1b3
Utility class to get template from file system
2024-04-10 11:42:50 +02:00
2f888daca5
Fix rendering and include shared logic
2024-03-25 12:11:11 +01:00
a70660dfc3
Fix ordering used classes after rebase
...
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
4dbac6ef62
Move email styles merge to engine
...
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
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
b4bf9c7476
Use VariablesPostprocessor in Renderer
...
Because the layout wrapper HTML is not post-processed after moving content rendering, I needed to use VariablesPostprocessor because padding can be configured by a CSS variable.
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
a0c1a87e81
Remove redundant code
...
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
95f3766b4d
Add theme styles component for email editor
...
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
be4f517d39
Add theme metadata to mailpoet_email post
...
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
d336262b31
Spacing
2024-03-21 16:57:59 +01:00
435f638011
Apply rules on lib dir
2024-03-21 16:57:59 +01:00
a1b146a2ec
Remove trailing comma
2024-03-20 10:57:26 +01:00
33cb92a779
Conditionally show footer
2024-03-20 10:57:26 +01:00
762b050e85
Alternative footer logo
2024-03-20 10:57:26 +01:00