In using the slice machine to create new slices I am trying to create a Call to action functionality that when clicked will download a PDF. According to the documentation, the link content type should allow for that option. However, any link that I create only allows the linking to URLs and no other options are available on the prismic page when adding data. Is there a step that I am missing?
Welcome to the community!
Can you tell me what version of
slice-machine-ui you are using?
Version : 0.1.0-beta.1. Created from following the Nuxt tutorial.
OK, so I talked with the team and the field in this beta version of
slice-machine-ui only supports 'links to web'. The content relationship supports 'links to documents' and neither supports 'links to media'.
I have requested the team to add support for all 3 of these cases to the link field. Hopefully this will be added in the next BETA release shortly.
I will update you here once this is done.
4 posts were split to a new topic: Call_to_action error
This is now available from
Slice Machine v 0.2.0, you will need to make a change in your Slice and push the updated Custom Type to Prismic.