When using a flexible content field it’s possible for users to move the layouts/blocks around which is perfect, however if I want to target a specific/unique layout with a CSS class there doesn’t seem to be a slug for these layouts, only get_row_layout().
I can’t use the output of get_row_layout() as there could be multiple layouts of the same type on a page. I can’t append an iterative count to the get_row_layout() as the order could change.
Is there any way of specifying a unique ID for a container layout/block within a flexible content field that will remain static irrespective of sub-field changes?
I can’t find one but it’s very possible I’m missing something.