Rostislav Wolny
9565844854
Use blur on focus to make textarea behave like disabled instead readonly
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
9689b846a1
Don't apply any styles if inherit from theme is turned on
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
47142be4c5
Use partial from lodash instead of underscore
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
4726b285c5
Add acceptance test for text input styles settings in form editor
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
126f988e8c
Adjust vertical spacing within style settings panel
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
efdcae19c0
Add apply styles to all inputs button
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
ee49d77ff4
Remove disabled parameter from textarea in editor
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
52bddd763f
Apply input styles styles for custom textareas in editor
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
ab3267bb6d
Refactor text input to not render as disabled but behave like that
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
631deeb669
Apply input styles styles for text inputs in editor
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
23de26d413
Refactor text inputs in form editor body to a component
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
af87ca3a7d
Add border related settings to input style settings
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
eadd6af544
Add background color input style to styles settings
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
026a35fffb
Add mapping of form API data format styles to block attributes
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
e6ceb97b18
Add mapping of block styles attribute to API data format
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
251c9ffd38
Add default inputs style settings
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
131a4366da
Add dummy input styles settings component
...
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Pavel Dohnal
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
Pavel Dohnal
52d94256da
Map heading colours
...
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
Rostislav Wolny
3c32811720
Use block editor's color settings for block colors mapping
...
[MAILPOET-2754]
2020-03-17 21:22:13 +01:00
Pavel Dohnal
0c796e7a7d
Remove redundant attributes
...
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
Pavel Dohnal
40ee30259d
Load headings data
...
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
Pavel Dohnal
f465564d41
Save heading data
...
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
Pavel Dohnal
4e54740666
Add heading block
...
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
Rostislav Wolny
39c30eb6e8
Fix form preview rendering
...
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
Rostislav Wolny
126b69b750
Render proper font and background color for html block within column
...
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
Rostislav Wolny
1c0f5b875a
Fix unique client ids for blocks
...
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
Rostislav Wolny
8a66fd1811
Use block editor's color settings for block colors mapping
...
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
Rostislav Wolny
4ec53d2d52
Fix switching between HTML blocks
...
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
Rostislav Wolny
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
Rostislav Wolny
3505ad65dc
Re-enable columns and acceptance test
...
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
Pavel Dohnal
6671625fa9
Add padding to make styling consistent
...
[MAILPOET-2745]
2020-03-16 16:47:48 +01:00
Pavel Dohnal
bb3cfa8bc7
Use gutenberg button
...
[MAILPOET-2745]
2020-03-16 16:47:48 +01:00
Pavel Dohnal
0e0e25b208
Add back button to form editor
...
[MAILPOET-2745]
2020-03-16 16:47:48 +01:00
Pavel Dohnal
a98e98487b
Fix Creating textarea custom field
...
[MAILPOET-2719]
2020-03-16 08:35:37 +01:00
Amine Ben hammou
27bf71bad9
Refactoring the control to be reusable
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
1026b07495
Add comments about TS keyof and overloads
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
187c8f5ac7
Use full name for classnames
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
33ccb84744
Create a separate bundle for settings
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
1fba3c2e5b
Add Settings tabs
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
b9a3b40f12
Remove temporary code
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
e617475803
Add useSetting and useSettingSetter hooks
...
Because `useSelector('getSetting')` and `useAction('setSetting')` dont have detailed type definitions
for parameters and return. The type definitions for these two hooks are verbose but they ensure more
type coverage and proper code auto-completion.
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
9174df7323
Add useActions and useSelector hooks
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
1d6a7f6fde
Create WP Redux store
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
408437af70
Inject all settings
...
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
1d029374e8
Create new settings page
...
[MAILPOET-2676]
The new settings can be accessed via `?page=mailpoet-new-settings`
I don't think we need a flag for this because it's already hidden.
2020-03-16 08:03:26 +01:00
Pavel Dohnal
038cc0bc6b
Remove Feedback section from form editor
...
[MAILPOET-2735]
2020-03-11 16:26:50 +00:00
Rostislav Wolny
54c2b5b6ac
Disable columns blocks in form editor
...
[MAILPOET-2609]
2020-03-11 16:20:46 +00:00
Rostislav Wolny
9378aef58c
Move layout category above fields in block inserter
...
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
0c64c38e61
Add small container detection on desktop
...
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00