Jan Lysý
d60004da2a
Add ListBlock integration test
...
As a part of this commit is a new method validating HTML. I moved it to the bootstrap to avoid repetition in the future.
[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ý
87806d4053
Set border-sizing to block editor
...
[MAILPOET-5645]
2023-11-11 09:38:35 +04:00
Jan Lysý
38c099be20
Reset heading margins in emails
...
[MAILPOET-5645]
2023-11-11 09:38:35 +04:00
Jan Lysý
2ca611bacb
Reset default margin and set default padding-left
...
Because we want to have the best user experience for most of email client,
we reset the margin and set padding-left for the same look.
[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
Jan Lysý
1b73e0f4db
Allow core/list, core/list-item blocks in email editor
...
[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
Rostislav Wolny
4705079877
Add a simple guide for adding a new block
...
[MAILPOET-5645]
2023-11-10 08:44:08 +01:00
John Oleksowicz
f1b9352181
Update help tooltip to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
61cf0f48d1
Update welcome wizard to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
fe909f5558
Update subscribers app to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
e7e340ab0d
Update importer to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
ace78b52be
Update settings to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
e4a5e25e82
Update static segments (lists) to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
6d58158ea9
Update dynamic segments to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
f75ed162d5
Update newsletters app to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
c53409d5f7
Update listing cron status to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
89136f9a24
Update newsletter editor to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
0e25b96067
Update coupon block to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
a706f3ffd5
Update logs page to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
831047cd43
Update landing page to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
55fc649455
Update form editor templates to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
bd1b45a2b6
Update automations listing to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
8911044808
Update automation templates to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
4af7eab295
Update automation analytics to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
c9e4bf57ae
Update automation editor to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
b474833a8c
Update homepage to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
6386032e12
Update help page to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
66fc06375a
Update sending paused notices to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
79c778a889
Update forms listing to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
9a3cf61a7f
Update form editor to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
9f6d832682
Update experimental features to use createRoot
...
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
265a432de2
Force @wordpress/rich-text to use version 6.5.0
...
This should address a regression where the paragraph toolbar in the form
editor (and maybe elsewhere) wasn't showing all of the expected options
and wasn't working correctly when setting the font family.
The bug was introduced after running pnpm dedupe after updating
dependencies. I believe that changed the dependency of some
packages like woocommerce/components to use @wordpress/rich-text version
6.16.0 instead of 6.5.0.
MAILPOET-5665
2023-11-09 11:38:32 +01:00
Jan Lysý
103fd665d2
Get allowed blocks for core/column from editor config
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
ec83cad532
Refactor blocks initialization
...
[MAILPOET-5591]
2023-11-09 09:06:33 +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ý
6e1a08d60b
Fix typo in a method name
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
37c22fe9bc
Fix WordPress hooks usage in editor.tsx
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
3cb9891235
Add integration Paragraph test
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
6cadd1273a
Add integration Column test
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
180f06f1a8
Update integration Columns test
...
[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ý
5800830d71
Improve columns width calculation
...
Because there exist more variants when the column width is not defined, we needed to improve this behavior.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
2ce6fd8688
Remove BlocksRenderer and fix tests
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
2b0d1ea5c1
Update unit test after updating codeception/verify
...
[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ý
c75cc5e286
Fix mobile preview for columns
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
91094fad7c
Use layoutStyles in email editor
...
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00