For my website I would like to replace in all rich text contents some abbreviations with a <span class="abbrevation">%abbrevation%</span>
structure.
For this I was thinking of using the htmlSerializer
function.
The problem is now that the list of abbreviations is pretty big (about 200) and needs to also be maintained on prismic, in a designated content type.
How can I perform a GraphQL query inside the htmlSerializer function also with thinking about performance and build speed.