Block API – File Field – multiple files
-
I’m trying to set up a custom block that will allow the user to add multiple images to it (slideshow). However, after adding a file field and setting the file_format_type to multi, and file_type to images, the field doesn’t show up.
I tried setting it to single image, and the field shows but it will not show a thumbnail for a selected image.
The field definition I’m using is based on one I created in the field editor for Posts. As there isn’t any reference in the docs for the file field type for the Block API.
And I presume that repeatable fields are not possible with the Block API at the moment?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Block API – File Field – multiple files’ is closed to new replies.