Jan Lysý
df9c3f5890
Add comments about color variables conversion
...
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
Jan Lysý
d4e2836a9d
Unify typehint by BlockRenderer interface
...
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
Jan Lysý
61892595ee
Fix blocks width across email clients
...
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
Jan Lysý
efd9abcf76
Skip width style setting in blocks paragraph and heading
...
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
Jan Lysý
61e8d2d200
Implement rendering block core/paragraph
...
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
Jan Lysý
3228ae5794
Fix stretch alignment for the column/core block
...
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
Jan Lysý
445f7545a1
Reuse function from SettingsController in Heading renderer
...
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
Jan Lysý
832ffc1568
Add layout left and right padding to columns block
...
Because side paddings were removed from template.html it was necessary add them to the columns block to correct compatibility across different email client.
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
2ce746a156
Fix getting style attribute in the image block
...
In some cases wasn't the style attribute set and it caused type error in calling method for parsing styles.
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
7792331999
Add rendering improvements for Outlook
...
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
abf1ef9d7f
Implements image block renderer
...
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
328fcfa260
Move method for composing styles to SettingsController
...
To avoid repetition I decided to move this method to better place.
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
8bab89b4e8
Add default image block renderer
...
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Oluwaseun Olorunsola
0d771a7fc5
Add support for creating styles from block attributes e.g., text alignment styles
...
MAILPOET-5643
2023-11-17 09:49:06 +01:00
Oluwaseun Olorunsola
667da710b1
Merge updates in trunk
...
MAILPOET-5643
2023-11-17 09:49:06 +01:00
Oluwaseun Olorunsola
1a6caac290
Add heading block support to email editor
...
MAILPOET-5643
2023-11-17 09:49:06 +01:00
Jan Lysý
5ed3656032
Add vertical-alignment style to core/column renderer
...
[MAILPOET-5690]
2023-11-13 06:58:52 +01:00
Jan Lysý
db13c4ba25
Unify wrapping method name
...
[MAILPOET-5645]
2023-11-11 09:38:35 +04:00
Jan Lysý
f96b02146c
Refactor paragraph renderer to table
...
Because we are facing issues with Outlook, we decided to use table design when it's possible
[MAILPOET-5645]
2023-11-11 09:38:35 +04:00
Jan Lysý
60fd4b6c8a
Add List block renderer
...
[MAILPOET-5645]
2023-11-11 09:38:35 +04:00
Rostislav Wolny
219a12578a
Simplify API for registering email block renderers
...
This commit makes the cleanup of filters for block rendering in emails automatic.
[MAILPOET-5645]
2023-11-10 08:44:08 +01:00
Jan Lysý
5644cab9e3
Refactor BlocksRegistry to pass dependencies as an argument
...
For better extensibility of 3rd party developers, I refactored to pass Settings Controller as an argument.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
a0b57b3f3f
Unify columns height
...
Because we prefer the identical height of core/column with different content lengths,
I used a wrapper layer that helps to solve it.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
c2cb18ef37
Use render_block_* hooks for rendering changed blocks
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
4f9e3723c9
Implement rendering column, columns and paragraph
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
0ac72d43e6
Merge StylesController to SettingsController
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Rostislav Wolny
398a313d54
Pass styles controller into block renders
...
When rendering blocks, we need to access global styles settings.
This will be done via the StylesController
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
3835a91163
Fix columns rendering after testing in Litmus
...
[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
bd539e386b
Add initialization for core blocks renderers
...
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
Rostislav Wolny
f34c479bb6
Add simple renderers for columns, paragraphs, and heading blocks
...
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00