Commit Graph

17 Commits

Author SHA1 Message Date
Rostislav Wolny
c06779acbb Introduce hooks for registering patterns for email editor
To get rid of hardcoded MailPoet-specific patterns from the editor package
We need to introduce an API to register the patterns and their categories.

Patterns have to be defined as extenders of Abstract_Pattern.

[MAILPOET-6243]
2024-11-22 08:45:46 +01:00
Pavel Dohnal
d68e1c7960 Add Renderer class tests
[MAILPOET-6043]
2024-11-20 09:48:56 +01:00
Pavel Dohnal
97729b21ae Add Content Renderer test for blocks rendering
[MAILPOET-6043]
2024-11-20 09:48:56 +01:00
Oluwaseun Olorunsola
58f1af7920 Move Send_Preview_Email class to Engine folder and update tests
MAILPOET-6092
2024-11-18 15:28:31 +01:00
Jan Lysý
853bf6fcfe Migrate integration tests in Integrations directory to WordPress Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
e69666776d Migrate integration tests in Engine directory to WordPress Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
0c781be938 Migrate integration tests bootstrap file to WordPress Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
be63af8102 Migrate tests/_support folder to WordPress Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
113dbaae2d Change coding style in email editor tests to WordPress
This commit contains automated changes made with phpcbf command from CodeSniffer package.

[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
9653fc756b Migrate email editor contentRenderer classes from to WP Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
df6f7198a6 Migrate email editor flex-layout-renderer class to WP Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
c83ec3c8d7 Migrate email editor settings-controller to WP Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
fba5482cd2 Migrate email editor theme-controller to WP Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
b6103b4581 Rename files in email editor package by WP Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Rostislav Wolny
85da4d0659 Adjust renderer tests to cover styles added to wrapper
[MAILPOET-6249]
2024-10-25 17:47:58 +02:00
Rostislav Wolny
a40eb3e554 Respect layout content size set in theme.json in the renderer
[MAILPOET-6249]
2024-10-25 17:47:58 +02:00
Jan Lysý
8dc9c28fdf Fix namespace in integration tests
This commit also removed the redundant directory EmailEditor from integration tests directory.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00