Joshua Munn
Joshua Munn
Rendition queries may operate on SVGs, for which non-integer width and height attributes are valid. The type for these fields is currently defined as `Int`: https://github.com/torchbox/wagtail-grapple/blob/86f03575fc9afe7ae317d1b4045568b5f4e78b72/grapple/types/images.py#L88 References: - https://www.w3.org/TR/SVG11/struct.html#SVGElementWidthAttribute -...
Given a block definition like: ``` class PetBlock(blocks.StructBlock): story = blocks.StreamBlock( [ ("text", blocks.TextBlock()), ("link", blocks.URLBlock()), ("image", ImageBlock()), ] ) name = blocks.CharBlock() date_of_birth = blocks.DateBlock() feeding_schedule = blocks.ListBlock(ScheduledFeedingBlock()) colour...
With a block definition like: ```python class ScheduledFeedingBlock(blocks.StructBlock): time = blocks.TimeBlock() portions = blocks.IntegerBlock() food = blocks.CharBlock() class PetBlock(blocks.StructBlock): story = blocks.StreamBlock( [ ("text", blocks.TextBlock()), ("link", blocks.URLBlock()), ("image", ImageBlock()), ]...
See: https://github.com/wagtail/wagtail-factories/actions/runs/16986556505