I'm in the process of evaluating Prismic for a genealogical database. The styling of the output is quite specific which is frustrating at times. The problem I have is that I've got a multi-paragraph block of text and I need to indent those paragraphs different amounts. It made sense to me use the "labels" option so that a is wrapped around the paragraph. But, I also need to add labels to text within each paragraph. But I can't use the same mechanism in a nested way. I am therefore limited (it seems) to just apply em & strong tags within the paragraph which isn't ideal. Any suggestions on other approaches? Thanks!
Welcome to the community!
We've have discussed previously how adding multiple labels to a string of text isn't possible.
Although a good workaround for this your use-case would be to use different Slices with different Styling for the different levels of indentations.
Let me know if you have any questions about this.
Thanks Phil - yes I just found that. I'll have a play and see if that'll do the trick...
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.