Commit Graph

60 Commits

Author SHA1 Message Date
e9c3049576 Fix saving class name attributes for divider and custom html blocks
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
6c9d24a6ed Add saving and loading of custom classes
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
af87ca3a7d Add border related settings to input style settings
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
eadd6af544 Add background color input style to styles settings
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
026a35fffb Add mapping of form API data format styles to block attributes
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
e6ceb97b18 Add mapping of block styles attribute to API data format
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
251c9ffd38 Add default inputs style settings
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
8c104d2842 Make sure level is always number
Gutenberg compares it using === and the toolbar in the sidebar doesn't work

[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
52d94256da Map heading colours
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
3c32811720 Use block editor's color settings for block colors mapping
[MAILPOET-2754]
2020-03-17 21:22:13 +01:00
0c796e7a7d Remove redundant attributes
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
40ee30259d Load headings data
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
f465564d41 Save heading data
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
126b69b750 Render proper font and background color for html block within column
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
1c0f5b875a Fix unique client ids for blocks
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
8a66fd1811 Use block editor's color settings for block colors mapping
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
5c20c11ac9 Update form validator to be able to check email and submit are present columns
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
d6b06ec371 Store columns block vertical alignment settings
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
b51ce7c1b2 Store columns block custom class name
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
8e71f8d3cc Store columns text and background colors settings
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
7cccd68d08 Add storing of vertical alignment property for column blocks
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
1c6cffc44d Add mapping for blocks from stored form data
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
97f76717eb Move test data from form to blocks test to separate file
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
ea99002b43 Move test data from blocks to form mapper test to separate file
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
1d7fffbe8d Add saving of nested columns blocks
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
f001542b3e Use underscore to unify naming
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
dce8d12942 Save form position settings
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
64c4e3f35b Add unique custom field name checking
[MAILPOET-2463]
2020-01-16 16:49:05 +01:00
d319781e34 Respect global custom field values when adding a field to form
[MAILPOET-2463]
2020-01-16 16:49:05 +01:00
a18bf316a0 Fix custom fields unique flag mapping when saving
This flag is used by old form editor and it prevents adding the field multiple times
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
34203b3d69 Set default label ''
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
8806e4e8f8 Add sanitization for missing label to mapper
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
080d5c84ac Register custom date blocks and add mappings
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
89cb652242 Code update
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
ea11fdf5fb Add select custom field
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
81c75fafc2 Add checkbox custom field
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
8dce3f627e Rename displayLabel to hideLabel
We need to show labels for the old users

[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
9afba728c6 Save and load radio custom field
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
39e7cfa19d Rename customHtml to html
It is not a custom field

[MAILPOET-2453]#
2019-12-19 10:24:41 +01:00
79bdcd5e4f Fix test
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
eeaec19a6b Map custom fields blocks to form
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
5b4cd3cb42 Refactor duplicite code
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
214d76391b Map custom fields to blocks
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
6c30bc9c3e Remove unnecessary assert
[MAILPOET-2462]
2019-12-16 15:18:39 +01:00
906307a2c7 Add automatic nl2br switch to custom html settings
[MAILPOET-2462]
2019-12-16 15:18:39 +01:00
a577680122 Refactor blocks client id generating from form data
[MAILPOET-2462]
2019-12-16 15:18:39 +01:00
d3bc831f69 Add data mappers for custom html block
[MAILPOET-2462]
2019-12-16 15:18:39 +01:00
15b66febc6 Add data mappers for divider block
[MAILPOET-2462]
2019-12-16 15:18:39 +01:00
c3be5e99e4 Persist segments selection
[MAILPOET-2452]
2019-12-10 16:22:44 +01:00
24b8b53380 Add test for last name
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00