LB (Ben Johnston)
707ea54f4f
Update blocks.rst
...
Docs does not currently include the `rows` kwarg that is available on `TextBlock`.
See Question on slack https://wagtailcms.slack.com/archives/C81FGJR2S/p1635825388225100
2022-01-08 20:54:20 +10:00
Matt Westcott
980d2c435e
collapse option on StreamField, StreamBlock, ListBlock
...
Fixes #7705
2021-12-01 07:36:54 +10:00
Matt Westcott
0380f01b24
Allow specifying a format for the label of a collapsed StructBlock
...
Currently, the label shown for a StructBlock's collapsed representation takes its content from the first sub-block of the StructBlock, which isn't always what you want. Add a new `label_format` meta option to StructBlock to allow customising this - e.g. `label_format = "Profile for {first_name} {surname}"`
2021-09-27 19:07:14 +01:00
Matt Westcott
8c97c254a7
Add server-side min_num and max_num validation for ListBlock
...
Fixes #5300
2021-07-14 13:14:15 +01:00
Matt Westcott
bdfa3811d1
Remove outdated versionadded/versionchanged annotations
2021-07-13 17:10:56 +01:00
Petr Dlouhý
50e4f5151d
fix small youtube embed - allow to override max_width/max_height in EmbedBlock
2021-06-25 16:15:09 +01:00
Matt Westcott
9d29ba862c
Document idForLabel on the telepath widget API
...
Fixes #7145
2021-05-04 16:01:01 +01:00
Matt Westcott
571b9e1918
Add example of a widget adapter class
2021-03-23 18:57:53 +00:00
Matt Westcott
3e2c928e2f
Add StreamField context to block examples
2021-03-23 18:57:53 +00:00
Matt Westcott
0f75fb14f1
Add reference page for the client-side widget API
2021-03-23 18:57:53 +00:00
Matt Westcott
b3c39216f2
Create a 'streamfield' subsection within the reference docs
2021-03-23 18:57:53 +00:00