I have a CMS with many items, and each item has a rich-text-block. I would like to give each rich-text-block a unique #id, probably using the item SLUG for this.
Is there a way I can give each instance of the rich-text-block an #id? It does not seem possible in the designer main so was looking at using a HTML Embed. Unfortunately it appears you cannot ‘inject’ a rich-text-block field using the ‘Add field’ function of the embed.
Note: the reason I need an #id per rich-text-block is for me to allow me to target each rich-text-block with some onClick JS that removes a class (the class truncates the text i.e. hides it).