Commit Graph

231 Commits

Author SHA1 Message Date
060a6839c7 Render form block custom classes on frontend
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
72a0afa75b Refactor block renderers to use wrapper renderer
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
65afeca59e Add form block wrapper renderer
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
28327f9d0e Render input borders with custom styles as solid
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
4726b285c5 Add acceptance test for text input styles settings in form editor
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
760aed407f Render bold labels according to styles settings
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
4e8fda670c Render form input and textarea styles on frontend
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
b70884ecaa Return original default input width to form custom CSS
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
2d4061b998 Render headings
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
1b05ea2e68 Create renderer for form headers
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
b6f704c2a8 Simply color styles rendering in form columns
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
772df80f01 Change class name for columns with background
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
23a8a46858 Move column spacing styles to Custom CSS
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
564c61a82b Add acceptance test for form with columns
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
d9d1f05119 Change form input wrappers to form p to div
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
6b718dfb2c Add background color indicating class also for custom backgrounds
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
cce9997084 Add custom text, background support to columns, column renderer
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
634bd391e1 Add custom class name support to columns/column
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
4acdb24af3 Add text color support to columns
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
747269d6ff Add support for basic background color
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
b036a466e5 Add vertical alignment support to columns renderer
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
b767387551 Add column/columns block renderering
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
c5f4962645 Add column/columns block renderers
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
f5fc03ee1d Fix preview
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
61251f6e34 Fix styling form bellow post
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
ec8adcae73 Move form wrapping to widget
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
691a8a45f3 Render font size
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
ce127eadc1 Render styles for the form
[MAILPOET-2600]

Signed-off-by: Pavel Dohnal <pavel@mailpoet.com>
2020-03-02 20:52:38 +00:00
c9c1b1fa92 Remove input because it would never apply
Renderer adds the class directly to the input element
and the css would never apply.

[MAILPOET-2601]
2020-02-27 18:49:59 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
ede14fc661 Exclude deleted form from display below post/page check
[MAILPOET-2710]
2020-02-18 08:11:59 +00:00
0fd954184d Create a new form for the user
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
4da5b2e5c4 Add type hints
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
55da20c8ce Make the order stable
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
eb4ea14744 Add forms select
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
7f631a1166 Fix rendering and assets loading for forms below page/post
[MAILPOET-2706]
2020-02-17 17:49:16 +00:00
490a72aed3 Allow but ignore not string content in MailPoet\Form\DisplayFormInWPContent
[MAILPOET-2699]
2020-02-13 18:51:24 +00:00
866167b597 Rename Base to BlockRendererHelper
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
314ce6ed8a Remove renderer render method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d5bf33c49a Move dateConverter to common utils namespace
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f959be13dd Add typehints to form block renderers
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
204af78a56 Add radio buttons input renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
9238f3fd68 Add test for segments renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
c6ca749cdc Refactor form blocks to use composition instead of inheritance
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
20926d56b7 Inject form renderer into DisplayFormInWPContent
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
b38bd63bc5 Add unit test for form renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
2e5fd69658 Remove unused variable from form select block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f0c1c3e424 Move select block integration test to unit test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
c1180cd0aa Inject dependencies into form blocks parent
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d0acad5c3b Inject WPFunctions to FieldNameObfuscator using DI
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00